Add IP_RECVFRAGSIZE from Linux 4.10.
[glibc.git] / ChangeLog
bloba8f4ac76addcf8d6922f93b121a294fddad12e81
1 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
11         * sysdeps/powerpc/tst-set_ppr.c: New file.
12         Implement test cases for __ppc_set_ppr_* functions.
13         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
14         in the list of tests.
16 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
18         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
19         instead of test-skeleton.c.
20         (do_test): Replaced pthread_create and pthread_join with
21         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
22         Removed unneeded status variable.
23         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
24         instead of test-skeleton.c.
25         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
27 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
29         [BZ #20313]
30         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31         201605L, for Unicode 9.
33 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
35         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
36         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
40         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42 2017-02-19  Zack Weinberg  <zackw@panix.com>
44         * rt/tst-mqueue4.c: Include stdint.h.
46 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
48         * sysdeps/arm/libm-test-ulps: Update.
49         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
51         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
55         [BZ #21029]
56         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
57         * sysdeps/unix/sysv/linux/i386/Makefile
58         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
59         (uses-6-syscall-arguments): Remove.
60         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
61         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
62         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
63         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
64         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
65         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
66         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
67         [$(subdir) = misc] (cflags-pselect.o): Likewise.
68         [$(subdir) = misc] (cflags-pselect.os): Likewise.
69         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
70         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
71         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
72         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
73         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
74         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
75         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
76         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
77         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
78         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
79         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
80         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
81         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
82         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
83         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
84         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
85         Likewise.
86         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
87         Likewise.
88         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
89         Likewise.
90         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
91         Likewise.
92         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
93         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
94         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
95         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
96         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
97         ebp on inline assembly.
98         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
99         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
100         Set if CAN_USE_REGISTER_ASM_EBP is set.
102 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
104         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
105         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
107 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
109         * math/auto-libm-test-in: Add tests of catan and catanh.
110         * math/auto-libm-test-out-catan: New generated file.
111         * math/auto-libm-test-out-catanh: Likewise.
112         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
113         Move tests with finite inputs, except divide-by-zero cases, to
114         auto-libm-test-in.
115         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
116         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
117         (libm-test-funcs-noauto): Remove catan and catanh.
118         * sysdeps/i386/fpu/libm-test-ulps: Update.
119         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
122         * math/auto-libm-test-in: Add tests of casin and casinh.
123         * math/auto-libm-test-out-casin: New generated file.
124         * math/auto-libm-test-out-casinh: Likewise.
125         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
126         Move tests with finite inputs to auto-libm-test-in.
127         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
128         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
129         (libm-test-funcs-noauto): Remove casin and casinh.
130         * sysdeps/i386/fpu/libm-test-ulps: Update.
131         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
134         * math/auto-libm-test-in: Add tests of cacos and cacosh.
135         * math/auto-libm-test-out-cacos: New generated file.
136         * math/auto-libm-test-out-cacosh: Likewise.
137         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
138         Move tests with finite inputs to auto-libm-test-in.
139         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
140         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
141         (libm-test-funcs-noauto): Remove cacos and cacosh.
142         * sysdeps/i386/fpu/libm-test-ulps: Update.
143         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
146         Revert:
147         2017-02-16  Zack Weinberg  <zackw@panix.com>
149         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
150         Don't include init-arch.h.
151         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
152         Don't include init-arch.h.
154 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
156         [BZ #21171]
157         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
158         +Inf and raise divide-by-zero when x is negative.
159         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
160         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
161         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
162         -Inf and raise divide-by-zero when x = +-0.
163         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
164         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
165         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
166         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
167         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
168         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
169         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
171 2017-02-16  Zack Weinberg  <zackw@panix.com>
173         * scripts/build-many-glibcs.py (bot_build_mail): If the
174         bot_config does not contain all of the necessary email-
175         related settings, just print a warning and continue.
177 2017-02-16  Zack Weinberg  <zackw@panix.com>
179         * crypt/md5.h: Test _LIBC with #if defined, not #if.
180         * dirent/opendir-tst1.c: Include sys/stat.h.
181         * dirent/tst-fdopendir.c: Include sys/stat.h.
182         * dirent/tst-fdopendir2.c: Include stdlib.h.
183         * dirent/tst-scandir.c: Include stdbool.h.
184         * elf/tst-auditmod1.c: Include link.h and stddef.h.
185         * elf/tst-tls15.c: Include stdlib.h.
186         * elf/tst-tls16.c: Include stdlib.h.
187         * elf/tst-tls17.c: Include stdlib.h.
188         * elf/tst-tls18.c: Include stdlib.h.
189         * iconv/tst-iconv6.c: Include endian.h.
190         * iconvdata/bug-iconv11.c: Include limits.h.
191         * io/test-utime.c: Include stdint.h.
192         * io/tst-faccessat.c: Include sys/stat.h.
193         * io/tst-fchmodat.c: Include sys/stat.h.
194         * io/tst-fchownat.c: Include sys/stat.h.
195         * io/tst-fstatat.c: Include sys/stat.h.
196         * io/tst-futimesat.c: Include sys/stat.h.
197         * io/tst-linkat.c: Include sys/stat.h.
198         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
199         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
200         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
201         * io/tst-openat.c: Include stdbool.h.
202         * io/tst-readlinkat.c: Include sys/stat.h.
203         * io/tst-renameat.c: Include sys/stat.h.
204         * io/tst-symlinkat.c: Include sys/stat.h.
205         * io/tst-unlinkat.c: Include stdbool.h.
206         * libio/bug-memstream1.c: Include stdlib.h.
207         * libio/bug-wmemstream1.c: Include stdlib.h.
208         * libio/tst-fwrite-error.c: Include stdlib.h.
209         * libio/tst-memstream1.c: Include stdlib.h.
210         * libio/tst-memstream2.c: Include stdlib.h.
211         * libio/tst-memstream3.c: Include stdlib.h.
212         * malloc/tst-interpose-aux.c: Include stdint.h.
213         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
214         * nptl/tst-basic7.c: Include limits.h.
215         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
216         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
217         * nptl/tst-cancel4_1.c: Include stddef.h.
218         * nptl/tst-cancel4_2.c: Include stddef.h.
219         * nptl/tst-cond16.c: Include limits.h.
220         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
221         * nptl/tst-cond18.c: Include limits.h.
222         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
223         * nptl/tst-cond4.c: Include stdint.h.
224         * nptl/tst-cond6.c: Include stdint.h.
225         * nptl/tst-stack2.c: Include limits.h.
226         * nptl/tst-stackguard1.c: Include stddef.h.
227         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
228         * nptl/tst-tls4moda.c: Include stddef.h.
229         Don't include stdio.h, unistd.h, or tls.h.
230         * nptl/tst-tls4modb.c: Include stddef.h.
231         Don't include stdio.h, unistd.h, or tls.h.
232         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
233         * posix/tst-getaddrinfo2.c: Include stdio.h.
234         * posix/tst-getaddrinfo5.c: Include stdio.h.
235         * posix/tst-pathconf.c: Include sys/stat.h.
236         * posix/tst-posix_fadvise-common.c: Include stdint.h.
237         * posix/tst-preadwrite-common.c: Include sys/stat.h.
238         * posix/tst-regex.c: Include stdint.h.
239         Don't include spawn.h or spawn_int.h.
240         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
241         * posix/tst-vfork3.c: Include sys/stat.h.
242         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
243         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
244         * resolv/tst-resolv-search.c: Include stdlib.h.
245         * stdio-common/tst-fmemopen2.c: Include stdint.h.
246         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
247         * stdlib/test-canon.c: Include sys/stat.h.
248         * stdlib/tst-tls-atexit.c: Include stdbool.h.
249         * string/test-memchr.c: Include stdint.h.
250         * string/tst-cmp.c: Include stdint.h.
251         * sysdeps/pthread/tst-timer.c: Include stdint.h.
252         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
253         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
254         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
255         Don't include init-arch.h.
256         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
257         Don't include init-arch.h.
258         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
259         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
260         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
261         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
262         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
263         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
264         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
265         * time/clocktest.c: Include stdint.h.
266         * time/tst-posixtz.c: Include stdint.h.
267         * timezone/tst-timezone.c: Include stdint.h.
269 2017-02-16  Zack Weinberg  <zackw@panix.com>
271         * string/string.h [__USE_MISC]: Include strings.h.
272         (__bzero, bcmp, bcopy, bzero, index, rindex)
273         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
274         (ffs, ffsl, ffsll): Don't declare.
275         * string/strings.h: Do not suppress the file if string.h has
276         already been included.
277         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
278         annotations.
279         (index, rindex): Define inline forwarders even if
280         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
281         (ffs): Use __attribute_const__.
282         (ffsl, ffsll): Declare here.
283         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
284         have now been standardized.
285         * include/string.h (__bzero): Declare here.
287         * bits/types.h: Move to posix/bits.
288         * include/bits/types.h: New wrapper.
290 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
292         * string/bits/string2.h (strcmp): Remove define.
293         (__strcmp_cg): Likewise.
294         (strncmp): Likewise.
296 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
298         * include/string.h: Add __cplusplus check.
300 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
302         [BZ #21134]
303         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
304         "divide by zero" exception when the input is zero.
305         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
306         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
307         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
308         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
309         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
311 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
313         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
314         and include ...
315         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
316         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
317         to, and include ...
318         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
319         file.
320         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
321         and include ...
322         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
323         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
324         and include ...
325         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
326         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
327         and include ...
328         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
329         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
330         and include ...
331         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
333         to, and include ...
334         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
335         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
336         and include ...
337         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
339 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
341         * math/libm-test-support.h: Do not include <math-tests-arch.h>
342         here.
343         * math/libm-test-support.c (libm_test_init): Do not call
344         INIT_ARCH_EXT here.
345         * math/libm-test-driver.c: Include <math-tests-arch.h>.
346         (main): Call INIT_ARCH_EXT.
348 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
350         [BZ #21130]
351         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
352         with the "invalid" exception raised when x is -Inf.
353         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
355 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
357         * string/bits/string2.h (strchr): Remove define.
359 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
361         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
362         tst-avx512.
363         (test-extras): Add tst-avx-aux and tst-avx512-aux.
364         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
365         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
366         ($(objpfx)tst-sse): New rule.
367         ($(objpfx)tst-avx): Likewise.
368         ($(objpfx)tst-avx512): Likewise.
369         (CFLAGS-tst-avx-aux.c): New.
370         (CFLAGS-tst-avxmod.c): Likewise.
371         (CFLAGS-tst-avx512-aux.c): Likewise.
372         (CFLAGS-tst-avx512mod.c): Likewise.
373         * sysdeps/x86_64/tst-avx-aux.c: New file.
374         * sysdeps/x86_64/tst-avx.c: Likewise.
375         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
376         * sysdeps/x86_64/tst-avx512.c: Likewise.
377         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
378         * sysdeps/x86_64/tst-avxmod.c: Likewise.
379         * sysdeps/x86_64/tst-sse.c: Likewise.
380         * sysdeps/x86_64/tst-ssemod.c: Likewise.
382 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
384         * math/auto-libm-test-in: Add more tests of csin and csinh.
385         * math/auto-libm-test-out-csin: Regenerated.
386         * math/auto-libm-test-out-csinh: Likewise.
387         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
388         auto-libm-test-in.
389         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
391 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
393         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
394         libm-compat-calls-auto.
395         (libm-compat-calls): Likewise.
396         (libm-compat-calls-auto): Rename to libm-compat-calls and add
397         w_lgamma_compatF and k_standardF (merged from the items above).
398         (libm-routines): Use libm-compat-calls, instead of
399         libm-compat-calls-auto, with type-foreach.
401 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
403         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
404         macro.
405         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
406         (CFLAGS-test-ifloat.c): ... this.  Remove
407         -U__LIBC_INTERNAL_MATH_INLINES.
408         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
409         (CFLAGS-test-idouble.c): ... this.  Remove
410         -U__LIBC_INTERNAL_MATH_INLINES.
411         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
412         (CFLAGS-test-ildouble.c): ... this.  Remove
413         -U__LIBC_INTERNAL_MATH_INLINES.
415 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
417         * math/libm-test-support.c: New file.  Content from
418         math/libm-test-driver.c.
419         * math/libm-test-support.h: Likewise.
420         * math/libm-test-support-double.c: New file.
421         * math/libm-test-support-float.c: Likewise.
422         * math/libm-test-support-ldouble.c: Likewise.
423         * math/libm-test-driver.c: Remove main comment and header
424         includes.  Include libm-test-support.h.
425         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
426         (flag_test_errno): Remove static.
427         (flag_test_exceptions): Likewise.
428         (flag_test_finite): Likewise.
429         (flag_test_inline): Likewise.
430         (flag_test_mathvec): Likewise.
431         (test_msg): Likewise.
432         (NO_EXCEPTION): Remove.
433         (INVALID_EXCEPTION): Likewise.
434         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
435         (OVERFLOW_EXCEPTION): Likewise.
436         (UNDERFLOW_EXCEPTION): Likewise.
437         (INEXACT_EXCEPTION): Likewise.
438         (INVALID_EXCEPTION_OK): Likewise.
439         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
440         (OVERFLOW_EXCEPTION_OK): Likewise.
441         (UNDERFLOW_EXCEPTION_OK): Likewise.
442         (NO_INEXACT_EXCEPTION): Likewise.
443         (EXCEPTIONS_OK): Likewise.
444         (IGNORE_ZERO_INF_SIGN): Likewise.
445         (TEST_NAN_SIGN): Likewise.
446         (TEST_NAN_PAYLOAD): Likewise.
447         (NO_TEST_INLINE): Likewise.
448         (XFAIL_TEST): Likewise.
449         (ERRNO_UNCHANGED): Likewise.
450         (ERRNO_EDOM): Likewise.
451         (ERRNO_ERANGE): Likewise.
452         (IGNORE_RESULT): Likewise.
453         (NON_FINITE): Likewise.
454         (TEST_SNAN): Likewise.
455         (NO_TEST_MATHVEC): Likewise.
456         (__CONCATX): Likewise.
457         (TYPE_MIN): Likewise.
458         (TYPE_TRUE_MIN): Likewise.
459         (TYPE_MAX): Likewise.
460         (MIN_EXP): Likewise.
461         (MAX_EXP): Likewise.
462         (MANT_DIG): Likewise.
463         (FSTR_MAX): Likewise.
464         (ulp_idx): Likewise.
465         (qtype_str): Remove static.
466         (TEST_COND_binary32): Remove.
467         (TEST_COND_binary64): Likewise.
468         (TEST_COND_binary128): Likewise.
469         (TEST_COND_ibm128): Likewise.
470         (TEST_COND_intel96): Likewise.
471         (TEST_COND_m68k96): Likewise.
472         (TEST_COND_ibm128_libgcc): Likewise.
473         (XFAIL_IBM128_LIBGCC): Likewise.
474         (PAYLOAD_DIG): Likewise.
475         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
476         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
477         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
478         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
479         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
480         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
481         (TEST_COND_long32): Likewise.
482         (TEST_COND_long64): Likewise.
483         (TEST_COND_before_rounding): Likewise.
484         (TEST_COND_after_rounding): Likewise.
485         (ulps_file_name): Likewise.
486         (ulps_file): Likewise.
487         (output_ulps): Likewise.
488         (output_dir): Likewise.
489         (noErrors): Likewise.
490         (noTests): Likewise.
491         (noExcTests): Likewise.
492         (noErrnoTests): Likewise.
493         (verbose): Likewise.
494         (output_max_error): Likewise.
495         (output_points): Likewise.
496         (ignore_max_ulp): Likewise.
497         (max_error): Likewise.
498         (real_max_error): Likewise.
499         (imag_max_error): Likewise.
500         (prev_max_error): Likewise.
501         (prev_real_max_error): Likewise.
502         (prev_imag_max_error): Likewise.
503         (max_valid_error): Likewise.
504         (TYPE_DECIMAL_DIG): Likewise.
505         (TYPE_HEX_DIG): Likewise.
506         (fmt_ftostr): Likewise.
507         (compare_ulp_data): Likewise.
508         (find_ulps): Likewise.
509         (init_max_error): Likewise.
510         (set_max_error): Likewise.
511         (print_float): Likewise.
512         (print_screen): Likewise.
513         (print_screen_max_error): Likewise.
514         (update_stats): Likewise.
515         (print_function_ulps): Likewise.
516         (print_complex_function_ulps): Likewise.
517         (fpstack_test): Likewise.
518         (print_max_error): Likewise.
519         (print_complex_max_error): Likewise.
520         (test_single_exception): Likewise.
521         (test_exceptions): Likewise.
522         (test_single_errno): Likewise.
523         (test_errno): Likewise.
524         (ULPDIFF): Likewise.
525         (ulp): Likewise.
526         (check_float_internal): Likewise.
527         (check_float): Likewise.
528         (check_complex): Likewise.
529         (check_int): Likewise.
530         (check_long): Likewise.
531         (check_bool): Likewise.
532         (check_longlong): Likewise.
533         (check_intmax_t): Likewise.
534         (check_uintmax_t): Likewise.
535         (enable_test): Likewise.
536         (matherr): Likewise.
537         (initialize): Likewise.
538         (options): Likewise.
539         (doc): Remove static.
540         (argp): Likewise.
541         (parse_opt): Remove.
542         (check_ulp): Likewise.
543         (libm_test_init): Likewise.
544         (libm_test_finish): Likewise.
545         * math/Makefile (libm-test-support): New variable.
546         (test-extras): Add libm-test-support files.
547         (extra-test-objs): Likewise.
548         (CFLAGS-libm-test-support-float.c): New variable.
549         (CFLAGS-libm-test-support-double.c): Likewise.
550         (CFLAGS-libm-test-support-ldouble.c): Likewise.
551         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
552         libm-test-support objects.
554 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
556         * math/Makefile (libm-calls): Move w_exp...
557         (libm-compat-calls-auto): Here.
559         * math/w_expl.c: Add suffix "_compat" to filename.
560         * sysdeps/ia64/fpu/w_expl.c: Likewise.
561         * sysdeps/ia64/fpu/w_expf.c: Likewise.
562         * sysdeps/ia64/fpu/w_exp.c: Likewise.
563         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
564         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
565         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
566         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
567         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
569         * math/w_expl_compat.c: New file, copied from above.
570         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
571         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
572         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
573         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
574         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
575         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
576         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
577         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
579         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
580         to filename.
581         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
583         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
584         copied from above and adjusted for the new filenames.
585         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
587 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
589         * math/Makefile (libm-calls): Move w_lgammaF...
590         (libm-compat-calls-auto): Here.
592         * math/w_lgamma.c: Add suffix "_compat2" to filename.
593         * math/w_lgammaf.c: Likewise.
594         * math/w_lgammal.c: Likewise.
596         * math/w_lgamma_compat2.c: New file, copied from above.
597         * math/w_lgammaf_compat2.c: Likewise.
598         * math/w_lgammal_compat2.c: Likewise.
600 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
602         * math/Makefile (libm-calls): Move w_lgammaF_r...
603         (libm-compat-calls-auto): Here.
605         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
606         * math/w_lgammaf_r.c: Likewise.
607         * math/w_lgammal_r.c: Likewise.
608         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
609         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
610         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
612         * math/w_lgamma_r_compat.c: New file, copied from above.
613         * math/w_lgammaf_r_compat.c: Likewise.
614         * math/w_lgammal_r_compat.c: Likewise.
615         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
616         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
617         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
619         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
620         to filename.
621         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
623         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
624         copied from above and adjusted for the new filenames.
625         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
627 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
630         calculation in SYSCALL_ERROR_HANDLER().
632 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
634         * manual/contrib.texi: Fix typo.
636 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
638         [BZ #21109]
639         * elf/dl-tunable-types.h (tunable_callback_t): Accept
640         tunable_val_t as argument.
641         * elf/dl-tunables.c (__tunable_set_val): Add comment.
642         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
643         argument.
644         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
646 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
648         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
649         Add PTRACE_EVENT_STOP.
650         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
651         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
652         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
653         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
654         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
655         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
657 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
659         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
660         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
661         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
662         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
663         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
664         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
665         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
666         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
667         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
668         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
670         [BZ #21112]
671         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
672         12 bits zero.
673         (cp_l): Update for new value of cp_h.
674         * math/auto-libm-test-in: Add another test of pow.
675         * math/auto-libm-test-out-pow: Regenerated.
677 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
679         * manual/contrib.texi: Fix typo.
681 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
683         [BZ #15998]
684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
685         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
688 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
690         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
691         STRCHR as __strchr_power8.
692         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
693         strlen as __strlen_power8.
695 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
697         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
698         unaligned load for shorter strings.
699         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
701 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
703         * math/libm-test-driver.c (flag_test_errno): New variable.
704         (flag_test_exceptions): Likewise.
705         (flag_test_finite): Likewise.
706         (flag_test_inline): Likewise.
707         (flag_test_mathvec): Likewise.
708         (test_msg): Likewise.
709         (ulp_idx): Likewise.
710         (qtype_str): Likewise.
711         (ULP_IDX): Remove macro.
712         (QTYPE_STR): Likewise.
713         (find_ulps): Use ulp_idx not ULP_IDX.
714         (print_function_ulps): Use qtype_str, printed with %s, not
715         QTYPE_STR, printed with concatentation to format string.
716         (print_complex_function_ulps): Likewise.
717         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
718         (test_errno): Use flag_test_errno not TEST_ERRNO.
719         (enable_test): Use flag_test_inline, flag_test_finite and
720         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
721         TEST_MATHVEC.
722         (libm_test_init): New function.  Factored out of main.
723         (libm_test_finish): Likewise.
724         (main): Call libm_test_init and libm_test_finish and move most
725         code to those functions.
727         * math/libm-test-driver.c (STRX): New macro.
728         (STR): Likewise.
729         (STR_FLOAT): Likewise.
730         (STR_VEC_LEN): Likewise.
731         (TEST_MSG): Likewise.  Define here instead of expecting to be
732         defined by including file.
733         * math/test-double-finite.c (TEST_MSG): Remove macro.
734         * math/test-double-vlen2.h (TEST_MSG): Likewise.
735         * math/test-double-vlen4.h (TEST_MSG): Likewise.
736         * math/test-double-vlen8.h (TEST_MSG): Likewise.
737         * math/test-double.c (TEST_MSG): Likewise.
738         * math/test-float-finite.c (TEST_MSG): Likewise.
739         * math/test-float-vlen16.h (TEST_MSG): Likewise.
740         * math/test-float-vlen4.h (TEST_MSG): Likewise.
741         * math/test-float-vlen8.h (TEST_MSG): Likewise.
742         * math/test-float.c (TEST_MSG): Likewise.
743         * math/test-idouble.c (TEST_MSG): Likewise.
744         * math/test-ifloat.c (TEST_MSG): Likewise.
745         * math/test-ildouble.c (TEST_MSG): Likewise.
746         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
747         * math/test-ldouble.c (TEST_MSG): Likewise.
749         * math/libm-test.inc: Move all tests of individual functions to
750         libm-test-*.inc and #include libm-test-*.c files.
751         (acos_test_data): Remove.
752         (acos_test): Likewise.
753         (acosh_test_data): Likewise.
754         (acosh_test): Likewise.
755         (asin_test_data): Likewise.
756         (asin_test): Likewise.
757         (asinh_test_data): Likewise.
758         (asinh_test): Likewise.
759         (atan_test_data): Likewise.
760         (atan_test): Likewise.
761         (atanh_test_data): Likewise.
762         (atanh_test): Likewise.
763         (atan2_test_data): Likewise.
764         (atan2_test): Likewise.
765         (cabs_test_data): Likewise.
766         (cabs_test): Likewise.
767         (cacos_test_data): Likewise.
768         (cacos_test): Likewise.
769         (cacosh_test_data): Likewise.
770         (cacosh_test): Likewise.
771         (canonicalize_test_data): Likewise.
772         (canonicalize_test): Likewise.
773         (carg_test_data): Likewise.
774         (carg_test): Likewise.
775         (casin_test_data): Likewise.
776         (casin_test): Likewise.
777         (casinh_test_data): Likewise.
778         (casinh_test): Likewise.
779         (catan_test_data): Likewise.
780         (catan_test): Likewise.
781         (catanh_test_data): Likewise.
782         (catanh_test): Likewise.
783         (cbrt_test_data): Likewise.
784         (cbrt_test): Likewise.
785         (ccos_test_data): Likewise.
786         (ccos_test): Likewise.
787         (ccosh_test_data): Likewise.
788         (ccosh_test): Likewise.
789         (ceil_test_data): Likewise.
790         (ceil_test): Likewise.
791         (cexp_test_data): Likewise.
792         (cexp_test): Likewise.
793         (cimag_test_data): Likewise.
794         (cimag_test): Likewise.
795         (clog_test_data): Likewise.
796         (clog_test): Likewise.
797         (clog10_test_data): Likewise.
798         (clog10_test): Likewise.
799         (conj_test_data): Likewise.
800         (conj_test): Likewise.
801         (copysign_test_data): Likewise.
802         (copysign_test): Likewise.
803         (cos_test_data): Likewise.
804         (cos_test): Likewise.
805         (cosh_test_data): Likewise.
806         (cosh_test): Likewise.
807         (cpow_test_data): Likewise.
808         (cpow_test): Likewise.
809         (cproj_test_data): Likewise.
810         (cproj_test): Likewise.
811         (creal_test_data): Likewise.
812         (creal_test): Likewise.
813         (csin_test_data): Likewise.
814         (csin_test): Likewise.
815         (csinh_test_data): Likewise.
816         (csinh_test): Likewise.
817         (csqrt_test_data): Likewise.
818         (csqrt_test): Likewise.
819         (ctan_test_data): Likewise.
820         (ctan_test): Likewise.
821         (ctanh_test_data): Likewise.
822         (ctanh_test): Likewise.
823         (erf_test_data): Likewise.
824         (erf_test): Likewise.
825         (erfc_test_data): Likewise.
826         (erfc_test): Likewise.
827         (exp_test_data): Likewise.
828         (exp_test): Likewise.
829         (exp10_test_data): Likewise.
830         (exp10_test): Likewise.
831         (pow10_test): Likewise.
832         (exp2_test_data): Likewise.
833         (exp2_test): Likewise.
834         (expm1_test_data): Likewise.
835         (expm1_test): Likewise.
836         (fabs_test_data): Likewise.
837         (fabs_test): Likewise.
838         (fdim_test_data): Likewise.
839         (fdim_test): Likewise.
840         (floor_test_data): Likewise.
841         (floor_test): Likewise.
842         (fma_test_data): Likewise.
843         (fma_test): Likewise.
844         (fmax_test_data): Likewise.
845         (fmax_test): Likewise.
846         (fmaxmag_test_data): Likewise.
847         (fmaxmag_test): Likewise.
848         (fmin_test_data): Likewise.
849         (fmin_test): Likewise.
850         (fminmag_test_data): Likewise.
851         (fminmag_test): Likewise.
852         (fmod_test_data): Likewise.
853         (fmod_test): Likewise.
854         (fpclassify_test_data): Likewise.
855         (fpclassify_test): Likewise.
856         (frexp_test_data): Likewise.
857         (frexp_test): Likewise.
858         (fromfp_test_data): Likewise.
859         (fromfp_test): Likewise.
860         (fromfpx_test_data): Likewise.
861         (fromfpx_test): Likewise.
862         (getpayload_test_data): Likewise.
863         (getpayload_test): Likewise.
864         (hypot_test_data): Likewise.
865         (hypot_test): Likewise.
866         (ilogb_test_data): Likewise.
867         (ilogb_test): Likewise.
868         (iscanonical_test_data): Likewise.
869         (iscanonical_test): Likewise.
870         (iseqsig_test_data): Likewise.
871         (iseqsig_test): Likewise.
872         (isfinite_test_data): Likewise.
873         (isfinite_test): Likewise.
874         (finite_test): Likewise.
875         (isgreater_test_data): Likewise.
876         (isgreater_test): Likewise.
877         (isgreaterequal_test_data): Likewise.
878         (isgreaterequal_test): Likewise.
879         (isinf_test_data): Likewise.
880         (isinf_test): Likewise.
881         (isless_test_data): Likewise.
882         (isless_test): Likewise.
883         (islessequal_test_data): Likewise.
884         (islessequal_test): Likewise.
885         (islessgreater_test_data): Likewise.
886         (islessgreater_test): Likewise.
887         (isnan_test_data): Likewise.
888         (isnan_test): Likewise.
889         (isnormal_test_data): Likewise.
890         (isnormal_test): Likewise.
891         (issignaling_test_data): Likewise.
892         (issignaling_test): Likewise.
893         (issubnormal_test_data): Likewise.
894         (issubnormal_test): Likewise.
895         (isunordered_test_data): Likewise.
896         (isunordered_test): Likewise.
897         (iszero_test_data): Likewise.
898         (iszero_test): Likewise.
899         (j0_test_data): Likewise.
900         (j0_test): Likewise.
901         (j1_test_data): Likewise.
902         (j1_test): Likewise.
903         (jn_test_data): Likewise.
904         (jn_test): Likewise.
905         (lgamma_test_data): Likewise.
906         (lgamma_test): Likewise.
907         (gamma_test): Likewise.
908         (llogb_test_data): Likewise.
909         (llogb_test): Likewise.
910         (lrint_test_data): Likewise.
911         (lrint_test): Likewise.
912         (llrint_test_data): Likewise.
913         (llrint_test): Likewise.
914         (log_test_data): Likewise.
915         (log_test): Likewise.
916         (log10_test_data): Likewise.
917         (log10_test): Likewise.
918         (log1p_test_data): Likewise.
919         (log1p_test): Likewise.
920         (log2_test_data): Likewise.
921         (log2_test): Likewise.
922         (logb_test_data): Likewise.
923         (logb_test): Likewise.
924         (lround_test_data): Likewise.
925         (lround_test): Likewise.
926         (llround_test_data): Likewise.
927         (llround_test): Likewise.
928         (modf_test_data): Likewise.
929         (modf_test): Likewise.
930         (nearbyint_test_data): Likewise.
931         (nearbyint_test): Likewise.
932         (nextafter_test_data): Likewise.
933         (nextafter_test): Likewise.
934         (nextup_test_data): Likewise.
935         (nextup_test): Likewise.
936         (nextdown_test_data): Likewise.
937         (nextdown_test): Likewise.
938         (nexttoward_test_data): Likewise.
939         (nexttoward_test): Likewise.
940         (pow_test_data): Likewise.
941         (pow_test): Likewise.
942         (remainder_test_data): Likewise.
943         (remainder_test): Likewise.
944         (drem_test): Likewise.
945         (remquo_test_data): Likewise.
946         (remquo_test): Likewise.
947         (rint_test_data): Likewise.
948         (rint_test): Likewise.
949         (round_test_data): Likewise.
950         (round_test): Likewise.
951         (roundeven_test_data): Likewise.
952         (roundeven_test): Likewise.
953         (scalb_test_data): Likewise.
954         (scalb_test): Likewise.
955         (scalbn_test_data): Likewise.
956         (scalbn_test): Likewise.
957         (ldexp_test): Likewise.
958         (scalbln_test_data): Likewise.
959         (scalbln_test): Likewise.
960         (setpayload_test_data): Likewise.
961         (setpayload_test): Likewise.
962         (setpayloadsig_test_data): Likewise.
963         (setpayloadsig_test): Likewise.
964         (signbit_test_data): Likewise.
965         (signbit_test): Likewise.
966         (sin_test_data): Likewise.
967         (sin_test): Likewise.
968         (sincos_test_data): Likewise.
969         (sincos_test): Likewise.
970         (sinh_test_data): Likewise.
971         (sinh_test): Likewise.
972         (sqrt_test_data): Likewise.
973         (sqrt_test): Likewise.
974         (tan_test_data): Likewise.
975         (tan_test): Likewise.
976         (tanh_test_data): Likewise.
977         (tanh_test): Likewise.
978         (tgamma_test_data): Likewise.
979         (tgamma_test): Likewise.
980         (totalorder_test_data): Likewise.
981         (totalorder_test): Likewise.
982         (totalordermag_test_data): Likewise.
983         (totalordermag_test): Likewise.
984         (trunc_test_data): Likewise.
985         (trunc_test): Likewise.
986         (ufromfp_test_data): Likewise.
987         (ufromfp_test): Likewise.
988         (ufromfpx_test_data): Likewise.
989         (ufromfpx_test): Likewise.
990         (y0_test_data): Likewise.
991         (y0_test): Likewise.
992         (y1_test_data): Likewise.
993         (y1_test): Likewise.
994         (yn_test_data): Likewise.
995         (yn_test): Likewise.
996         (significand_test_data): Likewise.
997         (significand_test): Likewise.
998         * math/Makefile (auto-libm-test-out-files): Remove variable.
999         (libm-test-funcs-noauto): New variable.
1000         (libm-test-funcs-all): Likewise.
1001         (libm-test-c-auto): Likewise.
1002         (libm-test-c-noauto): Likewise.
1003         (libm-tests-generated): Add $(libm-test-c-auto) and
1004         $(libm-test-c-noauto).
1005         (generated): Do not add auto-libm-test-out.
1006         (libm-test-c-auto-obj): New variable.
1007         (libm-test-c-noauto-obj): Likewise.
1008         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1009         ($(libm-test-c-noauto-obj)): New static pattern rule.
1010         ($(libm-test-c-auto-obj)): Likewise.
1011         (libm-test-incs): New variable.
1012         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1013         and pass it to gen-libm-have-vector-test.sh.
1014         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1015         be passed on command line.
1016         * math/libm-test-acos.inc: New file.  Content from
1017         math/libm-test.inc.
1018         * math/libm-test-acosh.inc: Likewise.
1019         * math/libm-test-asin.inc: Likewise.
1020         * math/libm-test-asinh.inc: Likewise.
1021         * math/libm-test-atan.inc: Likewise.
1022         * math/libm-test-atan2.inc: Likewise.
1023         * math/libm-test-atanh.inc: Likewise.
1024         * math/libm-test-cabs.inc: Likewise.
1025         * math/libm-test-cacos.inc: Likewise.
1026         * math/libm-test-cacosh.inc: Likewise.
1027         * math/libm-test-canonicalize.inc: Likewise.
1028         * math/libm-test-carg.inc: Likewise.
1029         * math/libm-test-casin.inc: Likewise.
1030         * math/libm-test-casinh.inc: Likewise.
1031         * math/libm-test-catan.inc: Likewise.
1032         * math/libm-test-catanh.inc: Likewise.
1033         * math/libm-test-cbrt.inc: Likewise.
1034         * math/libm-test-ccos.inc: Likewise.
1035         * math/libm-test-ccosh.inc: Likewise.
1036         * math/libm-test-ceil.inc: Likewise.
1037         * math/libm-test-cexp.inc: Likewise.
1038         * math/libm-test-cimag.inc: Likewise.
1039         * math/libm-test-clog.inc: Likewise.
1040         * math/libm-test-clog10.inc: Likewise.
1041         * math/libm-test-conj.inc: Likewise.
1042         * math/libm-test-copysign.inc: Likewise.
1043         * math/libm-test-cos.inc: Likewise.
1044         * math/libm-test-cosh.inc: Likewise.
1045         * math/libm-test-cpow.inc: Likewise.
1046         * math/libm-test-cproj.inc: Likewise.
1047         * math/libm-test-creal.inc: Likewise.
1048         * math/libm-test-csin.inc: Likewise.
1049         * math/libm-test-csinh.inc: Likewise.
1050         * math/libm-test-csqrt.inc: Likewise.
1051         * math/libm-test-ctan.inc: Likewise.
1052         * math/libm-test-ctanh.inc: Likewise.
1053         * math/libm-test-erf.inc: Likewise.
1054         * math/libm-test-erfc.inc: Likewise.
1055         * math/libm-test-exp.inc: Likewise.
1056         * math/libm-test-exp10.inc: Likewise.
1057         * math/libm-test-exp2.inc: Likewise.
1058         * math/libm-test-expm1.inc: Likewise.
1059         * math/libm-test-fabs.inc: Likewise.
1060         * math/libm-test-fdim.inc: Likewise.
1061         * math/libm-test-floor.inc: Likewise.
1062         * math/libm-test-fma.inc: Likewise.
1063         * math/libm-test-fmax.inc: Likewise.
1064         * math/libm-test-fmaxmag.inc: Likewise.
1065         * math/libm-test-fmin.inc: Likewise.
1066         * math/libm-test-fminmag.inc: Likewise.
1067         * math/libm-test-fmod.inc: Likewise.
1068         * math/libm-test-fpclassify.inc: Likewise.
1069         * math/libm-test-frexp.inc: Likewise.
1070         * math/libm-test-fromfp.inc: Likewise.
1071         * math/libm-test-fromfpx.inc: Likewise.
1072         * math/libm-test-getpayload.inc: Likewise.
1073         * math/libm-test-hypot.inc: Likewise.
1074         * math/libm-test-ilogb.inc: Likewise.
1075         * math/libm-test-iscanonical.inc: Likewise.
1076         * math/libm-test-iseqsig.inc: Likewise.
1077         * math/libm-test-isfinite.inc: Likewise.
1078         * math/libm-test-isgreater.inc: Likewise.
1079         * math/libm-test-isgreaterequal.inc: Likewise.
1080         * math/libm-test-isinf.inc: Likewise.
1081         * math/libm-test-isless.inc: Likewise.
1082         * math/libm-test-islessequal.inc: Likewise.
1083         * math/libm-test-islessgreater.inc: Likewise.
1084         * math/libm-test-isnan.inc: Likewise.
1085         * math/libm-test-isnormal.inc: Likewise.
1086         * math/libm-test-issignaling.inc: Likewise.
1087         * math/libm-test-issubnormal.inc: Likewise.
1088         * math/libm-test-isunordered.inc: Likewise.
1089         * math/libm-test-iszero.inc: Likewise.
1090         * math/libm-test-j0.inc: Likewise.
1091         * math/libm-test-j1.inc: Likewise.
1092         * math/libm-test-jn.inc: Likewise.
1093         * math/libm-test-lgamma.inc: Likewise.
1094         * math/libm-test-llogb.inc: Likewise.
1095         * math/libm-test-llrint.inc: Likewise.
1096         * math/libm-test-llround.inc: Likewise.
1097         * math/libm-test-log.inc: Likewise.
1098         * math/libm-test-log10.inc: Likewise.
1099         * math/libm-test-log1p.inc: Likewise.
1100         * math/libm-test-log2.inc: Likewise.
1101         * math/libm-test-logb.inc: Likewise.
1102         * math/libm-test-lrint.inc: Likewise.
1103         * math/libm-test-lround.inc: Likewise.
1104         * math/libm-test-modf.inc: Likewise.
1105         * math/libm-test-nearbyint.inc: Likewise.
1106         * math/libm-test-nextafter.inc: Likewise.
1107         * math/libm-test-nextdown.inc: Likewise.
1108         * math/libm-test-nexttoward.inc: Likewise.
1109         * math/libm-test-nextup.inc: Likewise.
1110         * math/libm-test-pow.inc: Likewise.
1111         * math/libm-test-remainder.inc: Likewise.
1112         * math/libm-test-remquo.inc: Likewise.
1113         * math/libm-test-rint.inc: Likewise.
1114         * math/libm-test-round.inc: Likewise.
1115         * math/libm-test-roundeven.inc: Likewise.
1116         * math/libm-test-scalb.inc: Likewise.
1117         * math/libm-test-scalbln.inc: Likewise.
1118         * math/libm-test-scalbn.inc: Likewise.
1119         * math/libm-test-setpayload.inc: Likewise.
1120         * math/libm-test-setpayloadsig.inc: Likewise.
1121         * math/libm-test-signbit.inc: Likewise.
1122         * math/libm-test-significand.inc: Likewise.
1123         * math/libm-test-sin.inc: Likewise.
1124         * math/libm-test-sincos.inc: Likewise.
1125         * math/libm-test-sinh.inc: Likewise.
1126         * math/libm-test-sqrt.inc: Likewise.
1127         * math/libm-test-tan.inc: Likewise.
1128         * math/libm-test-tanh.inc: Likewise.
1129         * math/libm-test-tgamma.inc: Likewise.
1130         * math/libm-test-totalorder.inc: Likewise.
1131         * math/libm-test-totalordermag.inc: Likewise.
1132         * math/libm-test-trunc.inc: Likewise.
1133         * math/libm-test-ufromfp.inc: Likewise.
1134         * math/libm-test-ufromfpx.inc: Likewise.
1135         * math/libm-test-y0.inc: Likewise.
1136         * math/libm-test-y1.inc: Likewise.
1137         * math/libm-test-yn.inc: Likewise.
1138         * math/README.libm-test: Update.
1140         * math/gen-auto-libm-tests.c: Update comment about use of program.
1141         (generate_output): Add argument FUNCTION.
1142         (main): Require extra argument.  Pass function name to
1143         generate_output.
1144         * math/Makefile (generated): Add auto-libm-test-out.
1145         (libm-test-funcs-auto): New variable.
1146         (auto-libm-test-out-files): New variable.
1147         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1148         Concatenate those files to form $(objpfx)auto-libm-test-out and
1149         use it as input to gen-libm-test.pl.
1150         * math/README.libm-test: Update.
1151         * math/auto-libm-test-out: Remove.
1152         * math/auto-libm-test-out-acos: New generated file.
1153         * math/auto-libm-test-out-acosh: Likewise.
1154         * math/auto-libm-test-out-asin: Likewise.
1155         * math/auto-libm-test-out-asinh: Likewise.
1156         * math/auto-libm-test-out-atan: Likewise.
1157         * math/auto-libm-test-out-atan2: Likewise.
1158         * math/auto-libm-test-out-atanh: Likewise.
1159         * math/auto-libm-test-out-cabs: Likewise.
1160         * math/auto-libm-test-out-carg: Likewise.
1161         * math/auto-libm-test-out-cbrt: Likewise.
1162         * math/auto-libm-test-out-ccos: Likewise.
1163         * math/auto-libm-test-out-ccosh: Likewise.
1164         * math/auto-libm-test-out-cexp: Likewise.
1165         * math/auto-libm-test-out-clog: Likewise.
1166         * math/auto-libm-test-out-clog10: Likewise.
1167         * math/auto-libm-test-out-cos: Likewise.
1168         * math/auto-libm-test-out-cosh: Likewise.
1169         * math/auto-libm-test-out-cpow: Likewise.
1170         * math/auto-libm-test-out-csin: Likewise.
1171         * math/auto-libm-test-out-csinh: Likewise.
1172         * math/auto-libm-test-out-csqrt: Likewise.
1173         * math/auto-libm-test-out-ctan: Likewise.
1174         * math/auto-libm-test-out-ctanh: Likewise.
1175         * math/auto-libm-test-out-erf: Likewise.
1176         * math/auto-libm-test-out-erfc: Likewise.
1177         * math/auto-libm-test-out-exp: Likewise.
1178         * math/auto-libm-test-out-exp10: Likewise.
1179         * math/auto-libm-test-out-exp2: Likewise.
1180         * math/auto-libm-test-out-expm1: Likewise.
1181         * math/auto-libm-test-out-fma: Likewise.
1182         * math/auto-libm-test-out-hypot: Likewise.
1183         * math/auto-libm-test-out-j0: Likewise.
1184         * math/auto-libm-test-out-j1: Likewise.
1185         * math/auto-libm-test-out-jn: Likewise.
1186         * math/auto-libm-test-out-lgamma: Likewise.
1187         * math/auto-libm-test-out-log: Likewise.
1188         * math/auto-libm-test-out-log10: Likewise.
1189         * math/auto-libm-test-out-log1p: Likewise.
1190         * math/auto-libm-test-out-log2: Likewise.
1191         * math/auto-libm-test-out-pow: Likewise.
1192         * math/auto-libm-test-out-sin: Likewise.
1193         * math/auto-libm-test-out-sincos: Likewise.
1194         * math/auto-libm-test-out-sinh: Likewise.
1195         * math/auto-libm-test-out-sqrt: Likewise.
1196         * math/auto-libm-test-out-tan: Likewise.
1197         * math/auto-libm-test-out-tanh: Likewise.
1198         * math/auto-libm-test-out-tgamma: Likewise.
1199         * math/auto-libm-test-out-y0: Likewise.
1200         * math/auto-libm-test-out-y1: Likewise.
1201         * math/auto-libm-test-out-yn: Likewise.
1203         * math/Makefile (generated): Do not include libm-test.stmp.
1204         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1205         on $(objpfx)libm-test.stmp.
1206         ($(objpfx)libm-test.stmp): Remove rule.
1207         ($(objpfx)libm-test-ulps.h): New rule.
1208         ($(objpfx)libm-test.c): Likewise.
1209         ($(objpfx)libm-have-vector-test.h): Likewise.
1210         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1211         individual generated files, not libm-test.stmp.
1213         * math/gen-libm-test.pl ($output_dir): Remove variable.
1214         ($srcdir): Likewise.
1215         ($opt_a): New variable.
1216         ($opt_c): Likewise.
1217         ($opt_C): Likewise.
1218         ($opt_H): Likewise.
1219         (-n): Make option take argument and use it as NewUlps output.
1220         (-a): New option.  Use its argument for auto-libm-test-out input.
1221         (-c): New option.  Use its argument for libm-test.inc input.
1222         (-C): New option.  Use its argument for libm-test.c output.
1223         (-H): New option.  Use its argument for libm-test-ulps.h output.
1224         (top level): Only process inputs needed to generate outputs
1225         specified by command-line options.  Only generate outputs
1226         specified by command-line options.
1227         * math/README.libm-test: Update example gen-libm-test.pl command.
1228         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1229         commands.
1230         (regen-ulps): Likewise.
1232 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1234         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1235         * include/string.h (index): Remove define.
1236         (rindex): Likewise.
1237         * misc/getttyent.c (__getttyent): Rename index to strchr.
1238         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1239         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1241 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1243         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1244         * math/libm-test.inc: Move all contents, other than tests of
1245         individual functions, to libm-test-driver.c.
1246         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1247         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1248         [!FE_UPWARD] (FE_UPWARD): Likewise.
1249         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1250         (NO_EXCEPTION): Likewise.
1251         (INVALID_EXCEPTION): Likewise.
1252         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1253         (OVERFLOW_EXCEPTION): Likewise.
1254         (UNDERFLOW_EXCEPTION): Likewise.
1255         (INEXACT_EXCEPTION): Likewise.
1256         (INVALID_EXCEPTION_OK): Likewise.
1257         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1258         (OVERFLOW_EXCEPTION_OK): Likewise.
1259         (UNDERFLOW_EXCEPTION_OK): Likewise.
1260         (NO_INEXACT_EXCEPTION): Likewise.
1261         (EXCEPTIONS_OK): Likewise.
1262         (IGNORE_ZERO_INF_SIGN): Likewise.
1263         (TEST_NAN_SIGN): Likewise.
1264         (TEST_NAN_PAYLOAD): Likewise.
1265         (NO_TEST_INLINE): Likewise.
1266         (XFAIL_TEST): Likewise.
1267         (ERRNO_UNCHANGED): Likewise.
1268         (ERRNO_EDOM): Likewise.
1269         (ERRNO_ERANGE): Likewise.
1270         (IGNORE_RESULT): Likewise.
1271         (NON_FINITE): Likewise.
1272         (TEST_SNAN): Likewise.
1273         (NO_TEST_MATHVEC): Likewise.
1274         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1275         (__CONCATX): Likewise.
1276         (TYPE_MIN): Likewise.
1277         (TYPE_TRUE_MIN): Likewise.
1278         (TYPE_MAX): Likewise.
1279         (MIN_EXP): Likewise.
1280         (MAX_EXP): Likewise.
1281         (MANT_DIG): Likewise.
1282         (FSTR_MAX): Likewise.
1283         (ULP_IDX): Likewise.
1284         (QTYPE_STR): Likewise.
1285         (TEST_COND_binary32): Likewise.
1286         (TEST_COND_binary64): Likewise.
1287         (TEST_COND_binary128): Likewise.
1288         (TEST_COND_ibm128): Likewise.
1289         (TEST_COND_intel96): Likewise.
1290         (TEST_COND_m68k96): Likewise.
1291         (TEST_COND_ibm128_libgcc): Likewise.
1292         (XFAIL_IBM128_LIBGCC): Likewise.
1293         (PAYLOAD_DIG): Likewise.
1294         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1295         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1296         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1297         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1298         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1299         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1300         (TEST_COND_long32): Likewise.
1301         (TEST_COND_long64): Likewise.
1302         (TEST_COND_before_rounding): Likewise.
1303         (TEST_COND_after_rounding): Likewise.
1304         (lit_pi_3_m_4_d): Likewise.
1305         (lit_pi_3_m_4_ln10_m_d): Likewise.
1306         (lit_pi_2_ln10_m_d): Likewise.
1307         (lit_pi_4_ln10_m_d): Likewise.
1308         (lit_pi_ln10_d): Likewise.
1309         (lit_pi_2_d): Likewise.
1310         (lit_pi_4_d): Likewise.
1311         (lit_pi): Likewise.
1312         (lit_e): Likewise.
1313         (ulps_file_name): Likewise.
1314         (ulps_file): Likewise.
1315         (output_ulps): Likewise.
1316         (output_dir): Likewise.
1317         (noErrors): Likewise.
1318         (noTests): Likewise.
1319         (noExcTests): Likewise.
1320         (noErrnoTests): Likewise.
1321         (verbose): Likewise.
1322         (output_max_error): Likewise.
1323         (output_points): Likewise.
1324         (ignore_max_ulp): Likewise.
1325         (plus_zero): Likewise.
1326         (minus_zero): Likewise.
1327         (plus_infty): Likewise.
1328         (minus_infty): Likewise.
1329         (qnan_value_pl): Likewise.
1330         (qnan_value): Likewise.
1331         (snan_value_pl): Likewise.
1332         (snan_value): Likewise.
1333         (max_value): Likewise.
1334         (min_value): Likewise.
1335         (min_subnorm_value): Likewise.
1336         (snan_value_ld): Likewise.
1337         (max_error): Likewise.
1338         (real_max_error): Likewise.
1339         (imag_max_error): Likewise.
1340         (prev_max_error): Likewise.
1341         (prev_real_max_error): Likewise.
1342         (prev_imag_max_error): Likewise.
1343         (max_valid_error): Likewise.
1344         (TYPE_DECIMAL_DIG): Likewise.
1345         (TYPE_HEX_DIG): Likewise.
1346         (fmt_ftostr): Likewise.
1347         (compare_ulp_data): Likewise.
1348         (find_ulps): Likewise.
1349         (init_max_error): Likewise.
1350         (set_max_error): Likewise.
1351         (print_float): Likewise.
1352         (print_screen): Likewise.
1353         (print_screen_max_error): Likewise.
1354         (update_stats): Likewise.
1355         (print_function_ulps): Likewise.
1356         (print_complex_function_ulps): Likewise.
1357         (fpstack_test): Likewise.
1358         (print_max_error): Likewise.
1359         (print_complex_max_error): Likewise.
1360         (test_single_exception): Likewise.
1361         (test_exceptions): Likewise.
1362         (test_single_errno): Likewise.
1363         (test_errno): Likewise.
1364         (ULPDIFF): Likewise.
1365         (ulp): Likewise.
1366         (check_float_internal): Likewise.
1367         (check_float): Likewise.
1368         (check_complex): Likewise.
1369         (check_int): Likewise.
1370         (check_long): Likewise.
1371         (check_bool): Likewise.
1372         (check_longlong): Likewise.
1373         (check_intmax_t): Likewise.
1374         (check_uintmax_t): Likewise.
1375         (enable_test): Likewise.
1376         (struct test_f_f_data): Likewise.
1377         (struct test_ff_f_data): Likewise.
1378         (struct test_fj_f_data): Likewise.
1379         (struct test_fi_f_data): Likewise.
1380         (struct test_fl_f_data): Likewise.
1381         (struct test_if_f_data): Likewise.
1382         (struct test_fff_f_data): Likewise.
1383         (struct test_fiu_M_data): Likewise.
1384         (struct test_fiu_U_data): Likewise.
1385         (struct test_c_f_data): Likewise.
1386         (struct test_f_f1_data): Likewise.
1387         (struct test_fF_f1_data): Likewise.
1388         (struct test_ffI_f1_data): Likewise.
1389         (struct test_c_c_data): Likewise.
1390         (struct test_cc_c_data): Likewise.
1391         (struct test_f_i_data): Likewise.
1392         (struct test_ff_i_data): Likewise.
1393         (struct test_f_l_data): Likewise.
1394         (struct test_f_L_data): Likewise.
1395         (struct test_fFF_11_data): Likewise.
1396         (struct test_Ff_b1_data): Likewise.
1397         (IF_ROUND_INIT_): Likewise.
1398         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1399         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1400         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1401         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1402         (ROUND_RESTORE_): Likewise.
1403         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1404         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1405         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1406         (ROUND_RESTORE_FE_UPWARD): Likewise.
1407         (RM_): Likewise.
1408         (RM_FE_DOWNWARD): Likewise.
1409         (RM_FE_TONEAREST): Likewise.
1410         (RM_FE_TOWARDZERO): Likewise.
1411         (RM_FE_UPWARD): Likewise.
1412         (COMMON_TEST_SETUP): Likewise.
1413         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1414         (COMMON_TEST_CLEANUP): Likewise.
1415         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1416         (RUN_TEST_f_f): Likewise.
1417         (RUN_TEST_LOOP_f_f): Likewise.
1418         (RUN_TEST_fp_f): Likewise.
1419         (RUN_TEST_LOOP_fp_f): Likewise.
1420         (RUN_TEST_2_f): Likewise.
1421         (RUN_TEST_LOOP_2_f): Likewise.
1422         (RUN_TEST_ff_f): Likewise.
1423         (RUN_TEST_LOOP_ff_f): Likewise.
1424         (RUN_TEST_LOOP_fj_f): Likewise.
1425         (RUN_TEST_fi_f): Likewise.
1426         (RUN_TEST_LOOP_fi_f): Likewise.
1427         (RUN_TEST_fl_f): Likewise.
1428         (RUN_TEST_LOOP_fl_f): Likewise.
1429         (RUN_TEST_if_f): Likewise.
1430         (RUN_TEST_LOOP_if_f): Likewise.
1431         (RUN_TEST_fff_f): Likewise.
1432         (RUN_TEST_LOOP_fff_f): Likewise.
1433         (RUN_TEST_fiu_M): Likewise.
1434         (RUN_TEST_LOOP_fiu_M): Likewise.
1435         (RUN_TEST_fiu_U): Likewise.
1436         (RUN_TEST_LOOP_fiu_U): Likewise.
1437         (RUN_TEST_c_f): Likewise.
1438         (RUN_TEST_LOOP_c_f): Likewise.
1439         (RUN_TEST_f_f1): Likewise.
1440         (RUN_TEST_LOOP_f_f1): Likewise.
1441         (RUN_TEST_fF_f1): Likewise.
1442         (RUN_TEST_LOOP_fF_f1): Likewise.
1443         (RUN_TEST_fI_f1): Likewise.
1444         (RUN_TEST_LOOP_fI_f1): Likewise.
1445         (RUN_TEST_ffI_f1_mod8): Likewise.
1446         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1447         (RUN_TEST_Ff_b1): Likewise.
1448         (RUN_TEST_LOOP_Ff_b1): Likewise.
1449         (RUN_TEST_Ffp_b1): Likewise.
1450         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1451         (RUN_TEST_c_c): Likewise.
1452         (RUN_TEST_LOOP_c_c): Likewise.
1453         (RUN_TEST_cc_c): Likewise.
1454         (RUN_TEST_LOOP_cc_c): Likewise.
1455         (RUN_TEST_f_i): Likewise.
1456         (RUN_TEST_LOOP_f_i): Likewise.
1457         (RUN_TEST_f_i_tg): Likewise.
1458         (RUN_TEST_LOOP_f_i_tg): Likewise.
1459         (RUN_TEST_ff_b): Likewise.
1460         (RUN_TEST_LOOP_ff_b): Likewise.
1461         (RUN_TEST_ff_i_tg): Likewise.
1462         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1463         (RUN_TEST_f_b): Likewise.
1464         (RUN_TEST_LOOP_f_b): Likewise.
1465         (RUN_TEST_f_b_tg): Likewise.
1466         (RUN_TEST_LOOP_f_b_tg): Likewise.
1467         (RUN_TEST_f_l): Likewise.
1468         (RUN_TEST_LOOP_f_l): Likewise.
1469         (RUN_TEST_f_L): Likewise.
1470         (RUN_TEST_LOOP_f_L): Likewise.
1471         (RUN_TEST_fFF_11): Likewise.
1472         (RUN_TEST_LOOP_fFF_11): Likewise.
1473         (VEC_SUFF): Likewise.
1474         (STR_CONCAT): Likewise.
1475         (STR_CON3): Likewise.
1476         (HAVE_VECTOR): Likewise.
1477         (START): Likewise.
1478         (END): Likewise.
1479         (END_COMPLEX): Likewise.
1480         (ALL_RM_TEST): Likewise.
1481         (matherr): Likewise.
1482         (initialize): Likewise.
1483         (options): Likewise.
1484         (doc): Likewise.
1485         (parse_opt): Likewise.
1486         (argp): Likewise.
1487         (check_ulp): Likewise.
1488         (main): Likewise.
1489         (do_test): New function.  Call tests of individual functions
1490         previously called from main.
1492         * math/libm-test.inc: Remove comment listing functions tested and
1493         not tested.
1495 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1497         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1498         (allocate_stack): Remove COLORING_INCREMENT usage.
1499         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1500         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1502 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1504         * manual/libm-err-tab.pl (@all_functions): Change to
1505         %all_functions.  Initialize as empty.
1506         (parse_ulps): Add to %all_functions based on functions found in
1507         ulps files.  Ignore results for non-default rounding modes and
1508         vector functions.
1509         (print_platforms): Use %all_platforms.
1510         * manual/math.texi (Errors in Math Functions): Document omissions
1511         from the table.
1513         * math/Makefile (before-compile): Remove.
1515 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1517         [BZ #21075]
1518         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1519         unused assignment.
1520         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1522 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1524         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1525         Add __glibc_unlikely hint.
1527 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1529         [BZ #16640]
1530         * sysdeps/i386/i686/strtok.S: Remove file.
1531         * sysdeps/i386/i686/strtok_r.S: Likewise.
1532         * sysdeps/i386/strtok.S: Likewise.
1533         * sysdeps/i386/strtok_r.S: Likewise.
1534         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1535         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1536         * sysdeps/x86_64/strtok.S: Likewise.
1537         * sysdeps/x86_64/strtok_r.S: Likewise.
1539         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1540         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1541         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1542         (__ASSUME_FADVISE64_AS_64_64): Define.
1543         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1544         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1545         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1546         __ALIGNMENT_ARG usage.
1547         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1548         __NR_fadvise64_64 if it is not defined.
1550 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1552         * version.h (RELEASE): Set to "development"
1553         (VERSION): Set to 2.25.90.
1554         * NEWS: Add 2.26 section.
1556         * version.h (RELEASE): Set to "stable"
1557         (VERSION): Set to 2.25.
1558         * include/features.h (__GLIBC_MINOR__): Set to 25.
1560         * manual/contrib.texi: Add more contributors from this release
1561         and past releases.
1563         * NEWS (2.25): Add list of bugs fixed.
1565         * NEWS: Add missing news items.
1567 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1569         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1570         parent if child exited in that manner.  Print WEXITSTATUS
1571         instead of the raw status.
1572         (do_test_prep): Rename to do_test.
1573         (do_test): Return the result of run_executable_sgid.
1574         (TEST_FUNCTION_ARGV): Adjust.
1576 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1577             Florian Weimer  <fweimer@redhat.com>
1578             Carlos O'Donell  <carlos@redhat.com>
1580         [BZ #20915]
1581         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1582         Do not initialize DTV.
1583         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1585 2017-02-03  David S. Miller  <davem@davemloft.net>
1587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1595         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1596         (libm-sysdep_routines): Update.
1597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1602         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1603         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1604         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1605         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1607         Likewise.
1608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1610         Likewise.
1611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1613         Likewise.
1614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1616         Likewise.
1617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1619         (libm-sysdep_routines): Update.
1621 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1623         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1624         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1625         against unrelocated shared library.
1626         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1628 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1630         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1631         * elf/tst-env-setuid-tunables.c
1632         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1633         GLIBC_TUNABLES is removed in a setgid process.
1635         [BZ #21073]
1636         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1637         * elf/dl-tunables.c (tunables_strdup): Remove.
1638         (get_next_env): Also return the previous envp.
1639         (parse_tunables): Erase tunables of category
1640         TUNABLES_SECLEVEL_SXID_ERASE.
1641         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1642         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1643         (__tunables_init)[TUNABLES_FRONTEND ==
1644         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1645         after parsing.
1646         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1647         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1648         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1649         to security_level.
1650         * elf/dl-tunables.list: Add security_level annotations for all
1651         tunables.
1652         * scripts/gen-tunables.awk: Recognize and generate enum values
1653         for security_level.
1654         * elf/tst-env-setuid.c: New test case.
1655         * elf/tst-env-setuid-tunables: new test case.
1656         * elf/Makefile (tests-static): Add them.
1658 2017-02-01  Richard Henderson  <rth@twiddle.net>
1660         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1661         adjusting the byte count.
1663 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1665         * conform/Makefile (linknamespace-libs): Define.
1667         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1668         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1669         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1670         operands.
1672 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1674         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1676 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1678         [BZ #21081]
1679         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1680         (L(stosb)): Add VZEROUPPER before ret.
1682 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1683             Alexey Makhalov <amakhalov@vmware.com>
1684             Florian Weimer <fweimer@redhat.com>
1686         [BZ #20116]
1687         * nptl/pthread_create.c: Document concurrency notes.
1688         Enhance thread creation notes.
1689         (create_thread): Use bool *stopped_start.
1690         (START_THREAD_DEFN): Comment ownership of PD.
1691         (__pthread_create_2_1): Add local bool stopped_start and use
1692         that instead of pd->stopped_start where appropriate.
1693         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1694         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1695         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1696         * nptl/tst-create-detached.c: New file.
1697         * nptl/Makefile (tests): Add tst-create-detached.
1698         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1699         Reference the enhanced thread creation notes.
1700         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1701         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1702         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1703         (__pthread_current_priority): Likewise.
1704         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1705         xpthread_attr_init, xpthread_attr_setdetachstate, and
1706         xpthread_attr_setstacksize.
1707         * support/xpthread_attr_destroy.c: New file.
1708         * support/xpthread_attr_init.c: New file.
1709         * support/xpthread_attr_setdetachstate.c: New file.
1710         * support/xpthread_attr_setstacksize.c: New file.
1711         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1712         xpthread_attr_init, xpthread_attr_setdetachstate, and
1713         xpthread_attr_setstacksize.
1715 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1717         * nptl/Makefile (tests): Add tst-robust-fork.
1718         * nptl/tst-robust-fork.c: New file.
1719         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1720         xpthread_mutex_consistent, xpthread_mutex_destroy,
1721         xpthread_mutex_init, xpthread_mutexattr_destroy,
1722         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1723         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1724         xpthread_mutexattr_settype.
1725         * support/xmmap.c: New file.
1726         * support/xmunmap.c: Likewise.
1727         * support/xpthread_mutex_consistent.c: Likewise.
1728         * support/xpthread_mutex_destroy.c: Likewise.
1729         * support/xpthread_mutex_init.c: Likewise.
1730         * support/xpthread_mutexattr_destroy.c: Likewise.
1731         * support/xpthread_mutexattr_init.c: Likewise.
1732         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1733         * support/xpthread_mutexattr_setpshared.c: Likewise.
1734         * support/xpthread_mutexattr_setrobust.c: Likewise.
1735         * support/xpthread_mutexattr_settype.c: Likewise.
1736         * support/xthread.h (xpthread_mutexattr_destroy)
1737         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1738         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1739         (xpthread_mutexattr_settype, xpthread_mutex_init)
1740         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1741         * support/xunistd.h (xmmap, xmunmap): Likewise.
1743 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1745         * string/Makefile (xtests): Add comment.
1746         (LOCALES): Add en_GB.UTF-8.
1747         (tst-strcoll-overflow.out): Depend on generated locales.
1748         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1749         (SIZE, TIMEOUT): Update comments.
1750         (do_test): Define as static.  Fail test if setlocale fails.
1751         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1752         messages.
1753         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1754         TIMEOUT at 300 seconds should be enough to run this test
1755         successfully.
1757 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1759         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1760         /* FALLTHRU */ comments.
1762 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1764         [BZ #21053]
1765         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1766         constants instead of the old R* ones.
1767         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1768         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1769         (NGREG): ... to this, to fit in with other architectures.
1770         (gpregset_t): Use new NGREG macro.
1771         [__USE_GNU]: Remove condition; all architectures other than tile
1772         are unconditional.
1773         (R*): Rename to REG_R*.
1775 2017-01-20  DJ Delorie  <dj@redhat.com>
1777         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1778         (tunable_set_val_if_valid_range_signed) ... this, and ...
1779         (tunable_set_val_if_valid_range_unsigned) ... this.
1780         (tunable_initialize): Call the correct one of the above based on type.
1782 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1784         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1785         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1786         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1787         * sysdeps/microblaze/libm-test-ulps: Likewise.
1788         * sysdeps/sh/libm-test-ulps: Likewise.
1790         * math/README.libm-test: Update list of characters for input and
1791         output types.
1793 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1795         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1796         (__lll_unlock_elision): Fix adapt_count decrement.
1798 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1800         * README.pretty-printers (Known issues): Warn about printers not
1801         always covering everything.
1802         * nptl/nptl-printers.py (MutexPrinter): Change output.
1803         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1805 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1807         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1808         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1809         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1810         (__lll_lock_elision): Do not test futex before starting a
1811         transaction.  Use __glibc_likely instead of __builtin_expect.
1812         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1813         (__lll_trylock_elision): Do not test futex before starting a
1814         transaction.  Use __glibc_likely instead of __builtin_expect.
1816 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1818         * po/Makefile (update-translations): New target.
1820 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1822         [BZ #21061]
1823         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1825 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1827         * elf/dl-tunables (get_next_env): Always advance envp.
1828         * stdlib/tst-empty-env.c: New test case.
1829         * stdlib/Makefile (tests): Use it.
1831 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1833         [BZ #21047]
1834         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1835         name for instruction.
1836         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1838 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1840         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1841         for make install.
1843 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1845         * po/bg.po: Merge from Translation Project.
1846         * po/fr.po: Likewise.
1847         * po/ko.po: Likewise.
1848         * po/nl.po: Likewise.
1849         * po/sv.po: Likewise.
1851 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1853         * manual/install.texi (Tools for Compilation): Update GCC version
1854         known to work to build glibc.
1855         * INSTALL: Regenerated.
1857 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1859         [BZ #21006]
1860         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1862 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1864         [BZ #21045]
1865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1866         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1867         to __sigprocmask.
1869 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1871         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1872         wrap-around.
1873         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1875         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1877 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1879         * NEWS: Fix typo.
1881 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1883         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1884         barriers and comments.
1885         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1886         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1887         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1889 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1891         [BZ #19402]
1892         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1893         mutexes.
1895 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1897         [BZ #20985]
1898         * nptl/Makefile: Adapt.
1899         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1900         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1901         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1902         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1903         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1904         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1905         lll_robust* functions and adapt.
1906         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1907         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1908         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1909         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1910         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1911         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1912         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1913         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1914         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1915         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1916         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1917         * nptl/lowlevelrobustlock.c: Remove file.
1918         * nptl/lowlevelrobustlock.sym: Likewise.
1919         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1920         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1922 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1924         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1926 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1928         * po/cs.po: Merge translations from the Translation Project.
1929         * po/de.po: Likewise.
1930         * po/pl.po: Likewise.
1931         * po/ru.po: Likewise.
1932         * po/tr.po: Likewise.
1933         * po/uk.po: Likewise.
1934         * po/vi.po: Likewise.
1935         * po/zh_CN.po: Likewise.
1937 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1939         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1941         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1942         object.
1944 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1946         [BZ #16458]
1947         * bits/uintn-identity.h: New file.
1948         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1949         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1950         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1951         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1952         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1953         * string/endian.h: Include <bits/uintn-identity.h>.
1954         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1955         __uint16_identity.
1956         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1957         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1958         __uint32_identity.
1959         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1960         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1961         __uint64_identity.
1962         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1963         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1964         __uint16_identity.
1965         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1966         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1967         __uint32_identity.
1968         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1969         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1970         __uint64_identity.
1971         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1972         * string/Makefile (headers): Add bits/uintn-identity.h.
1973         (tests): Add test-endian-types.
1974         * string/test-endian-types.c: New file.
1975         * inet/Makefile (tests): Add test-hnto-types.
1976         * inet/test-hnto-types.c: New file.
1978 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1980         * po/be.po: Update from Translation Project.
1981         * po/bg.po: Likewise.
1982         * po/ca.po: Likewise.
1983         * po/cs.po: Likewise.
1984         * po/da.po: Likewise.
1985         * po/de.po: Likewise.
1986         * po/el.po: Likewise.
1987         * po/eo.po: Likewise.
1988         * po/es.po: Likewise.
1989         * po/fi.po: Likewise.
1990         * po/fr.po: Likewise.
1991         * po/gl.po: Likewise.
1992         * po/hr.po: Likewise.
1993         * po/hu.po: Likewise.
1994         * po/ia.po: Likewise.
1995         * po/id.po: Likewise.
1996         * po/it.po: Likewise.
1997         * po/ja.po: Likewise.
1998         * po/ko.po: Likewise.
1999         * po/lt.po: Likewise.
2000         * po/nb.po: Likewise.
2001         * po/nl.po: Likewise.
2002         * po/pl.po: Likewise.
2003         * po/pt_BR.po: Likewise.
2004         * po/ru.po: Likewise.
2005         * po/rw.po: Likewise.
2006         * po/sk.po: Likewise.
2007         * po/sl.po: Likewise.
2008         * po/sv.po: Likewise.
2009         * po/tr.po: Likewise.
2010         * po/uk.po: Likewise.
2011         * po/vi.po: Likewise.
2012         * po/zh_CN.po: Likewise.
2013         * po/zh_TW.po: Likewise.
2015 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2017         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2018         -Wformat-truncation instead of -Wformat-length.
2019         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2020         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2021         GCC 7.
2022         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2023         (do_test): Ignore -Wformat-truncation for GCC 7.
2025         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2026         buffer used to print long int value.
2028         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2029         one byte.  Print it with %ld, cast to long int.
2031 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2033         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2034         (re.fullmatch, subprocess.run): Likewise.
2036 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2038         * po/libc.pot: Regenerate.
2040 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2042         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2043         (min_strlen): Likewise.
2044         (disable_tunable): Likewise.
2045         (maybe_disable_malloc_check): Rename to
2046         maybe_enable_malloc_check.
2047         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2048         if /etc/suid-debug file exists.
2049         (__tunables_init): Update caller.
2050         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2051         secure.
2053 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2055         * nptl/DESIGN-rwlock.txt: Remove.
2056         * nptl/lowlevelrwlock.sym: Remove.
2057         * nptl/Makefile: Add new tests.
2058         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2059         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2060         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2061         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2062         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2063         PTHREAD_RWLOCK_FUTEX_USED): New.
2064         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2065         implementation.
2066         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2067         (__pthread_rwlock_rdlock): Adapt.
2068         * nptl/pthread_rwlock_timedrdlock.c
2069         (pthread_rwlock_timedrdlock): Adapt.
2070         * nptl/pthread_rwlock_timedwrlock.c
2071         (pthread_rwlock_timedwrlock): Adapt.
2072         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2073         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2074         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2075         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2076         (__pthread_rwlock_wrlock): Adapt.
2077         * nptl/tst-rwlock10.c: Adapt.
2078         * nptl/tst-rwlock11.c: Adapt.
2079         * nptl/tst-rwlock17.c: New file.
2080         * nptl/tst-rwlock18.c: New file.
2081         * nptl/tst-rwlock19.c: New file.
2082         * nptl/tst-rwlock2b.c: New file.
2083         * nptl/tst-rwlock8.c: Adapt.
2084         * nptl/tst-rwlock9.c: Adapt.
2085         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2086         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2087         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2088         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2089         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2090         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2091         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2092         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2093         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2094         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2095         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2096         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2097         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2098         (pthread_rwlock_t): Adapt.
2099         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2100         (pthread_rwlock_t): Adapt.
2101         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2102         * nptl/nptl-printers.py (): Adapt.
2103         * nptl/nptl_lock_constants.pysym: Adapt.
2104         * nptl/test-rwlock-printers.py: Adapt.
2105         * nptl/test-rwlockattr-printers.c: Adapt.
2106         * nptl/test-rwlockattr-printers.py: Adapt.
2108 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2110         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2111         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2112         (fma_test_data): Likewise.
2113         (hypot_test_data): Likewise.
2114         (log1p_test_data): Likewise.
2115         (modf_test_data): Likewise.
2116         (pow_test_data): Likewise.
2117         (remainder_test_data): Likewise.
2118         (remquo_test_data): Likewise.
2119         (scalb_test_data): Likewise.
2120         (scalbn_test_data): Likewise.
2121         (scalbln_test_data): Likewise.
2122         * math/gen-libm-test.pl (parse_args): Transform
2123         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2124         on the rounding mode.
2126 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2128         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2129         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2130         and those that can underflow to zero.
2131         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2132         add others.
2133         * math/auto-libm-test-out: Regenerated.
2135         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2136         supported.
2137         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2138         modes support if not supported.
2140         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2141         Add libc.so PLT entry.
2142         (__tls_get_addr): Make ld.so PLT entry optional.
2144 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2146         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2147         * string/bits/string3.h: ... here.
2149 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2151         [BZ #21028]
2152         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2153         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2154         if EXCEPTION_TESTS returns false.
2156 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2158         [BZ #20558]
2159         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2160         strings_fortified.h.
2161         [__USE_MISC] (bzero): Likewise.
2162         [__USE_MISC] (explicit_bzero): Likewise.
2163         * string/strings.h: Include strings_fortified.h.
2164         * string/Makefile (headers): Add strings_fortified.h.
2165         * string/bits/strings_fortified.h: New file.
2166         * include/bits/strings_fortified.h: Likewise.
2168 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2170         * elf/tst-tls13.c (TIMEOUT): Remove.
2171         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2172         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2173         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2174         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2175         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2177         [BZ #21026]
2178         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2179         (readahead): New syscall entry.
2181 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2183         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2184         around tests of strncat with large sizes.
2186         * malloc/tst-malloc.c: Include <libc-internal.h>.
2187         (do_test): Disable -Walloc-size-larger-than= around tests of
2188         malloc with negative sizes.
2189         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2190         (do_test): Disable -Walloc-size-larger-than= around tests of
2191         malloc and realloc with negative sizes.
2192         * malloc/tst-realloc.c: Include <libc-internal.h>.
2193         (do_test): Disable -Walloc-size-larger-than= around tests of
2194         realloc with negative sizes.
2196         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2197         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2198         allowed to 16 ulps.
2199         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2200         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2201         * math/auto-libm-test-out: Regenerated.
2203 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2205         * math/Makefile (libm-calls): Move wrappers...
2206         (libm-compat-call-auto): Here.
2207         (libm-routines): Add items in libm-compat-calls-auto.
2208         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2209         the filenames of the wrappers that have been renamed.
2210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2213         * math/w_acos.c: Add _compat suffix to filename.
2214         * math/w_acosf.c: Likewise.
2215         * math/w_acosh.c: Likewise.
2216         * math/w_acoshf.c: Likewise.
2217         * math/w_acoshl.c: Likewise.
2218         * math/w_acosl.c: Likewise.
2219         * math/w_asin.c: Likewise.
2220         * math/w_asinf.c: Likewise.
2221         * math/w_asinl.c: Likewise.
2222         * math/w_atan2.c: Likewise.
2223         * math/w_atan2f.c: Likewise.
2224         * math/w_atan2l.c: Likewise.
2225         * math/w_atanh.c: Likewise.
2226         * math/w_atanhf.c: Likewise.
2227         * math/w_atanhl.c: Likewise.
2228         * math/w_cosh.c: Likewise.
2229         * math/w_coshf.c: Likewise.
2230         * math/w_coshl.c: Likewise.
2231         * math/w_exp10.c: Likewise.
2232         * math/w_exp10f.c: Likewise.
2233         * math/w_exp10l.c: Likewise.
2234         * math/w_exp2.c: Likewise.
2235         * math/w_exp2f.c: Likewise.
2236         * math/w_exp2l.c: Likewise.
2237         * math/w_fmod.c: Likewise.
2238         * math/w_fmodf.c: Likewise.
2239         * math/w_fmodl.c: Likewise.
2240         * math/w_hypot.c: Likewise.
2241         * math/w_hypotf.c: Likewise.
2242         * math/w_hypotl.c: Likewise.
2243         * math/w_j0.c: Likewise.
2244         * math/w_j0f.c: Likewise.
2245         * math/w_j0l.c: Likewise.
2246         * math/w_j1.c: Likewise.
2247         * math/w_j1f.c: Likewise.
2248         * math/w_j1l.c: Likewise.
2249         * math/w_jn.c: Likewise.
2250         * math/w_jnf.c: Likewise.
2251         * math/w_jnl.c: Likewise.
2252         * math/w_log10.c: Likewise.
2253         * math/w_log10f.c: Likewise.
2254         * math/w_log10l.c: Likewise.
2255         * math/w_log2.c: Likewise.
2256         * math/w_log2f.c: Likewise.
2257         * math/w_log2l.c: Likewise.
2258         * math/w_log.c: Likewise.
2259         * math/w_logf.c: Likewise.
2260         * math/w_logl.c: Likewise.
2261         * math/w_pow.c: Likewise.
2262         * math/w_powf.c: Likewise.
2263         * math/w_powl.c: Likewise.
2264         * math/w_remainder.c: Likewise.
2265         * math/w_remainderf.c: Likewise.
2266         * math/w_remainderl.c: Likewise.
2267         * math/w_scalb.c: Likewise.
2268         * math/w_scalbf.c: Likewise.
2269         * math/w_scalbl.c: Likewise.
2270         * math/w_sinh.c: Likewise.
2271         * math/w_sinhf.c: Likewise.
2272         * math/w_sinhl.c: Likewise.
2273         * math/w_sqrt.c: Likewise.
2274         * math/w_sqrtf.c: Likewise.
2275         * math/w_sqrtl.c: Likewise.
2276         * math/w_tgamma.c: Likewise.
2277         * math/w_tgammaf.c: Likewise.
2278         * math/w_tgammal.c: Likewise.
2280         * math/w_acos_compat.c: New file copied from above and
2281         adjusted for new #includes path
2282         * math/w_acosf_compat.c: Likewise.
2283         * math/w_acosh_compat.c: Likewise.
2284         * math/w_acoshf_compat.c: Likewise.
2285         * math/w_acoshl_compat.c: Likewise.
2286         * math/w_acosl_compat.c: Likewise.
2287         * math/w_asin_compat.c: Likewise.
2288         * math/w_asinf_compat.c: Likewise.
2289         * math/w_asinl_compat.c: Likewise.
2290         * math/w_atan2_compat.c: Likewise.
2291         * math/w_atan2f_compat.c: Likewise.
2292         * math/w_atan2l_compat.c: Likewise.
2293         * math/w_atanh_compat.c: Likewise.
2294         * math/w_atanhf_compat.c: Likewise.
2295         * math/w_atanhl_compat.c: Likewise.
2296         * math/w_cosh_compat.c: Likewise.
2297         * math/w_coshf_compat.c: Likewise.
2298         * math/w_coshl_compat.c: Likewise.
2299         * math/w_exp10_compat.c: Likewise.
2300         * math/w_exp10f_compat.c: Likewise.
2301         * math/w_exp10l_compat.c: Likewise.
2302         * math/w_exp2_compat.c: Likewise.
2303         * math/w_exp2f_compat.c: Likewise.
2304         * math/w_exp2l_compat.c: Likewise.
2305         * math/w_fmod_compat.c: Likewise.
2306         * math/w_fmodf_compat.c: Likewise.
2307         * math/w_fmodl_compat.c: Likewise.
2308         * math/w_hypot_compat.c: Likewise.
2309         * math/w_hypotf_compat.c: Likewise.
2310         * math/w_hypotl_compat.c: Likewise.
2311         * math/w_j0_compat.c: Likewise.
2312         * math/w_j0f_compat.c: Likewise.
2313         * math/w_j0l_compat.c: Likewise.
2314         * math/w_j1_compat.c: Likewise.
2315         * math/w_j1f_compat.c: Likewise.
2316         * math/w_j1l_compat.c: Likewise.
2317         * math/w_jn_compat.c: Likewise.
2318         * math/w_jnf_compat.c: Likewise.
2319         * math/w_jnl_compat.c: Likewise.
2320         * math/w_log10_compat.c: Likewise.
2321         * math/w_log10f_compat.c: Likewise.
2322         * math/w_log10l_compat.c: Likewise.
2323         * math/w_log2_compat.c: Likewise.
2324         * math/w_log2f_compat.c: Likewise.
2325         * math/w_log2l_compat.c: Likewise.
2326         * math/w_log_compat.c: Likewise.
2327         * math/w_logf_compat.c: Likewise.
2328         * math/w_logl_compat.c: Likewise.
2329         * math/w_pow_compat.c: Likewise.
2330         * math/w_powf_compat.c: Likewise.
2331         * math/w_powl_compat.c: Likewise.
2332         * math/w_remainder_compat.c: Likewise.
2333         * math/w_remainderf_compat.c: Likewise.
2334         * math/w_remainderl_compat.c: Likewise.
2335         * math/w_scalb_compat.c: Likewise.
2336         * math/w_scalbf_compat.c: Likewise.
2337         * math/w_scalbl_compat.c: Likewise.
2338         * math/w_sinh_compat.c: Likewise.
2339         * math/w_sinhf_compat.c: Likewise.
2340         * math/w_sinhl_compat.c: Likewise.
2341         * math/w_sqrt_compat.c: Likewise.
2342         * math/w_sqrtf_compat.c: Likewise.
2343         * math/w_sqrtl_compat.c: Likewise.
2344         * math/w_tgamma_compat.c: Likewise.
2345         * math/w_tgammaf_compat.c: Likewise.
2346         * math/w_tgammal_compat.c: Likewise.
2348         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2349         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2350         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2351         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2352         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2353         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2354         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2355         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2356         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2357         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2358         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2359         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2360         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2361         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2362         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2363         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2364         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2365         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2366         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2367         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2368         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2369         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2370         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2371         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2372         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2373         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2374         * sysdeps/ia64/fpu/w_log.c: Likewise.
2375         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2376         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2377         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2378         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2379         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2380         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2381         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2382         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2383         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2384         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2385         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2386         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2387         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2388         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2389         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2390         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2391         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2392         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2393         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2394         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2395         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2396         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2397         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2398         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2399         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2400         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2401         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2402         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2403         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2404         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2405         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2406         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2407         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2408         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2411         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2413         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2414         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2415         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2416         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2417         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2418         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2419         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2420         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2421         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2423         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2424         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2425         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2426         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2427         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2428         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2429         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2430         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2431         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2432         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2433         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2434         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2435         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2436         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2437         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2438         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2439         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2440         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2441         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2443         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2445         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2446         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2447         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2449         Likewise.
2450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2451         Likewise.
2452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2454         Likewise.
2455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2456         Likewise.
2457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2458         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2459         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2460         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2462         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2463         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2468         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2469         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2470         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2471         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2473         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2474         and adjusted for new #includes path
2475         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2476         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2477         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2478         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2479         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2480         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2481         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2482         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2483         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2484         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2485         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2486         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2487         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2488         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2489         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2490         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2491         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2492         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2493         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2494         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2495         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2496         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2497         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2498         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2499         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2500         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2501         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2502         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2503         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2504         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2505         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2506         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2507         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2508         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2509         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2510         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2511         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2512         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2513         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2514         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2515         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2516         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2517         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2518         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2519         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2520         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2521         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2522         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2523         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2524         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2525         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2526         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2527         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2528         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2529         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2530         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2531         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2532         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2533         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2534         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2535         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2536         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2537         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2538         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2539         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2540         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2541         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2542         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2543         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2544         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2545         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2546         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2547         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2548         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2549         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2550         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2551         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2552         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2553         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2554         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2555         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2556         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2557         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2558         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2559         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2560         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2561         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2562         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2563         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2564         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2565         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2566         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2567         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2568         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2569         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2570         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2571         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2572         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2573         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2575         Likewise.
2576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2577         Likewise.
2578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2579         Likewise.
2580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2581         Likewise.
2582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2583         Likewise.
2584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2585         Likewise.
2586         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2587         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2588         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2589         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2590         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2591         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2593         Likewise.
2594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2595         Likewise.
2596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2597         Likewise.
2598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2599         Likewise.
2600         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2601         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2602         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2603         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2605 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2607         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2608         __jmp_buf_internal_tag.
2610         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2611         preserve NaN payload if [__mips_nan2008].
2612         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2614         [BZ #21022]
2615         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2617 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2619         * sysdeps/i386/fpu/libm-test-ulps: Update.
2621 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2623         * sysdeps/ia64/strcat.c: Remove file.
2624         * sysdeps/powerpc/strcat.c: Likewise.
2625         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2626         C implementation.
2627         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2628         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2630 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2631             Steven Munroe  <sjmunroe@us.ibm.com>
2632             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2634         [BZ #20822]
2635         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2636         (__lll_lock_elision): Access adapt_count via C11 atomics.
2637         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2638         (__lll_trylock_elision): Likewise.
2639         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2640         (__lll_unlock_elision):  Update adapt_count variable inside the
2641         critical section using C11 atomics.
2643 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2645         * math/test-fenvinline.c (do_test): Disable tests of raised
2646         exceptions if !EXCEPTION_TESTS (FLOAT).
2648 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2650         [BZ #19390]
2651         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2652         maximum string size.
2653         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2654         in pointer addition.
2655         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2656         Likewise.
2658 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2660         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2661         passed to tst-ldconfig-X.sh.
2663 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2665         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2667 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2669         [BZ #21019]
2670         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2671         New syscall entry.
2672         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2673         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2674         lseek.
2676         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2677         power4 glibc for powerpc-linux-gnu.
2679 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2681         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2682         semctl.
2684 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2686         * math/test-nearbyint-except.c: Include <stdbool.h>.
2687         (any_supported): New variable.
2688         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2689         set any_supported.
2690         (do_test): Return 77 if no floating-point type supported
2691         exceptions.
2693         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2694         condition on [__mips_hard_float].
2696 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2698         [BZ #21014]
2699         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2700         in pointer addition.
2701         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2703 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2705         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2706         new condvar.
2708 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2710         * scripts/build-many-glibcs.py (Context.checkout): Default
2711         binutils version to 2.28 branch.
2713 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2715         * support/support_format_netent.c (support_format_netent): Work
2716         around alpha struct netent definition difference.
2718 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2720         * support/xwrite.c (xwrite): Use %td for pointer difference.
2722 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2724         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2725         have-tunables only.
2726         (tests-static): Add tst-malloc-usable-static-tunables for
2727         have-tunables only.
2729 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2731         * scripts/config.guess: Update to version 2017-01-01.
2732         * scripts/config.sub: Update to version 2017-01-01.
2734         * NEWS: Update copyright dates.
2735         * catgets/gencat.c (print_version): Likewise.
2736         * csu/version.c (banner): Likewise.
2737         * debug/catchsegv.sh: Likewise.
2738         * debug/pcprofiledump.c (print_version): Likewise.
2739         * debug/xtrace.sh (do_version): Likewise.
2740         * elf/ldconfig.c (print_version): Likewise.
2741         * elf/ldd.bash.in: Likewise.
2742         * elf/pldd.c (print_version): Likewise.
2743         * elf/sotruss.sh: Likewise.
2744         * elf/sprof.c (print_version): Likewise.
2745         * iconv/iconv_prog.c (print_version): Likewise.
2746         * iconv/iconvconfig.c (print_version): Likewise.
2747         * locale/programs/locale.c (print_version): Likewise.
2748         * locale/programs/localedef.c (print_version): Likewise.
2749         * login/programs/pt_chown.c (print_version): Likewise.
2750         * malloc/memusage.sh (do_version): Likewise.
2751         * malloc/memusagestat.c (print_version): Likewise.
2752         * malloc/mtrace.pl: Likewise.
2753         * manual/libc.texinfo: Likewise.
2754         * nptl/version.c (banner): Likewise.
2755         * nscd/nscd.c (print_version): Likewise.
2756         * nss/getent.c (print_version): Likewise.
2757         * nss/makedb.c (print_version): Likewise.
2758         * posix/getconf.c (main): Likewise.
2759         * scripts/test-installation.pl: Likewise.
2760         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2762         * All files with FSF copyright notices: Update copyright dates
2763         using scripts/update-copyrights.
2764         * intl/plural.c: Regenerated.
2765         * locale/programs/charmap-kw.h: Likewise.
2766         * locale/programs/locfile-kw.h: Likewise.
2768 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2770         [BZ #20593]
2771         Update DNS RR type definitions.
2772         * scripts/gen-rrtypes.py: New file.
2773         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2774         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2775         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2776         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2777         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2778         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2779         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2780         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2781         ns_t_ta, ns_t_dlv.
2782         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2783         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2784         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2785         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2786         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2787         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2788         Define.
2789         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2790         entry for ns_t_zxfr.
2792 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2794         [BZ #18784]
2795         CVE-2015-5180
2796         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2797         T_UNSPEC.  Adjust value.
2798         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2799         * resolv/res_query.c (__libc_res_nquery): Likewise.
2800         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2801         QTYPEs.
2802         * resolv/tst-resolv-qtypes.c: New file.
2803         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2804         (tst-resolv-qtypes): Link against libresolv and libpthread.
2806 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2808         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2810 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2812         * manual/tunables.texi: New chapter.
2813         * manual/Makefile (chapters): Add it.
2814         * manual/probes.texi (@node): Point to the Tunables chapter.
2816         * Makeconfig (have-tunables): Check for non-negative instead
2817         of positive.
2818         * configure.ac: Add 'valstring' as a valid value for
2819         --enable-tunables.
2820         * configure: Regenerate.
2821         * elf/Makefile (have-tunables): Check for non-negative instead
2822         of positive.
2823         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2824         dl-tunables.c.
2825         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2826         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2827         (tunables_strdup): Likewise.
2828         (disable_tunables): Likewise.
2829         (parse_tunables): Likewise.
2830         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2831         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2832         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2833         (TUNABLES_FRONTEND_yes): New macro, define as
2834         TUNABLES_FRONTEND_valstring by default.
2835         * manual/install.texi: Document new acceptable values for
2836         --enable-tunables.
2837         * INSTALL: Regenerate.
2839         * config.make.in (have-loop-to-function): Define.
2840         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2841         -fno-tree-loop-distribute-patterns.
2842         * elf/dl-tunables.c: Include libc-internals.h.
2843         (GLIBC_TUNABLES): New macro.
2844         (tunables_strdup): New function.
2845         (parse_tunables): New function.
2846         (min_strlen): New function.
2847         (__tunables_init): Use the new functions and macro.
2848         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2849         * malloc/tst-malloc-usable-tunables.c: New test case.
2850         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2851         * malloc/Makefile (tests, tests-static): Add tests.
2853         * manual/install.texi: Add --enable-tunables option.
2854         * INSTALL: Regenerate.
2855         * README.tunables: New file.
2856         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2857         (before-compile): Generate dl-tunable-list.h early.
2858         * config.h.in: Add HAVE_TUNABLES.
2859         * config.make.in: Add have-tunables.
2860         * configure.ac: Add --enable-tunables option.
2861         * configure: Regenerate.
2862         * csu/init-first.c (__libc_init_first): Move
2863         __libc_init_secure earlier...
2864         * csu/init-first.c (LIBC_START_MAIN):... to here.
2865         Include dl-tunables.h, libc-internal.h.
2866         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2867         binaries.
2868         * elf/Makefile (dl-routines): Add dl-tunables.
2869         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2870         namespace.
2871         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2872         only when !HAVE_TUNABLES.
2873         * elf/rtld.c (process_envvars): Likewise.
2874         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2875         (_dl_sysdep_start): Call __tunables_init.
2876         * elf/dl-tunable-types.h: New file.
2877         * elf/dl-tunables.c: New file.
2878         * elf/dl-tunables.h: New file.
2879         * elf/dl-tunables.list: New file.
2880         * malloc/tst-malloc-usable-static.c: New test case.
2881         * malloc/Makefile (tests-static): Add it.
2882         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2883         Define TUNABLE_NAMESPACE.
2884         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2885         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2886         callback functions.
2887         (ptmalloc_init): Set tunable values.
2888         * scripts/gen-tunables.awk: New file.
2889         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2890         (_dl_sysdep_start): Call __tunables_init.
2892 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2894         * resolv/resolv.h (RES_BLAST): Deprecate.
2895         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2896         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2897         to RES_BLAST.
2899 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2901         [BZ #19582]
2902         Deprecate RES_USE_INET6.
2903         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2904         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2905         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2906         RES_USE_INET6.
2907         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2908         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2909         (_nss_nisplus_gethostbyaddr_r): Likewise.
2910         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2911         of res_use_inet6.
2912         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2913         instead of RES_USE_INET6.
2914         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2915         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2916         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2917         Likewise.
2918         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2919         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2920         Likewise.
2921         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2922         (_nss_dns_gethostbyname_r): Likewise.
2923         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2924         alternate RES_USE_INET6 handling.
2925         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2926         instead of RES_USE_INET6.
2927         * resolv/res_init.c (res_setoptions): Likewise.
2928         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2929         * resolv/resolv-internal.h: New file.
2930         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2931         make the deprecation warning non-fatal.
2932         * resolv/README (Using the resolver in multi-threaded code): Drop
2933         reference to RES_USE_INET6.
2934         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2935         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2937 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2939         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2940         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2941         tst-resolv-search.
2942         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2943         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2944         with libresolv and libpthread.
2945         * resolv/tst-bug18665.c: New file.
2946         * resolv/tst-bug18665-tcp: Likewise.
2947         * resolv/tst-res_use_inet6: Likewise.
2948         * resolv/tst-resolv-basic: Likewise.
2949         * resolv/tst-resolv-network: Likewise.
2950         * resolv/tst-resolv-search: Likewise.
2951         * support/Makefile (libsupport-routines): Add check_addrinfo,
2952         check_dns_packet, check_hostent, check_netent, resolv_test,
2953         support_format_address_family, support_format_addrinfo,
2954         support_format_dns_packet, support_format_herrno,
2955         support_format_hostent, support_format_netent, support_run_diff,
2956         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2957         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2958         xstrdup, xwrite.
2959         * support/check_addrinfo.c: New file.
2960         * support/check_dns_packet.c: Likewise.
2961         * support/check_hostent.c: Likewise.
2962         * support/check_netent.c: Likewise.
2963         * support/check_nss.h: Likewise.
2964         * support/format_nss.h: Likewise.
2965         * support/resolv_test.c: Likewise.
2966         * support/resolv_test.h: Likewise.
2967         * support/run_diff.h: Likewise.
2968         * support/support_format_address_family.c: Likewise.
2969         * support/support_format_addrinfo.c: Likewise.
2970         * support/support_format_dns_packet.c: Likewise.
2971         * support/support_format_herrno.c: Likewise.
2972         * support/support_format_hostent.c: Likewise.
2973         * support/support_format_netent.c: Likewise.
2974         * support/support_run_diff.c: Likewise.
2975         * support/xaccept.c: Likewise.
2976         * support/xbind.c: Likewise.
2977         * support/xconnect.c: Likewise.
2978         * support/xfclose.c: Likewise.
2979         * support/xfopen.c: Likewise.
2980         * support/xgetsockname.c: Likewise.
2981         * support/xlisten.c: Likewise.
2982         * support/xmemstream.c: Likewise.
2983         * support/xmemstream.h: Likewise.
2984         * support/xpoll.c: Likewise.
2985         * support/xpthread_once.c: Likewise.
2986         * support/xrecvfrom.c: Likewise.
2987         * support/xsendto.c: Likewise.
2988         * support/xsetsockopt.c: Likewise.
2989         * support/xstdio.h: Likewise.
2990         * support/xstrdup.c: Likewise.
2991         * support/support.h (xstrdup): Declare.
2992         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2993         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2994         * support/xthread.h (xpthread_once): Likwise.
2995         * support/xunistd.h (xwrite): Declare.
2997 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2999         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3000         (test_verbose): Declare.
3001         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3002         * support/support_test_main.c (default_options): Likewise.
3003         (usage, support_test_main): Handle 'v'.
3004         (test_verbose): Define.
3005         * support/tst-support_record_failure.c (do_test): Use
3006         test_verbose.
3007         * support/tst-support_record_failure-2.sh (different_status): Add
3008         --verbose test.
3010 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3012         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3013         test failures are recorded.
3014         * support/check.c (support_print_failure_impl): Call
3015         support_record_failure.
3016         (support_exit_failure_impl): Call support_record_failure if status
3017         indicates failure.
3018         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3019         * support/xasprintf.c (xasprintf): Likewise.
3020         * support/xfork.c (xfork): Likewise.
3021         * support/xpthread_check_return.c (xpthread_check_return):
3022         Likewise.
3023         * support/xsocket.c (xsocket): Likeweise.
3024         * support/xwaitpid.c (xwaitpid): Likewise.
3025         * support/support_record_failure.c (struct test_failures): Adjust
3026         to coding style.
3027         * support/support_test_verify_impl.c (support_test_verify_impl):
3028         Adjust error messages.
3029         * support/tst-support_record_failure-2.sh (different_status):
3030         Adjust error messages.
3032 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3034         * support/namespace.h: New file.
3035         * support/support_become_root.c: Likewise.
3036         * support/support_enter_network_namespace.c: Likewise.
3037         * support/tst-support-namespace.c: Likewise.
3038         * support/xsocket.c: Likewise.
3039         * support/xsocket.h: Likewise.
3040         * support/Makefile (libsupport-routines): Add support_become_root,
3041         support_enter_network_namespace, xsocket.
3042         (tests): Add tst-support-namespace.
3044 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3046         [BZ #17252]
3047         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3048         __USE_GNU.
3050 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3052         [BZ #13165]
3053         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3054         use new algorithm.
3055         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3056         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3057         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3058         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3059         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3060         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3061         __condvar_cleanup_waiting, __condvar_dec_grefs,
3062         __pthread_cond_wait_common): New.
3063         (__condvar_cleanup): Remove.
3064         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3065         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3066         Likewise.
3067         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3068         Likewise.
3069         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3070         * nptl/tst-cond1.c: Add comment.
3071         * nptl/tst-cond20.c (do_test): Adapt.
3072         * nptl/tst-cond22.c (do_test): Likewise.
3073         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3074         structure.
3075         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3076         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3077         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3078         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3079         Likewise.
3080         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3081         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3082         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3083         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3084         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3085         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3086         Likewise.
3087         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3088         Likewise.
3089         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3090         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3091         (COND_CLOCK_BITS): Adapt.
3092         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3093         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3094         __PTHREAD_COND_SHARED_MASK): New.
3095         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3096         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3097         * nptl/nptl_lock_constants.pysym: Adapt.
3098         * nptl/test-cond-printers.py: Adapt.
3099         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3100         cond_compat_check_and_clear): Adapt.
3101         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3102         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3103         (__pthread_cond_timedwait): ... and move here.
3104         * nptl/DESIGN-condvar.txt: Remove file.
3105         * nptl/lowlevelcond.sym: Likewise.
3106         * nptl/pthread_cond_timedwait.c: Likewise.
3107         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3108         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3109         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3110         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3111         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3113         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3115         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3116         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3117         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3118         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3119         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3120         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3121         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3122         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3124 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3126         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3127         (fromfp): New declaration.
3128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3130         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3131         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3136         * math/math.h: Include <bits/types.h>.
3137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3138         constant and macro.
3139         (FP_INT_DOWNWARD): Likewise.
3140         (FP_INT_TOWARDZERO): Likewise.
3141         (FP_INT_TONEARESTFROMZERO): Likewise.
3142         (FP_INT_TONEAREST): Likewise.
3143         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3144         (fromfpf): Likewise.
3145         (fromfpl): Likewise.
3146         (ufromfp): Likewise.
3147         (ufromfpf): Likewise.
3148         (ufromfpl): Likewise.
3149         (fromfpx): Likewise.
3150         (fromfpxf): Likewise.
3151         (fromfpxl): Likewise.
3152         (ufromfpx): Likewise.
3153         (ufromfpxf): Likewise.
3154         (ufromfpxl): Likewise.
3155         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3156         s_fromfpxF and s_ufromfpxF.
3157         * math/gen-fromfp-tests.py: New file.
3158         * math/gen-fromfp-tests-inputs: Likewise.
3159         * math/libm-test.inc: Include <stdint.h>
3160         (check_intmax_t): New function.
3161         (check_uintmax_t): Likewise.
3162         (struct test_fiu_M_data): New type.
3163         (struct test_fiu_U_data): Likewise.
3164         (RUN_TEST_fiu_M): New macro.
3165         (RUN_TEST_LOOP_fiu_M): Likewise.
3166         (RUN_TEST_fiu_U): Likewise.
3167         (RUN_TEST_LOOP_fiu_U): Likewise.
3168         (fromfp_test_data): New array.
3169         (fromfp_test): New function.
3170         (fromfpx_test_data): New array.
3171         (fromfpx_test): New function.
3172         (ufromfp_test_data): New array.
3173         (ufromfp_test): New function.
3174         (ufromfpx_test_data): New array.
3175         (ufromfpx_test): New function.
3176         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3177         ufromfpx_test.
3178         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3179         characters.
3180         * math/test-tgmath-ret.c: Include <stdint.h>.
3181         (rm): New variable.
3182         (width): Likewise.
3183         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3184         called function.
3185         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3186         CHECK_RET_CONST_TYPE.
3187         (CHECK_RET_CONST_DOUBLE): Likewise.
3188         (CHECK_RET_CONST_LDOUBLE): Likewise.
3189         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3190         macros.
3191         (fromfp): New CHECK_RET_CONST call.
3192         (ufromfp): Likewise.
3193         (fromfpx): Likewise.
3194         (ufromfpx): Likewise.
3195         (do_test): Call check_return_fromfp, check_return_ufromfp,
3196         check_return_fromfpx and check_return_ufromfpx.
3197         * math/test-tgmath.c: Include <stdint.h>
3198         (NCALLS): Increase to 138.
3199         (F(compile_test)): Initialize i.  Call fromfp functions.
3200         (F(fromfp)): New function.
3201         (F(fromfpx)): Likewise.
3202         (F(ufromfp)): Likewise.
3203         (F(ufromfpx)): Likewise.
3204         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3205         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3206         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3207         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3208         ufromfpxl.
3209         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3210         ufromfp and ufromfpx.
3211         * math/fromfp.h: New file.
3212         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3213         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3214         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3215         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3216         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3217         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3218         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3219         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3220         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3221         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3222         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3223         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3224         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3225         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3226         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3227         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3228         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3229         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3230         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3231         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3232         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3233         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3234         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3235         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3236         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3237         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3238         ufromfp, fromfpx and ufromfpx.
3239         (CFLAGS-nldbl-fromfp.c): New variable.
3240         (CFLAGS-nldbl-fromfpx.c): Likewise.
3241         (CFLAGS-nldbl-ufromfp.c): Likewise.
3242         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3243         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3244         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3245         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3246         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3247         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3248         * sysdeps/nacl/libm.abilist: Update.
3249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3250         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3251         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3252         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3253         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3254         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3255         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3256         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3257         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3258         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3260         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3262         Likewise.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3264         Likewise.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3268         Likewise.
3269         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3272         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3275         Likewise.
3276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3277         Likewise.
3278         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3282 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3284         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3285         compat-gethnamaddr.
3286         (CPPFLAGS): Remove.
3287         * resolv/gethnamaddr.c: Rename ...
3288         * resolv/compat-gethnamaddr.c: ... to this file.
3289         (_endhtent): Make static.
3290         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3291         symbol.
3292         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3293         compat symbol.
3294         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3295         symbol.
3296         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3297         Turn into compat symbol.
3298         * include/resolv.h (_endhtent): Remove declaration.
3300 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3302         * bits/types.h (__intmax_t): New typedef.
3303         (__uintmax_t): Likewise.
3304         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3305         (intmax_t): Define using __intmax_t.
3306         (uintmax_t): Define using __uintmax_t.
3308         * support/Makefile (tests-special): Make definition conditional on
3309         [$(run-built-tests) = yes].
3310         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3311         on [$(run-built-tests) = yes].
3313 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3315         * Rules (tests): Add tests-printers-programs to tests to be
3316         built.
3318 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3320         * sysvipc/Makefile (tests): Add test-sysvshm.
3321         * sysvipc/test-sysvshm.c: New file.
3323         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3324         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3325         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3326         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3327         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3328         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3329         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3330         Likewise.
3331         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3332         Likewise.
3333         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3334         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3335         is defined.
3337         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3338         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3339         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3340         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3341         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3342         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3343         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3344         Likewise.
3345         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3346         Likewise.
3347         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3348         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3349         defined.
3351         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3352         oldshmctl.
3353         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3354         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3355         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3356         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3357         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3358         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3359         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3360         Likewise.
3361         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3362         Likewise.
3363         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3364         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3365         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3366         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3367         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3368         implementation.
3369         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3370         if it is defined.
3372         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3373         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3374         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3375         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3376         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3377         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3378         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3379         Likewise.
3380         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3381         Likewise.
3382         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3383         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3384         Define to __NR_osf_shmat.
3385         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3386         defined.
3388         * sysvipc/Makefile (tests): Add test-sysvsem.
3389         * sysvipc/test-sysvsem.c: New file.
3391         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3392         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3393         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3394         Likewise.
3395         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3396         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3397         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3398         Likewise.
3399         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3400         Likewise.
3401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3402         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3403         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3404         add a comment about s390 syscall difference from default one.
3405         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3406         syscall if it is defined.
3408         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3409         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3410         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3411         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3412         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3413         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3414         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3415         Likewise.
3416         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3417         Likewise.
3418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3419         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3420         defined.
3422         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3423         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3424         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3425         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3426         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3427         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3428         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3429         Likewise.
3430         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3431         Likewise.
3432         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3433         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3434         if it is defined.
3436         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3437         oldsemctl.
3438         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3439         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3440         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3441         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3442         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3443         implementation.
3444         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3445         syscall if it is defined.
3446         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3447         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3448         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3449         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3450         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3451         Likewise.
3452         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3454         * sysvipc/Makefile (tests): Add test-sysvmsg.
3455         * sysvipc/test-sysvmsg.c: New file.
3456         * support/check.h (FAIL_UNSUPPORTED): New define.
3458         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3459         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3460         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3461         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3462         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3463         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3464         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3465         Likewise.
3466         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3467         Likewise.
3468         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3469         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3470         define.
3472         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3473         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3474         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3475         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3476         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3477         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3478         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3479         Likewise.
3480         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3481         Likewise.
3482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3483         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3484         if defined.
3486         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3487         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3488         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3489         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3490         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3491         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3492         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3493         Likewise.
3494         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3495         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3496         Likewise.
3497         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3498         if defined.
3499         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3501         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3502         oldmsgctl.
3503         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3504         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3505         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3506         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3507         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3508         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3509         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3510         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3511         Likewise.
3512         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3513         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3514         implementation.
3515         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3516         if defined.
3518         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3519         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3520         definition and define its own.
3521         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3522         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3523         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3524         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3525         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3526         definitions to common header.
3527         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3528         operation from ipc_ops.h.
3530         * sysdeps/unix/sysv/linux/kernel-features.h
3531         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3532         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3533         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3534         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3535         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3536         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3537         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3538         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3539         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3540         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3541         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3542         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3543         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3544         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3545         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3547 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3549         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3550         overflow in pointer addition.
3552 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3554         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3555         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3557         (strchr): Add __strchr_power8 to list of strchr functions.
3558         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3559         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3560         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3561         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3562         (strchr): Add __strchr_power8 to ifunc list.
3563         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3564         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3565         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3566         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3568 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3570         * support/Makefile (libsupport-routines): Add
3571         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3572         (tests): Add tst-support_record_failure.
3573         (tests-special): tst-support_record_failure-2.
3574         (tst-support_record_failure-2.out): Depend on
3575         tst-support_record_failure-2.sh and tst-support_record_failure.
3576         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3577         (support_test_verify_impl, support_record_failure)
3578         (support_report_failure, support_report_failure_reset): Declare.
3579         * support/support_test_main.c (adjust_exit_status): New function.
3580         (support_test_main): Call it to incorporate record test failures.
3581         * support/support_test_verify_impl.c: New file.
3582         * support/support_record_failure.c: Likewise.
3583         * support/tst-support_record_failure.c: Likewise.
3584         * support/tst-support_record_failure-2.sh: Likewise.
3585         * support/xunistd.h: Likewise.
3586         * support/xfork.c: Likewise.
3587         * support/xwaitpid.c: Likewise.
3589 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3591         * scripts/check-c++-types.sh: Add comments.
3593 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3595         [BZ #19514]
3596         * resolv/res_send.c: Fix typo in comment.
3597         * sysdeps/i386/i386-mcount.S: Likewise.
3598         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3599         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3600         * sysdeps/sparc/sparc-mcount.S: Likewise.
3602 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3604         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3605         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3606         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3607         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3608         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3609         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3610         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3611         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3613 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3615         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3617 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3619         [BZ #17252]
3620         * posix/unistd.h (getentropy): Declare.
3622 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3624         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3625         Remove.
3626         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3627         (cmd): Remove spoof, nospoof, spoofalert.
3628         (parse_line): Ignore spoof-related lines.
3629         (do_init): Do not process RESOLV_SPOOF_CHECK.
3631 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3633         [BZ #20964]
3634         sunrpc: Always obtain AF_INET addresses from NSS.
3635         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3636         * sunrpc/rpc_gethostbyname.c: New file.
3637         * sunrpc/Makefile (routines): Add it.
3638         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3639         * sunrpc/clnt_simp.c (callrpc): Likewise.
3640         * sunrpc/getrpcport.c (getrpcport): Likewise.
3642 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3644         * sunrpc/rpcinfo.c: Remove.
3645         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3647 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3649         [BZ# 19387]
3650         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3651         addition.
3652         * string/test-memchr.c (do_test): Remove alignment limitation.
3653         (test_main): Add test that trigger BZ# 19387.
3655 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3657         [BZ #7065]
3658         Enable stack protectore if requested by ./configure.
3659         * Makeconfig (+stack-protector): New variable.
3660         (+cflags): Use it.
3662 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3664         [BZ #7065]
3665         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3666         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3667         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3668         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3669         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3671 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3673         [BZ #7065]
3674         * login/Makefile (pt_chown-cflags): Remove.
3675         * nscd/Makefile (CFLAGS-nscd): Likewise.
3676         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3680         [BZ #7065]
3681         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3682         non-libc-linking testcase.
3684 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3685             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3686             Florian Weimer  <fweimer@redhat.com>
3688         [BZ #7065]
3689         PLT avoidance for __stack_chk_fail*.
3690         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3691         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3692         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3693         __stack_chk_fail_local alias.
3694         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3695         (__stack_chk_fail): Turn into hidden reference to
3696         __stack_chk_fail_local.
3698 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3700         [BZ #7065]
3701         * configure.ac: Add check for unsupported stack-protection level.
3702         (libc_cv_predef_stack_protector): Remove.
3703         (no_ssp): New variable.
3704         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3705         (stack_protector): Set to -fno-stack-protector similarly.
3706         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3707         (libc_cv_asm_set_directive): Likewise.
3708         (libc_cv_protected_data): Likewise.
3709         (libc_cv_z_combreloc): Likewise.
3710         (libc_cv_hashstyle): Likewise.
3711         (libc_cv_has_glob_dat): Likewise.
3712         (libc_cv_output_format): Likewise.
3713         (libc_cv_output_format): Likewise.
3714         (libc_cv_ehdr_start): Likewise.
3715         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3716         (LIBC_LINKER_FEATURE): Likewise.
3717         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3719 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3721         [BZ #7065]
3722         * elf/Makefile (dummy-stack-chk-fail): New.
3723         (librtld.map): Use it.
3725 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3727         [BZ #7065]
3728         Compile the dynamic linker without stack protection.
3729         * elf/Makefile (elide-stack-protector): New.
3730         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3731         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3732         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3733         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3735 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3737         [BZ #7065]
3738         * config.make.in (have-ssp, no-stack-protector): New.
3739         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3740         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3741         (CFLAGS-sbrk.op): Likewise.
3742         (CFLAGS-brk.o): Likewise.
3743         (CFLAGS-brk.op): Likewise.
3744         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3745         (CFLAGS-wordcopy.c): Likewise.
3747 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3749         [BZ #7065]
3750         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3751         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3752         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3753         (__ifunc_resolver): Use it.
3754         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3755         inhibit_stack_protector.
3756         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3757         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3758         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3759         (foo_protected_ifunc): Likewise.
3760         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3761         (foo_protected_ifunc): Likewise.
3762         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3763         * sysdeps/nacl/nacl_interface_query.c
3764         (nacl_interface_query_ifunc): Likewise.
3765         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3766         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3767         Likewise.
3768         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3769         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3770         the generated vDSO syscall resolver.
3772 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3773             Florian Weimer  <fweimer@redhat.com>
3775         [BZ #7065]
3776         Initialize the stack guard earlier when linking statically.
3777         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3778         (__pthread_initialize_minimal): Declare.
3779         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3780         declaration.
3781         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3782         stack canary and apply_irel initialization up.  Call
3783         __pthread_initialize_minimal only if linked in.
3784         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3785         constant values.
3786         (__pthread_initialize_minimal): Remove.
3787         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3788         (__pthread_initialize_minimal_internal): Do not call
3789         __libc_setup_tls.
3791 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3793         [BZ #7065]
3794         * configure.ac (libc_cv_ssp): Move up.
3795         (libc_cv_ssp_strong): Likewise.
3796         (libc_cv_ssp_all): New.
3797         (stack_protector): Augment, adding -fstack-protector-all.
3798         (no_stack_protector): New.
3799         (STACK_PROTECTOR_LEVEL): New.
3800         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3801         * manual/install.texi (--enable-stack-protector): Document it.
3802         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3804 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3806         * README.pretty-printers: Must specify CPPFLAGS-* also.
3807         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3808         (CPPFLAGS-test-mutex-printers.c): Define.
3809         (CPPFLAGS-test-condattr-printers.c): Define.
3810         (CPPFLAGS-test-cond-printers.c): Define.
3811         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3812         (CPPFLAGS-test-rwlock-printers.c): Define.
3814         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3815         (tests): Add tst-cancel-getpwuid_r.
3816         * nss/tst-cancel-getpwuid_r.c: New file.
3818         [BZ #11941]
3819         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3820         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3821         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3822         tst-nodelete-dlclose.
3823         (modules-names): Add tst-nodelete-dlclose-dso and
3824         tst-nodelete-dlclose-plugin.
3825         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3826         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3827         ($(objpfx)tst-nodelete-dlclose): Define.
3828         ($(objpfx)tst-nodelete-dlclose.out): Define.
3830 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3832         * scripts/test_printers_common.py: Log GDB output in case of
3833         Python detection failure.
3835 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3837         * configure.ac: Check for python3 or python.
3838         * configure: Regenerated.
3839         * config.make.in (PYTHON): New variable.
3840         * benchtests/Makefile: Don't define PYTHON.
3841         (bench): Define target only if PYTHON was defined.
3842         * Rules: Don't define PYTHON.
3843         Define pretty printer targets only if PYTHON was defined.
3844         (tests-printers): Add to tests-unsupported if PYTHON is not
3845         found.
3846         (python-flags, python-invoke): Remove.
3847         (tests-printers-out): Use PYTHON instead of python-invoke.
3849 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3851         [BZ #20978]
3852         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3853         Compare name == NULL, not name != NULL.
3855         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3856         trailing whitespace removed.
3857         * scripts/config.guess: Update to version 2016-10-02.
3858         * scripts/config.sub: Update to version 2016-11-19.
3859         * scripts/install-sh: Update to version 2016-01-11.22.
3860         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3861         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3863 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3865         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3866         (do_one_test) Restore original string so iteration works.
3867         * string/string-inlines.c (do_test): Create better input strings.
3868         (test_main) Reduce number of testruns.
3869         * string/string-inlines.c (__old_strsep_1c): New function.
3870         (__old_strsep_2c): Likewise.
3871         (__old_strsep_3c): Likewise.
3872         * string/strsep.c (__strsep): Remove case of small delim string.
3873         Call strcspn directly rather than strpbrk.
3874         * string/bits/string2.h (__strsep): Remove define.
3875         (__strsep_1c): Remove.
3876         (__strsep_2c): Remove.
3877         (__strsep_3c): Remove.
3878         (strsep): Remove.
3879         * sysdeps/unix/sysv/linux/internal_statvfs.c
3880         (__statvfs_getflags): Rename to __strsep.
3882 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3884         * csu/libc-tls.c (_dl_tls_setup): Remove.
3885         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3886         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3887         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3889 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3891         [BZ #7065]
3892         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3893         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3895 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3896             Florian Weimer  <fweimer@redhat.com>
3898         [BZ #7065]
3899         * csu/Makefile (tests): Empty assignment and document it.
3900         (tests-static): Remove.
3901         * csu/tst-empty.c: Move to...
3902         * misc/tst-empty.c: ... here.  Switch to new test driver.
3903         * csu/tst-atomic.c: Move to...
3904         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3905         * csu/tst-atomic-long.c: Move to...
3906         * misc/tst-atomic-long.c: ... here.
3907         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3908         tst-atomic-long.
3909         (tests-static): Add tst-empty.
3911 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3913         * manual/nss.texi: Change incorrect @vtable to @table.
3914         * manual/arith.texi: Convert @tables of variables to @vtables
3915         and remove unnecessary indexing.
3916         * manual/filesys.texi: Likewise.
3917         * manual/llio.texi: Likewise.
3918         * manual/memory.texi: Likewise.
3919         * manual/process.texi: Likewise.
3920         * manual/resource.texi: Likewise.
3921         * manual/search.texi: Likewise.
3922         * manual/signal.texi: Likewise.
3923         * manual/socket.texi: Likewise.
3924         * manual/stdio.texi: Likewise.
3925         * manual/sysinfo.texi: Likewise.
3926         * manual/syslog.texi: Likewise.
3927         * manual/terminal.texi: Likewise.
3928         * manual/time.texi: Likewise.
3929         * manual/users.texi: Likewise.
3931 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3933         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3934         (roundeven): New declaration.
3935         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3936         macro.
3937         * math/Versions (roundeven): New libm symbol at version
3938         GLIBC_2.25.
3939         (roundevenf): Likewise.
3940         (roundevenl): Likewise.
3941         * math/Makefile (libm-calls): Add s_roundevenF.
3942         * math/libm-test.inc (roundeven_test_data): New array.
3943         (roundeven_test): New function.
3944         (main): Call roundeven_test.
3945         * math/test-tgmath.c (NCALLS): Increase to 134.
3946         (F(compile_test)): Call roundeven.
3947         (F(roundeven)): New function.
3948         * manual/arith.texi (Rounding Functions): Document roundeven,
3949         roundevenf and roundevenl.
3950         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3951         * include/math.h (roundeven): Use libm_hidden_proto.
3952         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3953         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3954         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3955         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3956         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3957         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3958         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3959         roundeven.
3960         (CFLAGS-nldbl-roundeven.c): New variable.
3961         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3962         * sysdeps/nacl/libm.abilist: Update.
3963         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3967         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3968         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3969         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3970         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3971         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3972         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3973         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3974         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3976         Likewise.
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3978         Likewise.
3979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3980         Likewise.
3981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3984         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3985         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3986         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3987         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3989         Likewise.
3990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3991         Likewise.
3992         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3994         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3996 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3998         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3999         preprocessor indentation inside #if.
4001 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4003         * math/libm-test.inc (fmt_ftostr): New function.
4004         (print_float, check_float_internal): Replace some uses of
4005         FTOSTR with uses of fmt_ftostr.
4006         (print_max_error, print_complex_max_error, print_function_ulps)
4007         (print_complex_function_ulps): Remove uses of the macros
4008         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4009         * math/test-double.h (FTOSTR): Define to strfromd.
4010         (PRINTF_EXPR): Delete.
4011         (PRINTF_XEXPR): Likewise.
4012         (PRINTF_NEXPR): Likewise.
4013         * math/test-float.h (FTOSTR): Define to strfromf.
4014         (PRINTF_EXPR): Delete.
4015         (PRINTF_XEXPR): Likewise.
4016         (PRINTF_NEXPR): Likewise.
4017         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4018         (PRINTF_EXPR): Delete.
4019         (PRINTF_XEXPR): Likewise.
4020         (PRINTF_NEXPR): Likewise.
4022 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4025         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4026         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4027         (__lll_lock_elision): Decrement adapt_count while unlocking
4028         instead of before locking.
4029         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4030         (__lll_trylock_elision): Likewise.
4031         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4032         (__lll_unlock_elision): Likewise.
4034 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4036         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4037         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4038         Use __libc_tbegin_retry macro.
4040 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4042         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4043         Add -msoft-float.
4044         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4045         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4046         Use __libc_t* transaction macros instead of __builtin_t*.
4047         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4048         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4050 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4052         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4053         (__lll_lock_elision): Use atomics to load / store adapt_count.
4054         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4055         (__lll_trylock_elision): Likewise.
4057 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4059         Do not require memset elimination in explicit_bzero test.
4060         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4061         (enum test_expectation): Add NO_EXPECTATIONS.
4062         (subtests): NO_EXPECTATIONS for ordinary clear.
4063         (check_test_buffer): Handle NO_EXPECTATIONS.
4064         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4066 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4068         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4069         (fmaxmag): New declaration.
4070         (fminmag): Likewise.
4071         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4072         macro.
4073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4074         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4075         (fmaxmagf): Likewise.
4076         (fmaxmagl): Likewise.
4077         (fminmag): Likewise.
4078         (fminmagf): Likewise.
4079         (fminmagl): Likewise.
4080         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4081         * math/s_fmaxmag_template.c: New file.
4082         * math/s_fminmag_template.c: Likewise.
4083         * math/libm-test.inc (fmaxmag_test_data): New array.
4084         (fmaxmag_test): New function.
4085         (fminmag_test_data): New array.
4086         (fminmag_test): New function.
4087         (main): Call fmaxmag_test and fminmag_test.
4088         * math/test-tgmath.c (NCALLS): Increase to 132.
4089         (F(compile_test)): Call fmaxmag and fminmag.
4090         (F(fminmag)): New function.
4091         (F(fmaxmag)): Likewise.
4092         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4093         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4094         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4095         fminmag.
4096         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4097         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4098         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4101         and fminmag.
4102         (CFLAGS-nldbl-fmaxmag.c): New variable.
4103         (CFLAGS-nldbl-fminmag.c): Likewise.
4104         * sysdeps/nacl/libm.abilist: Update.
4105         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4106         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4107         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4108         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4109         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4110         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4111         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4112         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4120         Likewise.
4121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4122         Likewise.
4123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4124         Likewise.
4125         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4126         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4127         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4128         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4129         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4131         Likewise.
4132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4133         Likewise.
4134         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4136         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4138 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4140         [BZ #20973]
4141         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4142         wake-up in robust mutexes.
4143         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4145 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4147         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4148         (CFLAGS-bench-fmaxf.c): New rule.
4149         (CFLAGS-bench-fminf.c): Likewise.
4150         * benchtests/fmaxf-inputs: New file.
4151         * benchtests/fminf-inputs: Likewise.
4153         * benchtests/Makefile (bench-math): Add fmin and fmax.
4154         (CFLAGS-bench-fmax.c): New rule.
4155         (CFLAGS-bench-fmin.c): Likewise.
4156         * benchtests/fmax-inputs: New file.
4157         * benchtests/fmin-inputs: Likewise.
4159         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4160         parenthesis.
4161         (CMDLINE_PROCESS): Define using function instead of macro.
4162         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4163         of test-skeleton.
4164         * benchtests/bench-memchr.c: Likewise.
4165         * benchtests/bench-memcmp.c: Likewise.
4166         * benchtests/bench-memcpy-large.c: Likewise.
4167         * benchtests/bench-memcpy.c: Likewise.
4168         * benchtests/bench-memmem.c: Likewise.
4169         * benchtests/bench-memmove-large.c: Likewise.
4170         * benchtests/bench-memmove.c: Likewise.
4171         * benchtests/bench-memset-large.c: Likewise.
4172         * benchtests/bench-memset.c: Likewise.
4173         * benchtests/bench-rawmemchr.c: Likewise.
4174         * benchtests/bench-strcasecmp.c: Likewise.
4175         * benchtests/bench-strcasestr.c: Likewise.
4176         * benchtests/bench-strcat.c: Likewise.
4177         * benchtests/bench-strchr.c: Likewise.
4178         * benchtests/bench-strcmp.c: Likewise.
4179         * benchtests/bench-strcpy.c: Likewise.
4180         * benchtests/bench-strcpy_chk.c: Likewise.
4181         * benchtests/bench-strlen.c: Likewise.
4182         * benchtests/bench-strncasecmp.c: Likewise.
4183         * benchtests/bench-strncmp.c: Likewise.
4184         * benchtests/bench-strncpy.c: Likewise.
4185         * benchtests/bench-strnlen.c: Likewise.
4186         * benchtests/bench-strpbrk.c: Likewise.
4187         * benchtests/bench-strrchr.c: Likewise.
4188         * benchtests/bench-strsep.c: Likewise.
4189         * benchtests/bench-strspn.c: Likewise.
4190         * benchtests/bench-strstr.c: Likewise.
4191         * benchtests/bench-strtok.c: Likewise.
4193 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4195         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4196         stepping identification.
4197         (init_cpu_features): Add handle of Haswell.
4199 2016-11-25  Jim Meyering  <meyering@fb.com>
4201         [BZ #20386]
4202         Let gcc detect assert(a = 1) errors.
4203         * assert/assert.h (assert): Rewrite, retaining the old definintion
4204         when required, but otherwise putting the expression as-is in an "if"
4205         expression (hence, with no added parentheses) within a statement
4206         expression.
4208 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4210         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4211         DSO.
4213 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4215         * Rules (python-flags, python-invoke): New.
4216         ($(test-printers-out)): Use $(python-flags).
4218 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4220         * manual/arith.texi (Math Error Reporting): Document that sNaN
4221         arguments are not considered domain errors.
4223 2016-12-16  Zack Weinberg <zackw@panix.com>
4224             Florian Weimer <fweimer@redhat.com>
4225             Nick Mathewson <nickm@torproject.org>
4227         * string/explicit_bzero.c: New routine.
4228         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4229         * string/Makefile (routines, strop-tests, tests): Add them.
4230         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4231         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4233         * debug/explicit_bzero_chk.c: New routine.
4234         * debug/Makefile (routines): Add it.
4235         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4236         * string/bits/string3.h: Fortify explicit_bzero.
4238         * manual/string.texi: Document explicit_bzero.
4239         * NEWS: Mention addition of explicit_bzero.
4241         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4242         data before returning, using explicit_bzero.
4243         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4244         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4245         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4247         * include/string.h: Redirect internal uses of explicit_bzero
4248         to __explicit_bzero_chk[_internal].
4249         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4250         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4251         * sysdeps/arm/nacl/libc.abilist
4252         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4253         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4254         * sysdeps/unix/sysv/linux/arm/libc.abilist
4255         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4256         * sysdeps/unix/sysv/linux/i386/libc.abilist
4257         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4258         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4259         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4260         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4261         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4262         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4263         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4265         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4270         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4271         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4272         * sysdeps/unix/sysv/linux/sh/libc.abilist
4273         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4274         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4277         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4278         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4279         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4280         Add entries for explicit_bzero and __explicit_bzero_chk.
4282 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4284         * math/fenv.h
4285         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4286         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4287         * math/test-fe-snans-always-signal.c: New file.
4288         * math/Makefile (tests): Add test-fe-snans-always-signal.
4289         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4290         * manual/arith.texi (Infinity and NaN): Document
4291         FE_SNANS_ALWAYS_SIGNAL.
4293 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4295         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4296         bracket.
4298 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4300         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4301         before calling execv.
4303 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4305         [BZ# 20971]
4306         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4307         overflow in pointer addition.
4308         * string/test-memchr.c (do_test): Add an argument to pass as
4309         the size on memchr.
4310         (test_main): Add check for SIZE_MAX.
4312 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4314         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4315         (libm-calls): Add w_scalblnF.
4316         * math/w_scalbln.c: Remove.
4317         * math/w_scalblnf.c: Likewise.
4318         * math/w_scalblnl.c: Likewise.
4319         * math/w_scalbln_template.c: New file with type-generic
4320         implementation based on math/w_scalbln.c.
4321         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4322         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4324 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4326         [BZ #20947]
4327         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4328         either is a signaling NaN.
4329         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4330         follow fmaxl more closely.
4331         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4332         when either is a signaling NaN.
4333         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4334         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4335         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4336         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4337         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4338         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4339         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4340         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4341         (fmin_test_data): Likewise.
4343 2016-12-15  Andreas Schwab  <schwab@suse.de>
4345         * support/support_test_main.c (support_test_main): Don't shadow
4346         file-local variable test_pid.
4348 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4350         [BZ #20947]
4351         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4352         either is a signaling NaN.
4353         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4355 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #20947]
4358         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4359         when either is a signaling NaN.
4360         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4362         * bits/long-double.h: New file.
4363         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4364         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4365         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4366         * sysdeps/mips/bits/long-double.h: Likewise.
4367         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4368         * math/Makefile (headers): Add bits/long-double.h.
4369         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4370         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4371         <bits/wordsize.h>.
4372         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4373         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4374         * math/math.h: Do not include <bits/mathdef.h>.
4375         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4376         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4377         inclusion.
4378         * sysdeps/ia64/bits/mathdef.h: Remove file.
4379         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4380         * sysdeps/mips/bits/mathdef.h: Likewise.
4381         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4382         * sysdeps/s390/bits/mathdef.h: Likewise.
4383         * sysdeps/sparc/bits/mathdef.h: Likewise.
4384         * sysdeps/x86/bits/mathdef.h: Likewise.
4385         * sysdeps/s390/s390-32/bits/wordsize.h
4386         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4387         conditional code.
4388         * sysdeps/s390/s390-64/bits/wordsize.h
4389         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4390         Likewise.
4391         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4392         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4393         Likewise.
4394         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4395         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4396         Likewise.
4397         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4398         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4399         Likewise.
4401         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4402         <linux/falloc.h>.
4403         (FALLOC_FL_KEEP_SIZE): Remove.
4404         (FALLOC_FL_PUNCH_HOLE): Likewise.
4405         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4406         (FALLOC_FL_ZERO_RANGE): Likewise.
4408 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4410         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4412 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4414         * sysdeps/unix/sysv/linux/renameat.c: New file.
4415         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4417         * sysdeps/unix/sysv/linux/rename.c: New file.
4418         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4420 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4422         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4423         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4424         * string/strtok_r.c (__strtok_r): Optimize for performance.
4425         * string/string-inlines.c (__old_strtok_r_1c): New function.
4426         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4428 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4430         * math/Makefile (gen-libm-calls): Add w_log1pF.
4431         (libm-calls): Remove w_log1pF.
4432         * math/w_log1p.c: Remove.
4433         * math/w_log1pf.c: Likewise.
4434         * math/w_log1pl.c: Likewise.
4435         * math/w_log1p_template.c: New file with type-generic
4436         implementation based on math/w_log1p.c.
4437         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4438         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4440 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4442         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4444 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4446         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4447         kernel version to 4.9.
4449 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4451         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4452         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4454 2016-12-13  Andreas Schwab  <schwab@suse.de>
4456         * sysdeps/powerpc/dl-procinfo.c: Don't define
4457         _dl_powerpc_platforms.
4458         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4459         constants instead of referencing _dl_powerpc_platforms.
4460         (_dl_platform_string): Remove.
4462 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4464         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4466 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4468         * Rules (binaries-shared-tests, binaries-pie-tests)
4469         (binaries-static-tests): Link with $(link-extra-libs-tests).
4470         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4471         Remove $(link-extra-libs-tests).
4473 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4475         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4476         (sysdep_routines): Add strncmp_power9.
4477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4478         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4479         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4480         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4481         (strncmp): Add __strncmp_power9 to ifunc list.
4482         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4484 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4486         [BZ #17252]
4487         Add getentropy, getrandom.
4488         * stdlib/sys/random.h: New file.
4489         (headers): Add it.
4490         * stdlib/Makefile (routines): Add getentropy, getrandom.
4491         (tests): Add tst-getrandom.
4492         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4493         * stdlib/getentropy.c: New file.
4494         * stdlib/getrandom.c: Likewise.
4495         * stdlib/tst-getrandom.c: Likewise.
4496         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4497         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4498         * manual/crypt.texi (Unpredictable Bytes): New section.
4499         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4500         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4501         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4504         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4505         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4506         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4507         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4508         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4509         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4510         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4511         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4512         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4513         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4514         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4516         Likewise.
4517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4518         Likewise.
4519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4521         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4522         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4525         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4528         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4529         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4530         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4532 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4534         [BZ #20956]
4535         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4536         as additional compiler barriers.
4537         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4538         (fn2, do_test): Declare with external linkage.
4539         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4540         (do_test): Declare with external linkage.
4541         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4542         (do_test): Declare with external linkage.
4543         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4544         (do_test): Declare with external linkage.
4546 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4548         * support/support_test_main.c (support_test_main): Use correct
4549         timeout.
4551 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4552             Florian Weimer  <fweimer@redhat.com>
4554         [BZ #16421]
4555         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4556         and __u6_addr32 members.
4557         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4558         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4559         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4560         Use __u6_addr32.
4561         * inet/tst-checks.c: Use <support/test-driver.c>
4562         * inet/tst-checks-posix.c: New file.
4563         * inet/Makefile (tests): Add it.
4564         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4566 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4568         New subdirectory support for build and test infrastructure.
4569         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4570         setting install-lib.
4571         * Makeconfig (link-extra-libs-tests): Define.
4572         (+link-pie-tests, +link-static-tests, +link-tests): Use
4573         link-extra-libs-tests.
4574         (rpath-dirs, all-subdirs): Add support.
4575         (built-modules): Add libsupport.
4576         (libsupport): Define.
4577         * support: New directory.
4578         * support/Makefile: New file.
4579         * support/check.c: Likewise.
4580         * support/check.h: Likewise.
4581         * support/delayed_exit.c: Likewise.
4582         * support/ignore_stderr.c: Likewise.
4583         * support/oom_error.c: Likewise.
4584         * support/set_fortify_handler.c: Likewise.
4585         * support/support.h: Likewise.
4586         * support/temp_file-internal.h: Likewise.
4587         * support/temp_file.c: Likewise.
4588         * support/test-driver.c: Likewise.
4589         * support/test-driver.h: Likewise.
4590         * support/test_main.c: Likewise.
4591         * support/write_message.c: Likewise.
4592         * support/xasprintf.c: Likewise.
4593         * support/xcalloc.c: Likewise.
4594         * support/xmalloc.c: Likewise.
4595         * support/xpthread_barrier_destroy.c: Likewise.
4596         * support/xpthread_barrier_init.c: Likewise.
4597         * support/xpthread_barrier_wait.c: Likewise.
4598         * support/xpthread_cancel.c: Likewise.
4599         * support/xpthread_check_return.c: Likewise.
4600         * support/xpthread_cond_wait.c: Likewise.
4601         * support/xpthread_create.c: Likewise.
4602         * support/xpthread_detach.c: Likewise.
4603         * support/xpthread_join.c: Likewise.
4604         * support/xpthread_mutex_lock.c: Likewise.
4605         * support/xpthread_mutex_unlock.c: Likewise.
4606         * support/xpthread_sigmask.c: Likewise.
4607         * support/xpthread_spin_lock.c: Likewise.
4608         * support/xpthread_spin_unlock.c: Likewise.
4609         * support/xrealloc.c: Likewise.
4610         * support/xsignal.h: Likewise.
4611         * support/xthread.h: Likewise.
4612         * support_tempfile.h: Likewise.
4613         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4614         (TEST_DATA_LIMIT): Remove unused macro.
4615         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4616         <support/check.h>.
4617         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4618         (ignore_stderr, set_fortify_handler): Remove.  Now in
4619         <support/support.h>.
4620         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4621         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4622         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4623         (xpthread_join): Remove.  Now in <support/xthread.h>.
4624         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4625         Introduce legacy wrappers.
4626         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4627         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4628         (write_message): Remove.
4629         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4630         test-skeleton.c.
4631         * io/test-open-tmpfile: Likewise.
4632         * io/tst-posix_fallocate-common.c: Likewise.
4633         * libio/tst-fseek.c: Likewise.
4634         * malloc/tst-malloc-backtrace.c: Likewise.
4635         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4636         * malloc/tst-malloc-thread-exit.c: Likewise.
4637         * nptl/tst-cancel7.c: Likewise.
4638         * nptl/tst-cleanup0.c: Likewise.
4639         * posix/tst-posix_fadvise-common.c: Likewise.
4640         * rt/tst-shm.c: Likewise.
4641         * time/bug-getdate1.c: Likewise.
4642         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4643         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4644         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4646 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4648         * Rules [$(run-built-tests) != no] (tests-expected): Add
4649         $(tests-printers).
4650         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4652 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4654         [BZ #20539]
4655         * math/Makefile (install-lib-ldscripts): Add libm.a.
4656         (install_subdir): Remove.
4657         (install-others): Add.
4658         ($(inst_libdir)/libm.a): Add rule for installation as
4659         linker script.
4660         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4662 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4664         * INSTALL: Regenerated.
4665         * Makeconfig: Add comments and whitespace to make the control flow
4666         clearer.
4667         (+link-printers-tests, +link-pie-printers-tests,
4668         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4669         built-rtld-LDFLAGS, link-libc-rpath,
4670         link-libc-tests-after-rpath-link,
4671         link-libc-printers-tests): New.
4672         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4673         link-libc-tests): Use the new variables as required.
4674         * Makerules ($(py-const)): New rule.
4675         generated: Add $(py-const).
4676         * README.pretty-printers: New file.
4677         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4678         (others): Depend on $(py-const).
4679         (tests): Depend on $(tests-printers-programs) or
4680         $(tests-printers-out),
4681         as required.  Pass $(tests-printers) to merge-test-results.sh.
4682         * manual/install.texi: Add requirements for testing the pretty
4683         printers.
4684         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4685         tests-printers, CFLAGS-test-mutexattr-printers.c
4686         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4687         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4688         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4689         * nptl/nptl-printers.py: New file.
4690         * nptl/nptl_lock_constants.pysym: Likewise.
4691         * nptl/test-cond-printers.c: Likewise.
4692         * nptl/test-cond-printers.py: Likewise.
4693         * nptl/test-condattr-printers.c: Likewise.
4694         * nptl/test-condattr-printers.py: Likewise.
4695         * nptl/test-mutex-printers.c: Likewise.
4696         * nptl/test-mutex-printers.py: Likewise.
4697         * nptl/test-mutexattr-printers.c: Likewise.
4698         * nptl/test-mutexattr-printers.py: Likewise.
4699         * nptl/test-rwlock-printers.c: Likewise.
4700         * nptl/test-rwlock-printers.py: Likewise.
4701         * nptl/test-rwlockattr-printers.c: Likewise.
4702         * nptl/test-rwlockattr-printers.py: Likewise.
4703         * scripts/gen-py-const.awk: Likewise.
4704         * scripts/test_printers_common.py: Likewise.
4705         * scripts/test_printers_exceptions.py: Likewise.
4707 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4709         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4710         argument.
4711         (Glibc.build_glibc): Strip installed shared libraries if
4712         requested.
4713         (get_parser): Add --strip option.
4714         (main): Update Context call.
4716 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4717             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4719         [BZ #20847]
4720         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4721         array bounds for else branch.
4722         (__execvpe): Style fixes.
4723         * posix/tst-vfork3.c (run_script): New function.
4724         (create_script): Likewise.
4725         (do_test): Use run_script internal function.
4726         (do_prepare): Use create_script internal function.
4728 2016-12-07  Andreas Schwab  <schwab@suse.de>
4730         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4731         (__elision_available): Don't declare.
4732         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4733         (__elision_available): Don't define.
4734         (elision_init): Don't set __elision_available.
4736 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4738         [BZ #20940]
4739         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4740         return Inf for arguments Inf and sNaN.
4741         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4742         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4743         Likewise.
4744         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4745         Likewise.
4746         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4747         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4748         for arguments Inf and sNaN.  When returning a NaN, compute it by
4749         arithmetic on the arguments.
4750         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4751         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4752         arguments.
4754 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4756         [BZ #20916]
4757         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4758         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4759         to compute result.
4760         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4761         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4763 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4765         * include/atomic.h (__atomic_check_size_ls): New.
4766         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4767         atomic_store_release): Use it.
4768         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4769         (elision_adapt, ELIDE_LOCK): Use atomics.
4770         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4771         atomics and improve code comments.
4772         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4773         (__lll_trylock_elision): Likewise.
4775 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4777         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4778         programs.
4780 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4782         [BZ #20916]
4783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4784         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4785         arguments to compute result.
4786         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4787         1 for arguments (sNaN, 0) or (1, sNaN).
4788         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4789         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4791         [BZ #20919]
4792         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4793         NaN first argument when raised to power 0.
4794         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4795         raising to power zero.
4796         * math/w_powf.c (__powf): Likewise.
4797         * math/w_powl.c (__powl): Likewise.
4798         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4799         pow (0, 0) or pow (NaN, 0).
4801 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4803         [BZ #20918]
4804         * configure.ac: Test for static NSS cryptographic libraries and set
4805         libc_cv_static_nss_crypt.
4806         * configure: Regenerate.
4807         * config.make.in (static-nss-crypt): Define.
4808         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4809         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4810         (CFLAGS-tst-linkall-static.c): Define.
4811         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4812         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4813         ($(objpfx)tst-linkall-static): Define.
4814         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4815         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4817 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4819         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4820         (one-hundred, tst-tls-many-dynamic-modules): Define.
4821         (modules-names): Add $(tst-tls-many-dynamic-modules).
4822         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4823         macros.
4824         (tst-tls-manydynamic): Link against libdl, libpthread.
4825         (tst-tls-manydynamic.out): The test needs the test modules at run
4826         time.
4827         * elf/tst-tls-manydynamic.c: New file.
4828         * elf/tst-tls-manydynamic.h: Likewise.
4829         * elf/tst-tls-manydynamicmod.c: Likewise.
4831 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4833         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4834         (TLS_DTV_UNALLOCATED): Add.
4835         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4836         offsets.
4838 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4840         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4842 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4844         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4845         Add -fno-optimize-sibling-calls.
4847 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4849         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4850         New declaration.
4851         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4852         macro.
4853         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4854         New macro.
4855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4857         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4858         (llogbf): Likewise.
4859         (llogbl): Likewise.
4860         * math/Makefile (gen-libm-calls): Add w_llogbF.
4861         (tests): Add test-fp-llogb-constants.
4862         * math/w_llogb_template.c: New file.  Based on
4863         math/w_ilogb_template.c.
4864         * math/libm-test.inc (llogb_test_data): New array.
4865         (llogb_test): New function.
4866         (main): Call llogb_test.
4867         * math/test-fp-llogb-constants.c: New file.  Based on
4868         math/test-fp-ilogb-constants.c.
4869         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4870         (do_test): Call check_return_llogb.
4871         * math/test-tgmath.c (NCALLS): Increase to 126.
4872         (F(compile_test)): Call llogb.
4873         (F(llogb)): New function.
4874         * manual/math.texi (Exponents and Logarithms): Document llogb,
4875         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4876         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4877         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4878         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4879         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4880         (CFLAGS-nldbl-llogb.c): New variable.
4881         * sysdeps/nacl/libm.abilist: Update.
4882         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4884         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4885         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4889         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4890         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4891         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4892         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4893         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4895         Likewise.
4896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4897         Likewise.
4898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4899         Likewise.
4900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4901         Likewise.
4902         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4903         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4904         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4905         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4906         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4908         Likewise.
4909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4910         Likewise.
4911         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4912         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4913         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4915 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4917         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4918         _Float128 instead of long double.
4919         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4921         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4922         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4923         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4924         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4925         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4926         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4927         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4928         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4929         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4930         Likewise.
4932 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4934         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4935         Remove redirection to __strrchr_ppc.
4937 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4939         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4940         (sysdep_routines): Add strcmp_power9.
4941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4942         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4943         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4944         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4945         (strcmp): Add __strcmp_power9 to ifunc list.
4946         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4948 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4950         * bits/fp-logb.h: New file.
4951         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4952         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4953         * sysdeps/x86/bits/fp-logb.h: Likewise.
4954         * math/Makefile (headers): Add bits/fp-logb.h.
4955         * math/math.h: Include <bits/fp-logb.h>.
4956         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4957         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4958         * bits/mathdef.h (FP_ILOGB0): Remove.
4959         (FP_ILOGBNAN): Likewise.
4960         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4961         (FP_ILOGBNAN): Likewise.
4962         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4963         (FP_ILOGBNAN): Likewise.
4964         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4965         (FP_ILOGBNAN): Likewise.
4966         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4967         (FP_ILOGBNAN): Likewise.
4968         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4969         (FP_ILOGBNAN): Likewise.
4970         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4971         (FP_ILOGBNAN): Likewise.
4972         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4973         (FP_ILOGBNAN): Likewise.
4974         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4975         (FP_ILOGBNAN): Likewise.
4976         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4977         (FP_ILOGBNAN): Likewise.
4979         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4980         time module.
4981         (Context.__init__): Initialize self.logsdir_old.
4982         (Context.run_builds): Handle bot action.
4983         (Context.bot_cycle): Copy logs directory before running builds.
4984         (Context.bot_run_self): Take argument for whether to check
4985         subprocess result.  Flush stdout before running subprocess.
4986         (Context.bot): New function.
4987         (get_parser): Allow bot action.
4989 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4991         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4992         Import email.mime.text, email.utils and smtplib modules.
4993         (Context.__init__): Initialize self.bot_config_json.
4994         (Context.run_builds): Handle bot-cycle action.
4995         (Context.load_bot_config_json): New function.
4996         (Context.part_build_old): Likewise.
4997         (Context.bot_cycle): Likewise.
4998         (Context.bot_build_mail): Likewise.
4999         (Context.bot_run_self): Likewise.
5000         (get_parser): Allow bot-cycle action.
5002 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5005         Remove redirection to __stpcpy_ppc.
5007 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5009         Remove __libc_memalign from ld.so because it is unused.
5010         * elf/dl-minimal.c: Update comment on the malloc implementation.
5011         (malloc): Renamed from __libc_memalign, replacing the original
5012         malloc implementation.  Replace the align parameter with
5013         MALLOC_ALIGNMENT.
5014         * elf/Versions (ld): Update comment and remove __libc_memalign.
5015         * sysdeps/nacl/ld.abilist: Likewise.
5016         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5019         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5021         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5022         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5023         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5024         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5025         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5026         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5027         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5028         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5032         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5033         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5034         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5035         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5036         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5039         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5040         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5041         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5042         * sysdeps/generic/localplt.data (ld.so): Likewise.
5043         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5044         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5045         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5046         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5047         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5048         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5049         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5050         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5051         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5053         (ld.so): Likewise.
5054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5055         (ld.so): Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5057         Likewise.
5058         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5059         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5060         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5061         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5062         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5064 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5066         [BZ #16628]
5067         Implement _dl_catch_error, _dl_signal_error in libc.so.
5068         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5069         (catch_hook): Define as thread-local or regular variable,
5070         depending on DL_ERROR_BOOTSTRAP.
5071         (CATCH_HOOK): Remove.
5072         (dl_signal_error, _dl_catch_error): Use
5073         catch_hook.  Add hidden definition for libc.
5074         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5075         for DL_ERROR_BOOTSTRAP only.
5076         * elf/dl-error.c: New file.
5077         * elf/dl-error-minimal.c: Likewise.
5078         * elf/tst-latepthread.c: Likewise.
5079         * elf/tst-latepthreadmod.c: Likewise.
5080         * elf/Makefile (routines): Add dl-error.
5081         (dl-routines): Remove dl-error.
5082         (rtld-routines): Add dl-error-minimal.
5083         [build-shared] (tests): Add tst-latepthread.
5084         (module-names): Add tst-latepthreadmod.
5085         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5086         symbol.
5087         (tst-latepthreadmod.so): Link against libpthread.
5088         (tst-latepthread): Link against libdbl.
5089         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5090         _dl_catch_error.
5091         [ld] (GLIBC_PRIVATE): Likewise.
5092         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5093         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5094         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5095         directly.
5096         * elf/dl-tsd.c: Remove file.
5097         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5098         _dl_catch_error, _dl_signal_error.
5099         (_dl_initial_error_catch_tsd): Remove definition.
5100         (do_preload): Remove initialization of dl_error_catch_tsd.
5101         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5102         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5103         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5104         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5105         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5106         set dl_error_catch_tsd.
5107         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5108         _dl_error_catch_tsd member.
5109         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5110         members.
5111         (_dl_initial_error_catch_tsd): Remove declaration.
5112         (_dl_dprintf): Provide definition for use outside of ld.so.
5113         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5114         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5115         prototype for libc.
5116         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5117         _dl_catch_error.
5118         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5119         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5120         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5121         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5122         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5123         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5124         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5125         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5126         Likewise.
5127         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5129         (ld.so): Likewise.
5130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5131         (ld.so): Likewise.
5132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5133         Likewise.
5134         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5135         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5136         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5139         Likewise.
5140         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5142 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5144         [BZ #4099]
5145         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5146         _IO_BUFSIZ (8192).
5148 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5150         * PROJECTS: Remove file.
5152 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5154         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5156 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5157             Steve Ellcey  <sellcey@caviumnetworks.com>
5159         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5160         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5161         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5162         fxstatat.
5163         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5164         lxstat.
5165         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5166         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5167         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5168         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5169         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5170         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5171         __xstat.
5173 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5175         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5176         Define.
5177         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5178         definition.
5180 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5182         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5183         version and turn into strong alias.  Remove compat symbol.
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5186         (__longjmp): Remove.
5188 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5190         * bits/fp-fast.h: New file.
5191         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5192         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5193         * math/Makefile (headers): Add bits/fp-fast.h.
5194         * math/math.h: Include <bits/fp-fast.h>.
5195         * bits/mathdef.h (FP_FAST_FMA): Remove.
5196         (FP_FAST_FMAF): Likewise.
5197         (FP_FAST_FMAL): Likewise.
5198         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5199         (FP_FAST_FMAF): Likewise.
5200         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5201         (FP_FAST_FMAF): Likewise.
5202         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5203         (FP_FAST_FMAF): Likewise.
5204         (FP_FAST_FMAL): Likewise.
5205         * sysdeps/arm/bits/mathdef.h: Remove file.
5206         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5207         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5208         * sysdeps/tile/bits/mathdef.h: Likewise.
5210 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5212         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5213         * math/w_ilogb.c: Remove.
5214         * math/w_ilogbf.c: Likewise.
5215         * math/w_ilogbl.c: Likewise.
5216         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5217         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5218         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5219         (libm-calls): Remove w_ilogbF.
5220         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5221         (LDOUBLE_ilogbl_libm_version): New macro.
5223         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5225         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5226         [!__STRICT_ANSI__ && !__cplusplus].
5228 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5230         [BZ #20750]
5231         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5232         of PIC.
5234 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5235             Yury Norov  <ynorov@caviumnetworks.com>
5236             Steve Ellcey  <sellcey@caviumnetworks.com>
5238         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5239         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5240         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5241         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5242         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5243         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5244         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5245         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5246         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5247         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5248         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5249         to get correct reg name for ILP32.
5250         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5251         (RELA_SIZE): New Macro.
5252         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5253         to support ILP32.
5254         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5255         cast for ILP32 mode.
5256         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5257         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5258         * sysdeps/aarch64/memset.S (__memset): Ditto.
5259         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5260         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5261         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5262         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5263         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5264         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5265         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5266         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5267         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5268         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5269         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5270         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5271         change PTR_MANGLE call to use register numbers instead of names.
5272         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5273         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5274         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5275         * sysdeps/aarch64/start.S (_start): Ditto.
5276         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5277         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5278         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5279         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5280         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5281         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5282         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5283         Make defined values dependent on __ILP32__.
5284         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5285         (sem_t): Change __align type.
5286         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5287         PTR_SIZE): New Macros.
5288         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5289         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5290         Set when in ILP32 mode.
5291         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5292         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5293         Set elf flags for ILP32.
5294         (add_system_dir): Set ILP32 library directories.
5295         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5296         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5297         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5298         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5299         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5300         New Macros.
5301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5303 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5305         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5306         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5307         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5309 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5311         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5312         <asm/cachectl.h>.
5314 2016-11-27  Zack Weinberg  <zackw@panix.com>
5316         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5317         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5319 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5321         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5322         error_t to fix usage in C++ programs.
5324 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5326         * scripts/build-many-glibcs.py: Import datetime module.
5327         (Context.__init__): Load JSON build state.  Initialize list of
5328         status logs.
5329         (Context.run_builds): Update saved build state.
5330         (Context.add_makefile_cmdlist): Update list of status logs.
5331         (Context.load_build_state_json): New function.
5332         (Context.store_build_state_json): Likewise.
5333         (Context.clear_last_build_state): Likewise.
5334         (Context.update_build_state): Likewise.
5335         (CommandList.status_logs): Likewise.
5337 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5339         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5340         script being executed.
5341         (Context.get_script_text): New function.
5342         (Context.exec_self): Likewise.
5343         (Context.checkout): Re-exec script if changed by checkout process.
5345 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5347         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5348         (setpayloadsig): New declaration.
5349         * math/Versions (setpayloadsig): New libm symbol at version
5350         GLIBC_2.25.
5351         (setpayloadsigf): Likewise.
5352         (setpayloadsigl): Likewise.
5353         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5354         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5355         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5356         (setpayloadsig_test_data): New array.
5357         (setpayloadsig_test): New function.
5358         (main): Call setpayloadsig_test.
5359         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5360         setpayloadsigf and setpayloadsigl.
5361         * manual/libm-err-tab.pl: Update comment on interfaces without
5362         ulps tabulated.
5363         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5364         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5365         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5366         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5367         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5368         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5369         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5370         setpayloadsig.
5371         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5372         * sysdeps/nacl/libm.abilist: Update.
5373         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5374         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5376         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5378         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5379         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5380         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5381         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5382         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5386         Likewise.
5387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5388         Likewise.
5389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5390         Likewise.
5391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5392         Likewise.
5393         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5394         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5395         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5396         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5397         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5399         Likewise.
5400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5401         Likewise.
5402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5403         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5406         * scripts/build-many-glibcs.py: Import json module.
5407         (Context.__init__): Take replace_sources argument.  Load
5408         versions.json.
5409         (Context.load_versions_json): New function.
5410         (Context.store_json): Likewise.
5411         (Context.store_versions_json): Likewise.
5412         (Context.set_component_version): Likewise.
5413         (Context.checkout): Update versions.json.  Check for and handle
5414         changes of version.  Prefer previously explicitly specified
5415         version to default version.
5416         (Context.checkout_vcs): Return a revision identifier.
5417         (Context.git_checkout): Likewise.
5418         (Context.gcc_checkout): Likewise.
5419         (get_parser): Add --replace-sources option.
5420         (main): Pass replace_sources argument to Context call.
5422 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5424         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5425         * nptl/allocatestack.c (allocate_stack): Likewise.
5426         (__reclaim_stacks): Likewise.
5427         (setxid_signal_thread): Obtain pid through syscall.
5428         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5429         (sighandle_setxid): Likewise.
5430         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5431         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5432         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5433         Likewise.
5434         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5435         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5436         comment.
5437         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5438         * nptl/descr.h (struct pthread): Change comment about pid value.
5439         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5440         pid assert.
5441         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5442         Do not set pid value.
5443         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5444         pid cache check.
5445         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5446         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5447         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5448         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5449         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5450         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5451         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5452         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5453         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5454         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5455         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5456         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5457         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5458         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5459         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5460         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5461         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5462         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5463         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5464         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5465         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5466         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5467         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5468         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5469         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5472         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5473         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5474         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5475         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5476         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5477         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5478         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5479         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5480         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5481         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5482         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5483         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5484         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5485         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5486         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5487         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5490         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5491         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5492         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5493         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5494         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5495         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5496         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5497         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5498         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5499         struct access.
5500         (clone_test): Remove function.
5501         (do_test): Rewrite to take in consideration pid is not cached anymore.
5503 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5505         * bits/flt-eval-method.h: New file.
5506         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5507         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5508         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5509         * math/Makefile (headers): Add bits/flt-eval-method.h.
5510         * math/math.h: Include <bits/flt-eval-method.h>.
5511         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5512         [__USE_ISOC99] (double_t): Likewise.
5513         * bits/mathdef.h (float_t): Remove.
5514         (double_t): Likewise.
5515         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5516         (double_t): Likewise.
5517         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5518         (double_t): Likewise.
5519         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5520         (double_t): Likewise.
5521         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5522         (double_t): Likewise.
5523         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5524         (double_t): Likewise.
5525         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5526         (double_t): Likewise.
5527         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5528         (double_t): Likewise.
5529         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5530         (double_t): Likewise.
5531         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5532         (double_t): Likewise.
5533         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5534         (double_t): Likewise.
5535         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5536         (double_t): Likewise.
5537         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5538         (double_t): Likewise.
5539         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5540         (double_t): Likewise.
5542 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5544         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5545         instead of PIC.
5547 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5549         [BZ #20859]
5550         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5551         (-0x7fffffff) instead of 0x80000001.
5552         * math/test-fp-ilogb-constants.c: New file.
5553         * math/Makefile (tests): Add test-fp-ilogb-constants.
5555 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5557         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5558         (_init): Use it in place of hardcoded R_MIPS_JALR.
5559         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5560         (_init): Use it in place of hardcoded R_MIPS_JALR.
5561         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5562         (_init): Use it in place of hardcoded R_MIPS_JALR.
5564 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5566         [BZ #20787]
5567         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5568         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5569         (double_t): Do not define to double if [__x86_64__] when
5570         __FLT_EVAL_METHOD__ is nonzero.
5571         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5572         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5573         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5574         test-flt-eval-method-387 and test-flt-eval-method-sse.
5575         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5576         variable.
5577         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5579 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5581         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5582         use of -fno-isolate-erroneous-paths options for tilepro.
5584 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5586         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5587         structure initialization is no longer needed.
5589 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #20855]
5592         * bits/mathdef.h (float_t): Define to float.
5593         * math/test-flt-eval-method.c: New file.
5594         * math/Makefile (tests): Add test-flt-eval-method.
5595         (CFLAGS-test-flt-eval-method.c): New variable.
5597 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5599         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5600         and __fstatfs.  Make them aliases of __fstatfs64 if
5601         STATFS_IS_STATFS64 is set to non-zero.
5602         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5603         and __statfs64.
5604         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5605         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5606         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5607         for __statfs and statfs.
5608         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5609         to 0.
5610         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5611         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5612         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5613         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5614         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5615         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5618         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5619         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5620         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5621         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5623 2016-11-22  Andreas Schwab  <schwab@suse.de>
5625         * misc/mkstemp.c: Include <fcntl.h>.
5626         * misc/mkstemps.c: Likewise.
5627         * misc/mkostemp.c: Likewise.
5628         * misc/mkostemps.c: Likewise.
5630 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5632         [BZ #20847]
5633         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5634         array bounds.
5635         (__execvpe): Likewise.
5637 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5639         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5640         -fno-isolate-erroneous-paths options for tilepro.
5642 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5644         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5645         to 0 when in 32 bit mode.
5646         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5647         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5648         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5649         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5651         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5652         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5653         XSTAT_IS_XSTAT64 test.
5654         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5655         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5656         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5657         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5658         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5659         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5660         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5661         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5662         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5663         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5664         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5666 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5668         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5669         (setpayload): New declaration.
5670         * math/Versions (setpayload): New libm symbol at version
5671         GLIBC_2.25.
5672         (setpayloadf): Likewise.
5673         (setpayloadl): Likewise.
5674         * math/Makefile (libm-calls): Add s_setpayloadF.
5675         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5676         test_Ff_b1_data.
5677         (RUN_TEST_Ff_b1): New macro.
5678         (RUN_TEST_LOOP_Ff_b1): Likewise.
5679         (canonicalize_test_data): Update type.
5680         (setpayload_test_data): New array.
5681         (setpayload_test): New function.
5682         (main): Call setpayload_test.
5683         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5684         setpayloadf and setpayloadl.
5685         * manual/libm-err-tab.pl: Update comment on interfaces without
5686         ulps tabulated.
5687         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5688         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5689         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5690         Likewise.
5691         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5692         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5693         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5694         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5695         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5696         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5697         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5698         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5699         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5700         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5701         setpayload.
5702         (CFLAGS-nldbl-setpayload.c): New variable.
5703         * sysdeps/nacl/libm.abilist: Update.
5704         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5706         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5707         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5708         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5709         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5710         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5711         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5712         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5713         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5714         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5715         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5717         Likewise.
5718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5719         Likewise.
5720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5721         Likewise.
5722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5723         Likewise.
5724         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5725         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5726         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5727         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5728         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5730         Likewise.
5731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5732         Likewise.
5733         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5737 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5739         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5740         * include/unistd.h: Extend comment about __access_noerrno return
5741         semantics.
5742         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5743         (access_common): Correct typo for EACCES.
5745 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5747         * sysdeps/tile/math-tests.h: New file.
5749         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5750         (__old_set_dataplane): Rename from set_dataplane and make a
5751         compatibility symbol.
5752         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5753         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5754         sys/dataplane.h.
5756 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5758         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5759         script quote words in command output to log suitably for input to
5760         the shell.
5762 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5763             Maciej W. Rozycki  <macro@imgtec.com>
5765         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5766         `.Lno_weak_fn' label.
5767         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5768         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5770 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5771             Yury Norov  <ynorov@caviumnetworks.com>
5773         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5774         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5775         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5776         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5777         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5778         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5779         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5781         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5782         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5783         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5784         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5785         (sysdep_routines): Remove oldgetrlimit64.
5786         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5787         (sysdep_routines): Likewise.
5788         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5789         (sysdep_routines): Likewise.
5790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5791         [$(subdir) = resource] (sysdep_routines): Likewise.
5792         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5793         [$(subdir) = resource] (sysdep_routines): Likewise.
5794         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5795         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5796         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5797         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5798         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5799         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5800         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5801         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5802         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5803         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5804         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5805         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5806         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5807         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5808         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5809         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5810         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5811         setrlimit and getrlimit.
5812         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5814         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5818         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5819         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5821         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5822         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5823         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5824         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5825         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5826         (__old_getrlimit64): Add compatibility symbol.
5827         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5829 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5831         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5832         newly built gmp, mpfr and mpc.
5834         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5836 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5838         * conform/Makefile (linknamespace-libs): Rename to
5839         linknamespace-libs-thr.
5840         (linknamespace-libs-posix): New variable.
5841         (linknamespace-libs-xsi): Likewise.
5842         (linknamespace-libs-XPG3): Include libcrypt.a.
5843         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5844         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5845         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5846         (linknamespace-libs-XOPEN2K): Likewise.
5847         (linknamespace-libs-XOPEN2K8): Likewise.
5848         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5850         [BZ #20829]
5851         * stdio-common/Versions (__snprintf): Add to version
5852         GLIBC_PRIVATE.
5853         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5854         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5855         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5856         of snprintf.
5857         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5859 2016-11-16  Zack Weinberg  <zackw@panix.com>
5861         * string/string.h: Remove obsolete comment stating that
5862         strcoll_l and strxfrm_l have not yet been standardized.
5864 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5866         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5867         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5868         __access_noerrno.
5869         * io/access.c (__access_noerrno): New function.
5870         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5871         (hurd_fail_seterrno): Likewise.
5872         (access_common): Likewise.
5873         (__access_noerrno): Likewise.
5874         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5875         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5876         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5877         macro.
5879 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5881         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5882         Only declare fpregs if [__SH_FPU_ANY__].
5884 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5886         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5887         Make code unconditional.
5888         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5890 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5892         * manual/sysinfo.texi (S_APPEND): Delete.
5893         (S_IMMUTABLE): Likewise.
5895 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5896             Magnus Granberg  <zorry@gentoo.org>
5897             Mike Frysinger  <vapier@gentoo.org>
5899         [BZ #20662]
5900         * configure.ac (libc_cv_predef_stack_protector): Also check for
5901         __stack_chk_fail_local symbols.
5902         * configure: Regenerated.
5904 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5906         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5907         (libc_hidden_def): Remove redefinition.
5908         (__sigsetjmp): Add hidden definition.
5909         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5910         (libc_hidden_def): Remove redefinition.
5911         (__sigsetjmp): Add hidden definition.
5913 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5915         * scripts/build-many-glibcs.py (os.path): Do not import.
5916         (Context): Inherit explicitly from object.  Remove blank line
5917         between class and docstring.
5918         (Config): Likewise.
5919         (Glibc): Likewise.
5920         (Command): Likewise.
5921         (CommandList): Likewise.
5922         (Context.write_files): Store chmod mode in a variable.
5924         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5925         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5926         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5928 2016-11-14  Zack Weinberg  <zackw@panix.com>
5930         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5931         creating or re-creating it.
5933         * string/bits/string2.h: Fix typo in comment.
5935 2016-11-14  Zack Weinberg  <zackw@panix.com>
5937         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5938         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5939         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5940         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5941         of redirected function names.
5943         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5944         as well.  Document that MESSAGE must be a single string literal.
5946 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5948         * scripts/build-many-glibcs.py: New file.
5950         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5951         (do_test): Disable -Wmaybe-uninitialized around uses of
5952         except_mask.
5954         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5956 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5958         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5959         (atomic_store_release): Provide tilepro-specific implementations.
5961 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5963         * math/math.h (__MATH_TG): New macro.
5964         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5965         [__USE_ISOC99] (signbit): Likewise.
5966         [__USE_ISOC99] (isfinite): Likewise.
5967         [__USE_ISOC99] (isnan): Likewise.
5968         [__USE_ISOC99] (isinf): Likewise.
5969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5972         __MATH_TG and __MATH_EVAL_FMT2.
5973         * sysdeps/generic/math_private.h (fabs_tg): Define using
5974         __MATH_TG.
5975         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5976         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5977         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5978         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5979         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5980         macro.
5981         (__iscanonical): Likewise.
5982         (iscanonical): Define using __MATH_TG.
5984 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5986         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5987         guards.
5989         * sysdeps/unix/sysv/linux/access.c: New file.
5990         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5992 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5994         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5995         and __WORDSIZE32_PTRDIFF_LONG.
5997 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5999         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6001 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6003         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6004         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6005         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6006         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6007         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6009         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6010         * sysdeps/unix/sysv/linux/truncate.c: New file.
6011         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6012         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6013         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6014         Remove.
6015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6016         Likewise.
6018         * posix/tst-truncate-common.c: New file.
6019         * posix/tst-truncate.c: Use tst-truncate-common.c.
6020         * posix/tst-truncate64.c: Likewise and add LFS tests.
6021         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6022         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6023         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6024         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6025         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6027         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6028         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6029         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6030         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6031         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6032         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6033         Remove.
6034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6035         Likewise.
6037 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6039         [BZ #20790]
6040         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6041         to MAXLINESIZE.
6042         * sunrpc/bug20790.x: New file.
6043         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6044         variable.
6045         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6046         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6048         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6050         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6052         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6053         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6054         calloc, realloc, free, memalign and __libc_memalign rather than
6055         making them optional.
6057         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6058         for libc.so.
6060 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6062         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6063         ptw-lseek64.
6064         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6065         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6066         Likewise.
6067         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6068         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6069         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6070         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6071         * sysdeps/unix/sysv/linux/lseek.c: New file.
6072         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6073         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6074         __libc_lseek64 from auto-generation.
6075         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6076         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6078 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6080         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6081         * nptl/tst-cleanup1.c (do_test): Likewise.
6082         * nptl/tst-cleanup3.c (do_test): Likewise.
6083         * nptl/tst-key1.c (do_test): Likewise.
6084         * nptl/tst-key2.c (tf, do_test): Likewise.
6085         * nptl/tst-key3.c (tf, do_test): Likewise.
6086         * nptl/tst-stdio1.c (do_test): Likewise.
6087         * nptl/tst-stdio2.c (do_test): Likewise.
6089         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6090         * nptl/tst-kill6.c (handler): Likewise.
6091         * nptl/tst-tls2.c (CB): Likewise.
6092         * nptl/tst-tls3.c (CB): Likewise.
6094 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6096         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6098 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6099             Steve Ellcey  <sellcey@caviumnetworks.com>
6101         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6102           __ASSUME_ST_INO_64_BIT as 0
6103         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6104         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6105           over the code where __ASSUME_ST_INO_64_BIT is used.
6106         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6107         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6108         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6110 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6112         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6113         Document ABI exposure of the __kind offset.
6114         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6115         Mention reason for the __kind offset exposure in the ABI.
6116         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6117         Likewise.
6118         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6119         Likewise.
6120         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6121         Likewise.
6122         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6123         (struct __pthread_mutex_s): Likewise.
6124         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6125         Likewise.
6126         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6127         Likewise.
6128         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6129         Likewise.
6130         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6131         Likewise.
6132         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6133         Likewise.
6134         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6135         Likewise.
6136         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6137         (struct __pthread_mutex_s): Likewise.
6138         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6139         (struct __pthread_mutex_s): Likewise.
6140         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6141         Likewise.
6143 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6145         * test-skeleton.c: Document do_test usage.
6147 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6149         * iconv/gconv.h (__gconv_info): Define __data element using a
6150         zero-length array.
6152 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6154         * math/test-tgmath2.c: Split up test function.
6156 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6158         * Rules (tests-expected): New variable, depending on
6159         $(run-built-tests).
6160         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6161         $(tests).
6163         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6164         $(tests-unsupported).
6166 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6168         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6169         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6171 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6173         [BZ #20768]
6174         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6175         __fegetenv instead of fegetenv.
6177         [BZ #14139]
6178         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6179         (find_files): Obtain platform name from libm-test-ulps-name and
6180         store in %pplatforms.
6181         (canonicalize_platform): Remove.
6182         (print_platforms): Use $pplatforms directly.
6183         (by_platforms): Do not allow for platforms missing from
6184         %pplatforms.
6185         * sysdeps/aarch64/libm-test-ulps-name: New file.
6186         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6187         * sysdeps/arm/libm-test-ulps-name: Likewise.
6188         * sysdeps/generic/libm-test-ulps-name: Likewise.
6189         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6190         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6191         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6192         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6193         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6194         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6195         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6196         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6197         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6198         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6199         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6200         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6201         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6202         * sysdeps/sh/libm-test-ulps-name: Likewise.
6203         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6204         * sysdeps/tile/libm-test-ulps-name: Likewise.
6205         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6207         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6209         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6210         (test-xfail-check-execstack): New variable.
6212         * sysdeps/mips/localplt.data: New file.
6214 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6215             Steve Ellcey  <sellcey@caviumnetworks.com>
6217         * bits/wordsize.h: Add documentation.
6218         * sysdeps/aarch64/bits/wordsize.h : New file
6219         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6220         definitions.
6221         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6222         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6223         with #if instead of #ifdef.
6224         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6225         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6226         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6227         Add or change defines.
6228         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6229         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6230         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6231         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6232         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6233         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6234         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6235         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6236         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6237         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6238         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6239         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6240         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6241         * sysdeps/x86/bits/wordsize.h: Likewise.
6243 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6244             Kevin Petit  <kevin.petit@arm.com>
6246         * sysdeps/aarch64/memchr.S (__memchr): New file.
6248 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6250         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6252 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6254         [BZ #19398]
6255         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6256         $(linknamespace-symlists-tests).
6258 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6260         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6262 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6263             Carlos O'Donell  <carlos@redhat.com>
6265         [Bug #20729]
6266         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6267         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6268         for -Os related change.
6270 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6272         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6274 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #19673]
6277         * manual/math.texi (Exponents and Logarithms): Correct description
6278         of clog10.
6280 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6282         [Bz #20729]
6283         * locale/weight.h: Include libc-internal.h.
6284         * locale/weightwc.h: Likewise.
6285         * nptl/nptl_dbP.h: Likewise.
6287 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6289         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6290         when it is MACH_PORT_NULL.
6292 2016-10-31  Andreas Schwab  <schwab@suse.de>
6294         [BZ #20707]
6295         * posix/glob.c (glob): Initialize pglob before checking for
6296         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6297         valid brace expression despite GLOB_BRACE.
6298         * posix/globtest.sh: Test it.
6300 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6302         [BZ #20729]
6303         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6304         Define.
6305         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6306         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6307         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6308         for seq2.back_us and seq1.back_us only for -Os compiles.
6309         * locale/weightwc.h (findix): Likewise.
6310         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6311         DB_GET_FIELD_ADDRESS only for -Os compiles.
6312         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6313         for slen only for -Os compiles.
6314         * string/strcoll_l.c (get_next_seq): Ignore
6315         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6316         for -Os compiles.
6318         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6319         * include/crypt.h: New file.
6321 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6323         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6324         from test-skeleton.c.
6325         (statclass): Replace calls to write with calls to write_message.
6327 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6329         * math/math.h
6330         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6331         New macro.
6332         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6333         Likewise.
6334         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6335         Likewise.
6336         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6337         SNANL.
6338         * math/test-double.h (snan_value_MACRO): New macro.
6339         * math/test-float.h (snan_value_MACRO): Likewise.
6340         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6341         * math/libm-test.inc (issignaling_test_data): Add tests of
6342         snan_value_MACRO.
6344 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6346         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6347         behavior when eliding a lock not held by the current thread.
6348         * sysdeps/powerpc/nptl/elide.h: Likewise.
6350 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6352         [BZ #20728]
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6354         branch to _exit() by a function call.
6356 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6358         * malloc/malloc.c: Update chunk layout comments.
6359         (chunk_main_arena): Update comment.
6361 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6363         * crypt/sha256.c, crypt/sha256-block.c,
6364         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6365         sha256_process_block to __sha256_process_block.
6366         * crypt/sha512.c, crypt/sha512-block.c,
6367         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6368         sha512_process_block to __sha512_process_block.
6370 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6372         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6374         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6376 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6378         [BZ #20019]
6379         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6380         definition in unrelocated shared library.
6381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6383 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6385         [BZ #20729]
6386         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6387         * sysdeps/unix/sysv/linux/i386/Makefile
6388         (uses-6-syscall-arguments): Define.
6389         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6390         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6391         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6392         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6393         Likewise.
6394         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6395         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6396         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6397         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6398         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6399         (CFLAGS-fallocate64.os): Likewise.
6400         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6401         (CFLAGS-pthread_rwlock_timedrdlock.os)
6402         (CFLAGS-pthread_rwlock_timedwrlock.o)
6403         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6404         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6405         (CFLAGS-sem_timedwait.os): Likewise.
6407 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6409         * elf/tst-linkall-static.c: New file.
6410         * elf/Makefile (tests-static): Add tst-linkall-static.
6411         (tst-linkall-static): Link against static libraries.
6413 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6415         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6416         mmaped chunks.
6418 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6420         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6421         members to mchunk_prev_size, mchunk_size.
6422         (chunk_main_arena): Reverse sense and rename from
6423         chunk_non_main_arena.
6424         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6425         mchunk_size instead of size.
6426         (set_non_main_arena): Define.
6427         (chunksize): Use chunksize_nomask instead of direct member access.
6428         (chunksize_nomask): Define.
6429         (next_chunk): Use chunksize instead of direct member access.
6430         (prev_size, set_prev_size): Define.
6431         (prev_chunk): Use prev_size instead of direct member access.
6432         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6433         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6434         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6435         (mchunk_prev_size, mchunk_size): Poison tokens.
6436         (unlink): Use chunksize_nomask, prev_size accessors.
6437         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6438         (do_check_free_chunk): Use prev_size accessor.
6439         (sysmalloc): Use set_prev_size, set_head accessors.
6440         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6441         (__libc_free): Use chunksize_nomask accessor.
6442         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6443         chunk_main_arena accessors.
6444         (_int_free): Use chunksize_nomask, prev_size accessors.
6445         (malloc_consolidate): Use chunksize, prev_size accessors.
6446         (_int_realloc): Use chunksize_nomask accessor.
6447         (_int_memalign): Use set_prev_size accessor.
6448         (__malloc_info): Use chunksize_nomask accessor.
6449         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6450         accessors.
6451         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6452         (heap_trim): Use chunksize_nomask, prev_size accessors.
6454 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #19380]
6457         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6458         for inexact results.
6459         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6460         of inexact result where mpfr_subnormalize is the only inexact
6461         step.
6462         * stdlib/tst-strtod-round-data.h: Regenerated.
6463         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6464         Define to 0.
6465         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6467 2016-10-27  David S. Miller  <davem@davemloft.net>
6469         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6471 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6473         * malloc/malloc.c (do_set_mallopt_check): New function.
6474         (do_set_mmap_threshold): Likewise.
6475         (do_set_mmaps_max): Likewise.
6476         (do_set_top_pad): Likewise.
6477         (do_set_perturb_byte): Likewise.
6478         (do_set_trim_threshold): Likewise.
6479         (do_set_arena_max): Likewise.
6480         (do_set_arena_test): Likewise.
6481         (__libc_mallopt): Use them.
6483 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6485         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6486         (canonicalize): New declaration.
6487         * math/Versions (canonicalize): New libm symbol at version
6488         GLIBC_2.25.
6489         (canonicalizef): Likewise.
6490         (canonicalizel): Likewise.
6491         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6492         * math/s_canonicalize_template.c: New file.
6493         * math/libm-test.inc: Update comment on functions tested and
6494         testing of NaN payloads.
6495         (TEST_NAN_PAYLOAD): New macro.
6496         (NO_TEST_INLINE): Update value.
6497         (XFAIL_TEST): Likewise.
6498         (ERRNO_UNCHANGED): Likewise.
6499         (ERRNO_EDOM): Likewise.
6500         (ERRNO_ERANGE): Likewise.
6501         (IGNORE_RESULT): Likewise.
6502         (NON_FINITE): Likewise.
6503         (TEST_SNAN): Likewise.
6504         (NO_TEST_MATHVEC): Likewise.
6505         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6506         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6507         (struct test_Ffp_b1_data): New type.
6508         (RUN_TEST_Ffp_b1): New macro.
6509         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6510         (canonicalize_test_data): New array.
6511         (canonicalize_test): New function.
6512         (main): Call canonicalize_test.
6513         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6514         canonicalizef and canonicalizel.
6515         * manual/libm-err-tab.pl: Update comment on interfaces without
6516         ulps tabulated.
6517         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6518         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6519         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6520         canonicalize.
6521         (CFLAGS-nldbl-canonicalize.c): New variable.
6522         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6523         to ...
6524         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6525         ... here.
6526         (do_test): Also test canonicalizel.
6527         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6528         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6529         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6530         file.
6531         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6532         Use libm_hidden_def.
6533         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6534         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6535         (do_test): Also test canonicalizel.
6536         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6537         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6538         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6539         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6540         libm_hidden_def.
6541         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6542         macro.
6543         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6544         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6545         * sysdeps/nacl/libm.abilist: Update.
6546         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6549         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6550         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6551         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6552         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6559         Likewise.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6567         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6568         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6569         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6570         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6572         Likewise.
6573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6574         Likewise.
6575         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6579         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6580         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6581         getpayload.
6582         (CFLAGS-nldbl-getpayload.c): New variable.
6584 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6586         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6587         integer from the format string.
6589 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6591         [BZ #19473]
6592         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6593         declarations.
6594         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6595         weak aliases.
6596         * malloc/hooks.c (__malloc_get_state): Remove definition.
6597         (malloc_get_state): New stub implementation as
6598         compatibility symbol.
6599         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6600         compat symbol.
6601         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6602         malloc_set_state.
6603         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6605 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6607         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6608         (names): Turn into concatenation of strings.
6609         (gconv_init): Adapt iteration over names.
6611 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6613         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6614         make const.
6615         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6616         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6617         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6618         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6619         character in sbconv.
6620         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6621         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6622         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6624 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6626         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6628         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6629         (M_TRIM_THRESHOLD): Likewise.
6631         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6632         (M_ARENA_MAX): Likewise.
6633         * malloc/malloc.c: Remove obsolete comment.
6635         * manual/memory.texi: Add environment variable alternatives to
6636         setting mallopt parameters.
6638 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6640         * include/atomic.h
6641         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6642         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6644 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6646         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6647         * stdlib/tst-strfrom.h: New file.
6648         * stdlib/tst-strfrom.c: New file.
6649         * stdlib/tst-strfrom-locale.c: New file.
6651         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6652         * stdlib/bug-strtod2.c: Likewise.
6653         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6654         * stdlib/tst-strtod6.c: Likewise.
6655         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6657 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6659         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6660         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6661         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6662         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6663         * stdlib/stdlib.h (strfromd): New declaration.
6664         (strfromf): Likewise.
6665         (strfroml): Likewise.
6666         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6667         strfrom.
6668         * stdlib/strfromd.c: New file.
6669         * stdlib/strfromf.c: Likewise.
6670         * stdlib/strfroml.c: Likewise.
6671         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6672         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6673         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6674         * sysdeps/arm/nacl/libc.abilist: Update.
6675         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6676         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6677         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6678         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6679         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6680         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6681         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6682         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6683         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6685         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6687         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6688         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6704 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6706         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6707         instead of cmpli.
6708         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6709         instead of cmpli.
6711 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6713         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6714         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6715         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6716         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6717         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6718         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6720 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6722         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6723         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6724         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6725         SYSCALL_LL64_PRW.
6726         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6727         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6728         __ASSUME_PRW_DUMMY_ARG.
6729         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6730         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6731         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6732         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6733         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6734         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6736 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6738         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6740 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6742         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6743         "C++", to override a potential extern "C" directive around the
6744         header file inclusion.
6746 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6748         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6750 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6752         * sysdeps/powerpc/fpu/fenv_private.h:
6753         (_FPU_MASK_ALL): Rename to...
6754         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6755         XE FPSCR bits.
6757         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6759         (_FPU_MASK_ROUNDING): Rename to...
6760         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6761         NI bits.
6763         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6764         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6765         bits and rounding bits.
6767         (__libc_feholdbits_ppc): New inline function to mask, set,
6768         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6769         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6770         (libc_feholdexcept_setround_ppc): Likewise.
6772         (__libc_femergeenv_ppc): New function to dynamically mask both
6773         old and new FP environments and merge.
6774         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6775         (libc_feresetround_ppc): Likewise.
6776         (libc_feupdateenv_test_ppc): Likewise.
6777         (libc_feupdateenv_ppc): Likewise.
6779         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6780         of ISA RN bits, and update macro names.
6781         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6782         effectively the same as the previously mentioned function.
6784         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6785         usage with fe_resetround_ppc.
6787         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6788         to be used.
6789         (libc_feholdexcept_setround_ctxf): Likewise.
6790         (libc_feholdexcept_setround_ctxl): Likewise.
6792 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6794         [BZ #20715]
6795         * math/math.h [__cplusplus] (iszero): Define as function template.
6796         * math/Makefile [CXX] (tests): Add test-math-iszero.
6797         (CFLAGS-test-math-iszero.cc): Set.
6798         * math/test-math-iszero.cc: New file.
6800 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6802         [BZ #20660]
6803         * sysdeps/arm/e_sqrt.c: New file.
6804         * sysdeps/arm/e_sqrtf.c: Likewise.
6806 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6808         [BZ #20718]
6809         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6810         not use floating-point comparisons to test sign.
6811         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6812         Likewise.
6814         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6815         (getpayload): New declaration.
6816         * math/Versions (getpayload): New libm symbol at version
6817         GLIBC_2.25.
6818         (getpayloadf): Likewise.
6819         (getpayloadl): Likewise.
6820         * math/Makefile (libm-calls): Add s_getpayloadF.
6821         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6822         (struct test_f_f_data): Add comment.
6823         (RUN_TEST_fp_f): New macro.
6824         (RUN_TEST_LOOP_fp_f): Likewise.
6825         (getpayload_test_data): New array.
6826         (getpayload_test): New function.
6827         (main): Call getpayload_test.
6828         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6829         descriptor.
6830         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6831         getpayloadf and getpayloadl.
6832         * manual/libm-err-tab.pl: Update comment on interfaces without
6833         ulps tabulated.
6834         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6835         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6836         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6839         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6840         * sysdeps/nacl/libm.abilist: Update.
6841         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6843         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6844         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6848         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6849         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6852         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6854         Likewise.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6856         Likewise.
6857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6858         Likewise.
6859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6860         Likewise.
6861         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6862         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6863         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6864         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6865         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6867         Likewise.
6868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6869         Likewise.
6870         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6871         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6872         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6874 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6876         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6877         tst-fallocate{64}.
6878         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6879         on syscall return.
6881 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6883         [BZ #20689]
6884         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6885         usable.
6887 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6889         * sysdeps/generic/nan-high-order-bit.h: New file.
6890         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6891         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6892         * sysdeps/hppa/math_private.h: Remove file.
6893         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6894         not define here.
6895         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6896         <nan-high-order-bit.h>.
6897         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6898         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6899         <nan-high-order-bit.h>.
6900         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6901         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6902         <nan-high-order-bit.h>.
6903         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6904         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6905         <nan-high-order-bit.h>.
6906         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6907         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6908         <nan-high-order-bit.h>.
6909         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6910         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6911         <nan-high-order-bit.h>.
6912         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6913         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6914         <nan-high-order-bit.h>.
6915         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6916         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6917         <nan-high-order-bit.h>.
6918         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6919         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6920         <nan-high-order-bit.h>.
6921         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6922         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6923         <nan-high-order-bit.h>.
6924         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6925         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6926         <nan-high-order-bit.h>.
6927         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6928         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6929         <nan-high-order-bit.h>.
6930         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6931         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6932         <nan-high-order-bit.h>.
6933         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6934         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6935         <nan-high-order-bit.h>.
6936         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6937         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6938         <nan-high-order-bit.h>.
6939         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6940         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6941         <nan-high-order-bit.h>.
6942         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6943         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6944         <nan-high-order-bit.h>.
6945         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6946         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6947         <nan-high-order-bit.h>.
6948         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6950 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6952         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6954 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6956         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6957         abort-instr.h.
6958         (EFAULT): Remove conditional define.
6959         (ENOSYS): Likewise.
6960         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6961         instead of conditional branch instructions.
6963 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6965         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6966         (totalordermag): New declaration.
6967         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6968         New macro.
6969         * math/Versions (totalordermag): New libm symbol at version
6970         GLIBC_2.25.
6971         (totalordermagf): Likewise.
6972         (totalordermagl): Likewise.
6973         * math/Makefile (libm-calls): Add s_totalordermagF.
6974         * math/libm-test.inc (totalordermag_test_data): New array.
6975         (totalordermag_test): New function.
6976         (main): Call totalordermag_test.
6977         * math/test-tgmath.c (NCALLS): Increase to 125.
6978         (F(compile_test)): Call totalordermag.
6979         (F(totalordermag)): New function.
6980         * manual/arith.texi (FP Comparison Functions): Document
6981         totalordermag, totalordermagf and totalordermagl.
6982         * manual/libm-err-tab.pl: Update comment on interfaces without
6983         ulps tabulated.
6984         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6985         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6986         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6987         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6988         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6989         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6990         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6991         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6992         totalordermag.
6993         (CFLAGS-nldbl-totalordermag.c): New variable.
6994         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6995         (do_test): Also test totalordermagl.
6996         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6997         Likewise.
6998         * sysdeps/nacl/libm.abilist: Update.
6999         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7000         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7001         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7002         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7003         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7004         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7005         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7006         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7007         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7008         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7009         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7010         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7012         Likewise.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7014         Likewise.
7015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7016         Likewise.
7017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7018         Likewise.
7019         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7020         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7021         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7022         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7023         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7025         Likewise.
7026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7027         Likewise.
7028         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7029         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7030         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7032 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7034         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7035         boolean.
7037 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7039         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7040         raising FE_INVALID with feraisexcept in case where part of
7041         argument is infinite, subtract that part of argument from itself.
7042         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7043         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7044         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7046 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7048         * math/libm-test.inc (totalorder_test_data): Add more tests.
7050 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7052         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7053         Undefine weak_alias and add a comment why mips64 require
7054         versioning.
7056 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7058         [BZ #20647]
7059         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7060         maximum CPUID level is less than 2.
7062 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7064         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7065         (totalorder): New declaration.
7066         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7067         New macro.
7068         * math/Versions (totalorder): New libm symbol at version
7069         GLIBC_2.25.
7070         (totalorderf): Likewise.
7071         (totalorderl): Likewise.
7072         * math/Makefile (libm-calls): Add s_totalorderF.
7073         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7074         string.
7075         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7076         (qnan_value_pl): Likewise.
7077         (snan_value_pl): Likewise.
7078         (qnan_value): Define using qnan_value_pl.
7079         (snan_value): Define using snan_value_pl.
7080         (struct test_ff_i_data): Add comment about which tests use this
7081         structure.
7082         (RUN_TEST_ff_b): New macro.
7083         (RUN_TEST_LOOP_ff_b): Likewise.
7084         (totalorder_test_data): New array.
7085         (totalorder_test): New function.
7086         (main): Call totalorder_test.
7087         * math/test-tgmath.c (NCALLS): Increase to 122.
7088         (F(compile_test)): Call totalorder.
7089         (F(totalorder)): New function.
7090         * manual/arith.texi (FP Comparison Functions): Document
7091         totalorder, totalorderf and totalorderl.
7092         * manual/libm-err-tab.pl: Update comment on interfaces without
7093         ulps tabulated.
7094         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7095         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7096         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7097         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7098         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7099         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7100         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7101         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7102         totalorder.
7103         (CFLAGS-nldbl-totalorder.c): New variable.
7104         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7105         file.
7106         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7107         Add test-totalorderl-ldbl-128ibm.
7108         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7109         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7110         test-totalorderl-ldbl-96.
7111         * sysdeps/nacl/libm.abilist: Update.
7112         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7113         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7114         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7115         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7116         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7117         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7118         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7119         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7120         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7121         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7122         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7123         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7125         Likewise.
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7127         Likewise.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7129         Likewise.
7130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7131         Likewise.
7132         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7133         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7134         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7138         Likewise.
7139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7142         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7143         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7145 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7147         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7148         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7149         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7150         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7151         remove ENOSYS implementation.
7152         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7153         Consolidate all Linux implementations.
7155 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7157         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7158         * resolv/herror.c (herror): Cast away const-ness.
7159         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7160         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7162 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7164         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7165         instead of M_NAN + M_NAN.
7166         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7168 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7170         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7171         unused variable 'p'.
7173 2016-10-09  Alan Modra  <amodra@gmail.com>
7174             Andreas Schwab  <schwab@linux-m68k.org>
7176         [BZ #20554]
7177         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7178         [PIC && !SHARED]: Set up PIC register for PLT call.
7180 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7182         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7183         conditional on value of [__FLT_EVAL_METHOD__].
7184         * math/test-iseqsig-excess-precision.c: New file.
7185         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7187 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7189         * math/s_iseqsig_template.c: Include math-private.h.
7191         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7192         * posix/tst-posix_fadvise.c: New file.
7193         * posix/tst-posix_fadvise64.c: Likewise.
7194         * posix/tst-posix_fadvise-common.c: Likewise.
7195         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7196         (__ASSUME_FADVISE64_64_6ARG): Define.
7197         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7198         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7199         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7200         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7201         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7202         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7203         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7204         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7205         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7206         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7207         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7208         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7213         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7214         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7215         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7216         Alias to __posix_fadvise64_l32.
7217         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7218         Add compat definition to posix_fadvise64.
7219         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7220         Add versioned definition to posix_fadvise64.
7221         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7222         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7223         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7224         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7225         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7227         * io/Makefile (tests): Add tst-posix_fallocate and
7228         tst-posix_fallocate64.
7229         * io/tst-posix_fallocate-common.c: New file.
7230         * io/tst-posix_fallocate.c: Likewise.
7231         * io/tst-posix_fallocate64.c: Likewise.
7232         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7233         file.
7234         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7235         Likewise.
7236         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7237         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7238         Likewise.
7239         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7240         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7241         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7242         SYSCALL_LL to pass both offset and len arguments.
7243         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7244         Likewise.
7245         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7246         __libc_pwrite64 alias used by posix_fallocate64.
7248         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7249         tst-fallocate64.
7250         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7251         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7252         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7253         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7254         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7255         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7256         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7257         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7258         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7259         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7260         macro on offset argument.
7261         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7262         SYSCALL_LL64 on offset argument.
7264         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7265         tst-fallocate64.
7266         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7267         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7268         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7269         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7270         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7271         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7272         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7273         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7274         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7275         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7276         macro on offset argument.
7277         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7278         SYSCALL_LL64 on offset argument.
7279         * test-skeleton.c (FAIL_RET): Add macro.
7280         (FAIL_EXIT): Likewise.
7281         (FAIL_EXIT1): Likewise.
7282         (_FAIL): Likewise.
7284 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7286         [BZ #20629]
7287         resolv: Remove RES_USEBSTRING and its implementation.
7288         * resolv/resolv.h (RES_USEBSTRING): Remove.
7289         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7290         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7291         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7292         (labellen): Remove extended label types support.
7293         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7294         * resolv/res_init.c (res_setoptions): Likewise.
7295         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7297 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7299         resolv: Remove RES_NOIP6DOTINT and its implementation.
7300         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7301         (RES_NOIP6DOTINT): Remove.
7302         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7303         handling.
7304         * resolv/res_debug.c (p_option): Likewise.
7305         * resolv/res_init.c (res_setoptions): Likewise.
7306         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7308 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7310         resolv: Deprecate unimplemented flags.
7311         * misc/sys/cdefs.h (__glibc_macro_warning1)
7312         (__glibc_macro_warning): Define.
7313         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7314         (RES_KEEPTSIG): Mark as deprecated.
7315         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7316         RES_NOCHECKNAME, RES_KEEPTSIG.
7317         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7319 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7321         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7322         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7323         Use strong_alias to create symbols for glibc verison 2.19.
7325 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7327         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7329 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7331         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7333 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7335         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7337 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7339         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7340         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7341         in header for using it as type for ifunc function because __GI_* symbols
7342         for ppc32 do not target the ifunc symbols.
7343         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7345 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7347         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7348         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7349         libc_ifunc_hidden_def.
7350         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7351         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7352         Redirect ifunced function in header for using it as type of ifunc'ed
7353         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7354         function for __GI_* symbol.
7355         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7356         * include/libc-symbols.h
7357         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7359 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7361         [BZ #20478]
7362         * sysdeps/s390/multiarch/ifunc-resolve.h
7363         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7364         to create ifunc symbols.
7365         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7366         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7367         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7368         for using it as type for ifunc function.
7369         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7370         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7371         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7372         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7373         * sysdeps/s390/multiarch/strcat.c: Likewise.
7374         * sysdeps/s390/multiarch/strchr.c: Likewise.
7375         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7376         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7377         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7378         * sysdeps/s390/multiarch/strlen.c: Likewise.
7379         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7380         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7381         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7382         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7383         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7384         * sysdeps/s390/multiarch/strspn.c: Likewise.
7385         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7386         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7387         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7388         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7389         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7390         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7391         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7392         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7393         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7394         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7395         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7396         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7398 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7400         * include/libc-symbols.h (__ifunc_resolver):
7401         New macro is used by __ifunc* macros.
7402         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7403         depending on HAVE_GCC_IFUNC.
7404         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7405         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7407         Redirect ifunced function in header for using as type for ifunc function.
7408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7412         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7414         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7415         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7416         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7417         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7418         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7419         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7421         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7427         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7428         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7429         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7430         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7431         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7432         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7433         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7434         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7435         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7436         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7437         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7438         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7439         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7440         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7442         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7443         instead of libc_ifunc() macro.
7444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7447 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7449         * config.h.in (HAVE_GCC_IFUNC): New undef.
7450         * configure.ac: Add check if gcc supports attribute ifunc feature.
7451         * configure: Regenerated.
7452         * manual/install.texi: Add recommendation for gcc with
7453         indirect-function support.
7454         * INSTALL: Regenerated.
7456 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7458         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7459         macro.
7460         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7461         (__iseqsig): New declaration.
7462         * math/s_iseqsig_template.c: New file.
7463         * math/Versions (__iseqsigf): New libm symbol at version
7464         GLIBC_2.25.
7465         (__iseqsig): Likewise.
7466         (__iseqsigl): Likewise.
7467         * math/libm-test.inc (iseqsig_test_data): New array.
7468         (iseqsig_test): New function.
7469         (main): Call iseqsig_test.
7470         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7471         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7472         * manual/libm-err-tab.pl: Update comment on interfaces without
7473         ulps tabulated.
7474         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7475         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7476         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7477         * sysdeps/nacl/libm.abilist: Update.
7478         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7479         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7480         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7481         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7483         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7484         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7485         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7486         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7487         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7488         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7489         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7491         Likewise.
7492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7493         Likewise.
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7495         Likewise.
7496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7497         Likewise.
7498         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7499         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7500         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7501         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7502         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7504         Likewise.
7505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7506         Likewise.
7507         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7508         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7509         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7511 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7513         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7514         do_sincos_2, sloww, sloww1): Update comments.
7516         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7517         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7519         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7520         K boolean and rename it.
7521         (__sin): Adjust.
7522         (__cos): Adjust.
7524 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7525             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7527         * manual/nss.texi: Fix typos in the manual.
7529 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7531         * manual/contrib.texi: Fix typos in the manual.
7533         * manual/maint.texi: Fix typos in the manual.
7535         * manual/install.texi: Fix typos in the manual.
7536         * INSTALL: Regenerated.
7538         * manual/lang.texi: Fix typos in the manual.
7540         * manual/probes.texi: Fix typos in the manual.
7542         * manual/threads.texi: Fix typos in the manual.
7544         * manual/debug.texi: Fix typos in the manual.
7546         * manual/crypt.texi: Fix typos in the manual.
7548         * manual/conf.texi: Fix typos in the manual.
7550         * manual/sysinfo.texi: Fix typos in the manual.
7552         * manual/users.texi: Fix typos in the manual.
7554         * manual/job.texi: Fix typos in the manual.
7556         * manual/process.texi: Fix typos in the manual.
7558         * manual/argp.texi: Fix typos in the manual.
7559         * manual/getopt.texi: Likewise.
7560         * manual/startup.texi: Likewise.
7562         * manual/signal.texi: Fix typos in the manual.
7564         * manual/setjmp.texi: Fix typos in the manual.
7566         * manual/resource.texi: Fix typos in the manual.
7568         * manual/time.texi: Fix typos in the manual.
7570         * manual/arith.texi: Fix typos in the manual.
7572         * manual/math.texi: Fix typos in the manual.
7574         * manual/syslog.texi: Fix typos in the manual.
7576         * manual/terminal.texi: Fix typos in the manual.
7578         * manual/socket.texi: Fix typos in the manual.
7580         * manual/filesys.texi: Fix typos in the manual.
7582         * manual/llio.texi: Fix typos in the manual.
7584         * manual/stdio.text: Fix typos in the manual.
7586 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7588         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7589         instead of K1.
7591         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7592         SHIFT_QUADRANT and make it bool.
7593         (do_sincos_2): Likewise.
7594         (sloww): Likewise.
7595         (sloww1): Likewise.
7596         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7597         (__cos): Likewise.
7599 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7601         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7603 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7605         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7606         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7607         0x7fffffffL].
7608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7610 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7612         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7613         inline by __inline__.
7614         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7615         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7616         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7617         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7618         sigset_t from signal.h.
7619         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7620         which is already required.
7622 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7624         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7626 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7628         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7629         (struct tcp_repair_window): New type.
7631 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7633         * libio/tst-memstream3.c: Include string.h.
7635 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7637         [BZ #18241]
7638         [BZ #20181]
7639         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7640         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7641         write position is at the end the buffer.
7642         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7643         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7644         (_IO_str_seekoff): Set correct offset from negative displacement and
7645         set EINVAL for invalid ones.
7646         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7647         buffer length.
7648         (_IO_wstr_switch_to_get_mode): New function.
7649         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7650         set EINVAL for invalid ones.
7651         * libio/tst-memstream3.c: New file.
7652         * libio/tst-wmemstream3.c: Likewise.
7653         * manual/examples/memstrm.c: Remove warning when priting size_t.
7655 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7657         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7658         macro to use __builtin_fma.
7659         * sysdeps/x86_64/fpu/dla.h: Remove file.
7661         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7662         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7663         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7665 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7667         [BZ #20292]
7668         * elf/Makefile (routines): Add dl-addr-obj.
7669         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7670         tst-_dl_addr_inside_object.
7671         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7672         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7673         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7674         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7675         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7676         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7677         * elf/dl-open.c: Likewise.
7678         * elf/dl-addr-obj.c: New file.
7679         * elf/tst-_dl_addr_inside_object.c: New file.
7681 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7683         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7684         <bits/iscanonical.h>.
7685         * bits/iscanonical.h: New file.
7686         * math/s_iscanonicall.c: Likewise.
7687         * math/Versions (__iscanonicall): New libm symbol at version
7688         GLIBC_2.25.
7689         * math/libm-test.inc (iscanonical_test_data): New array.
7690         (iscanonical_test): New function.
7691         (main): Call iscanonical_test.
7692         * math/Makefile (headers): Add bits/iscanonical.h.
7693         (type-ldouble-routines): Add s_iscanonicall.
7694         * manual/arith.texi (Floating Point Classes): Document
7695         iscanonical.
7696         * manual/libm-err-tab.pl: Update comment on interfaces without
7697         ulps tabulated.
7698         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7699         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7700         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7701         Likewise.
7702         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7703         test-iscanonical-ldbl-128ibm.
7704         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7705         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7706         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7707         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7708         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7709         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7710         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7712         Likewise.
7713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7714         Likewise.
7715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7716         Likewise.
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7718         Likewise.
7719         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7720         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7722 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7724         * string/bits/string3.h: Remove C++ style comments.
7726 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7728         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7729         instead of ternary condition.
7730         (do_sincos_2): Likewise.
7731         (__sin): Likewise.
7732         (__cos): Likewise.
7733         (slow): Likewise.
7734         (sloww): Likewise.
7735         (sloww1): Likewise.
7736         (bsloww): Likewise.
7737         (bsloww1): Likewise.
7739         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7740         instead of ternary condition.
7741         (do_sin_slow): Likewise.
7742         (do_sincos_1): Likewise.
7743         (do_sincos_2): Likewise.
7744         (__cos): Likewise.
7745         (sloww): Likewise.
7746         (sloww1): Likewise.
7747         (sloww2): Likewise.
7748         (bsloww): Likewise.
7749         (bsloww1): Likewise.
7750         (bsloww2): Likewise.
7752         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7753         check from here...
7754         (slow2): ... and here...
7755         (__sin): ... to here.
7757 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7759         * math/math.h
7760         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7761         Cast argument to its own type.
7762         * math/test-iszero-excess-precision.c: New file.
7763         * math/Makefile (tests): Add test-iszero-excess-precision.
7764         (CFLAGS-test-iszero-excess-precision.c): New variable.
7766 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7768         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7769         field, add err field.
7770         (__spawni_child): Report error through err member instead of pipe.
7771         (__spawnix): Likewise.
7773 2016-09-28  Zack Weinberg  <zackw@panix.com>
7775         * scripts/check-installed-headers.sh: Generalize treatment of
7776         sys/elf.h to all target architectures.
7778         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7779         deleted typedef ucontext_t.
7781 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7783         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7784         (__INTERNAL_SYSCALL1): Likewise.
7785         (__INTERNAL_SYSCALL2): Likewise.
7786         (__INTERNAL_SYSCALL3): Likewise.
7787         (__INTERNAL_SYSCALL4): Likewise.
7788         (__INTERNAL_SYSCALL5): Likewise.
7789         (__INTERNAL_SYSCALL6): Likewise.
7790         (__INTERNAL_SYSCALL7): Likewise.
7791         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7792         (__INTERNAL_SYSCALL_NARGS): Likewise.
7793         (__INTERNAL_SYSCALL_DISP): Likewise.
7794         (INTERNAL_SYSCALL_CALL): Likewise.
7795         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7796         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7797         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7798         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7799         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7800         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7801         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7802         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7803         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7804         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7805         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7806         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7807         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7809 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7811         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7812         macro.
7813         * math/libm-test.inc (iszero_test_data): New array.
7814         (iszero_test): New function.
7815         (main): Call iszero_test.
7816         * manual/arith.texi (Floating Point Classes): Document iszero.
7817         * manual/libm-err-tab.pl: Update comment on interfaces without
7818         ulps tabulated.
7820 2016-09-23  Zack Weinberg  <zackw@panix.com>
7822         * scripts/check-installed-headers.sh: New script.
7823         * Rules: In each directory that defines header files to be installed,
7824         run check-installed-headers.sh on them as a special test.
7825         * Makefile: Likewise for the headers installed at top level.
7827         * include/aliases.h, include/alloca.h, include/argz.h
7828         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7829         * include/elf.h, include/envz.h, include/err.h
7830         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7831         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7832         * include/link.h, include/malloc.h, include/mcheck.h
7833         * include/mntent.h, include/netinet/ether.h
7834         * include/nss.h, include/obstack.h, include/printf.h
7835         * include/pty.h, include/resolv.h, include/rpc/auth.h
7836         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7837         * include/rpc/clnt.h, include/rpc/des_crypt.h
7838         * include/rpc/key_prot.h, include/rpc/netdb.h
7839         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7840         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7841         * include/rpc/rpc_msg.h, include/rpc/svc.h
7842         * include/rpc/svc_auth.h, include/rpc/xdr.h
7843         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7844         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7845         * include/rpcsvc/ypupd.h, include/shadow.h
7846         * include/stdio_ext.h, include/sys/epoll.h
7847         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7848         * include/sys/prctl.h, include/sys/profil.h
7849         * include/sys/statfs.h, include/sys/sysctl.h
7850         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7851         * sysdeps/arm/nacl/include/bits/setjmp.h
7852         * sysdeps/mips/include/sys/asm.h
7853         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7854         * sysdeps/unix/sysv/linux/include/sys/timex.h
7855         * sysdeps/x86/fpu/include/bits/fenv.h:
7856         Add #ifndef _ISOMAC guard around internal declarations.
7857         Add multiple-inclusion guard if not already present.
7859 2016-09-23  Zack Weinberg  <zackw@panix.com>
7861         * sysdeps/generic/sys/ucontext.h
7862         * sysdeps/arm/sys/ucontext.h
7863         * sysdeps/i386/sys/ucontext.h
7864         * sysdeps/m68k/sys/ucontext.h
7865         * sysdeps/mips/sys/ucontext.h
7866         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7867         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7868         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7869         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7870         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7871         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7872         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7873         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7874         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7875         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7876         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7877         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7878         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7879         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7880         Include both bits/sigcontext.h and bits/sigstack.h.
7881         Fix grammar error in comment, if present.
7883         * bits/sigstack.h
7884         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7885         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7886         * sysdeps/unix/sysv/linux/bits/sigstack.h
7887         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7888         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7889         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7890         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7891         * bits/sigcontext.h
7892         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7893         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7894         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7895         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7896         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7897         as well as signal.h, if this was not already allowed.  Request
7898         definition of size_t if necessary.  Minimize semantically-null
7899         differences across files.
7901 2016-09-23  Zack Weinberg  <zackw@panix.com>
7903         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7904         Remove all logic conditional on __need macros.  Move all the
7905         conditionally defined types to their own headers...
7906         * time/bits/types/clock_t.h: Define clock_t here.
7907         * time/bits/types/clockid_t.h: Define clockid_t here.
7908         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7909         * time/bits/types/struct_timespec.h: Define struct timespec here.
7910         * time/bits/types/struct_timeval.h: Define struct timeval here.
7911         * time/bits/types/struct_tm.h: Define struct tm here.
7912         * time/bits/types/time_t.h: Define time_t here.
7913         * time/bits/types/timer_t.h: Define timer_t here.
7914         * time/Makefile: Install the new headers.
7916         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7917         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7918         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7919         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7920         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7921         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7922         * sysdeps/unix/sysv/linux/bits/resource.h
7923         * sysdeps/unix/sysv/linux/bits/timex.h
7924         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7925         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7926         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7927         * sysdeps/unix/sysv/linux/sys/acct.h
7928         * sysdeps/unix/sysv/linux/sys/timerfd.h
7929         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7930         * time/sys/time.h, time/sys/timeb.h
7931         Use the new bits/types headers.
7933         * include/time.h: Remove __need logic.
7934         * include/bits/time.h
7935         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7936         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7937         * include/bits/types/struct_itimerspec.h
7938         * include/bits/types/struct_timespec.h
7939         * include/bits/types/struct_timeval.h
7940         * include/bits/types/struct_tm.h:
7941         New wrapper headers.
7943 2016-09-23  Zack Weinberg  <zackw@panix.com>
7945         * sysdeps/mach/hurd/net/if_ppp.h
7946         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7947         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7948         if __USE_MISC is defined, to ensure struct ifreq is declared.
7950         * inet/netinet/ether.h: Condition all function prototypes
7951         on __USE_MISC, to ensure struct ether_addr is declared.
7953         * socket/bits/types/struct_osockaddr.h: New header.
7954         * include/bits/types/struct_osockaddr.h: New wrapper.
7955         * socket/Makefile: Install the new header.
7956         * socket/sys/socket.h, inet/protocols/talkd.h:
7957         Refer to bits/types/struct_osockaddr.h for the definition of
7958         struct osockaddr.
7960 2016-09-23  Zack Weinberg  <zackw@panix.com>
7962         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7963         * inet/protocols/routed.h, inet/protocols/talkd.h
7964         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7965         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7966         * sysdeps/generic/netinet/if_ether.h
7967         * sysdeps/generic/netinet/in_systm.h
7968         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7969         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7970         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7971         * sysdeps/mach/hurd/net/if_arp.h
7972         * sysdeps/mach/hurd/net/if_ppp.h
7973         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7974         * sysdeps/unix/sysv/linux/bits/in.h
7975         * sysdeps/unix/sysv/linux/net/ethernet.h
7976         * sysdeps/unix/sysv/linux/net/if_arp.h
7977         * sysdeps/unix/sysv/linux/net/if_ppp.h
7978         * sysdeps/unix/sysv/linux/net/if_shaper.h
7979         * sysdeps/unix/sysv/linux/net/route.h
7980         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7981         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7982         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7983         * sysdeps/unix/sysv/linux/netipx/ipx.h
7984         * sysdeps/unix/sysv/linux/sys/acct.h
7985         * include/arpa/nameser.h, include/resolv.h:
7986         Change all uses of u_char to unsigned char,
7987         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7988         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7989         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7990         and u_int64_t and u_quad_t to uint64_t.
7992         * mach/sys/reboot.h: Remove two casts of integer literals
7993         to the types they already have.
7995         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7996         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7997         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7998         from referring to 'unsigned char' to 'uint8_t' for consistency with
7999         the macro definition below.
8001         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8002         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8003         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8004         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8005         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8006         * sysdeps/unix/sysv/linux/sys/acct.h
8007         * include/arpa/nameser.h, include/resolv.h:
8008         Fix indentation disrupted by mechanical edits.
8010         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8011         * sysdeps/generic/netinet/in_systm.h
8012         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8013         * sysdeps/gnu/netinet/udp.h
8014         * sysdeps/unix/sysv/linux/net/ethernet.h
8015         * sysdeps/unix/sysv/linux/net/if_arp.h
8016         * sysdeps/unix/sysv/linux/net/if_ppp.h
8017         * sysdeps/unix/sysv/linux/net/if_shaper.h
8018         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8019         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8020         * sysdeps/unix/sysv/linux/netipx/ipx.h
8021         * sysdeps/unix/sysv/linux/sys/acct.h
8022         Include stdint.h for uintNN_t definitions.
8023         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8025 2016-09-23  Zack Weinberg  <zackw@panix.com>
8027         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8028         * sysdeps/unix/sysv/linux/netrose/rose.h:
8029         Include sys/socket.h and netax25/ax25.h.
8031         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8032         * resolv/arpa/nameser_compat.h:
8033         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8035         * sysdeps/unix/sysv/linux/sys/quota.h:
8036         Use __caddr_t instead of caddr_t.
8037         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8038         Use __clockid_t instead of clockid_t.
8040         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8042         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8043         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8044         expanding it.
8046         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8047         Define __glibc_c99_flexarr_available to 1 when the compiler
8048         supports C99-compatible flexible array members, 0 otherwise.
8049         * sysdeps/unix/sysv/linux/bits/socket.h
8050         * sysdeps/mach/hurd/bits/socket.h
8051         * bits/socket.h: Use __glibc_c99_flexarr_available in
8052         definitions of struct cmsghdr and CMSG_DATA.
8054 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8056         * manual/nss.texi (NSS Modules Interface): Adjust function return
8057         type to enum nss_status.  Document errnop argument.  Clarify
8058         h_errnop semantics.  Fix cross-reference formatting.
8059         (NSS Module Function Internals): Mention that *errnop needs to be
8060         set on failure, but not to zero.
8062 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8064         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8065         (get_random_name): New functions.
8066         (check_wrapper_flags_mode): Use linkat to give the new file a name
8067         determined by get_random_name.
8068         (do_test): Add calls to test open64 and openat64.
8070 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8072         * test-skeleton.c: Remove #include <stdarg.h>.
8074 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8076         [BZ #19826]
8077         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8078         initialization of static TLS entries.
8079         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8080         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8082 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8084         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8085         _hurd_malloc_fork_prepare.
8086         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8087         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8088         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8089         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8090         (_hurd_fork_child_hook): Drop malloc_fork_child.
8091         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8092         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8093         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8094         after locking locks (notably hurd_dtable_lock). Call
8095         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8096         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8097         __malloc_fork_unlock_child.
8098         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8100 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8102         * soft-fp/extendhftf2.c: New.
8103         * soft-fp/fixhfti.c: Likewise.
8104         * soft-fp/fixunshfti.c: Likewise.
8105         * soft-fp/floattihf.c: Likewise.
8106         * soft-fp/floatuntihf.c: Likewise.
8107         * soft-fp/half.h: Likewise.
8108         * soft-fp/trunctfhf2.c: Likewise.
8110 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8112         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8113         macro.
8114         * math/libm-test.inc (issubnormal_test_data): New array.
8115         (issubnormal_test): New function.
8116         * manual/arith.texi (Floating Point Classes): Document
8117         issubnormal.
8118         * manual/libm-err-tab.pl: Update comment on interfaces without
8119         ulps tabulated.
8121         * sysdeps/generic/stdint.h: Define
8122         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8123         <bits/libc-header-start.h> instead of including <features.h>.
8124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8127         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8130         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8131         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8136         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8137         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8139         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8157         * manual/arith.texi (Integers): Document these macros for types
8158         specified by width properties.
8159         * manual/lang.texi (Width of Type): Document these macros for
8160         other standard typedefs.
8161         * stdlib/tst-width-stdint.c: New file.
8162         * stdlib/Makefile (tests): Add tst-width-stdint.
8164 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8166         [BZ #20016]
8167         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8168         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8169         Move ...
8170         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8171         ... here, as compatibility symbols in a new file.
8172         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8173         * resolv/res_init.c (__res_vinit): Adjust member names.
8174         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8175         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8176         (res_send_rhook): Remove.
8177         (struct __res_state): Rename qhook, rhook members.
8179 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8181         malloc: Use __libc_lock wrappers.
8182         * malloc/arena.c (list_lock, free_list_lock): Define using
8183         __libc_lock_define_initialized.
8184         (arena_lock): Adjust formatting.
8185         * malloc/malloc.c (struct malloc_state): Define mutex using
8186         __libc_lock_define.
8187         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8188         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8189         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8190         (mutex_unlock, mutex_trylock): Remove.
8191         (__pthread_initialize): Remove unused macro.
8192         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8193         (mutex_unlock, mutex_trylock): Remove.
8195 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8197         [BZ #20592]
8198         Remove RR type classification macros.
8199         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8200         (ns_t_udp_p, ns_t_xfr_p): Remove.
8202 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8204         Remove misleading version information.
8205         * resolv/arpa/nameser.h (__NAMESER): Remove.
8206         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8208 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8210         Remove the always-defined BIND_4_COMPAT macro.
8211         * resolv/arpa/nameser.h: Unconditionally include
8212         <arpa/nameser_compat.h>.
8213         (BIND_4_COMPAT): Remove.
8214         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8216 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8218         [BZ #20591]
8219         Remove obsolete DNSSEC support.
8220         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8221         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8222         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8223         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8224         (ns_cert_types): Add comment.
8225         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8226         separately.
8227         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8228         (dst_s_dns_key_id): Remove.
8229         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8230         variables.
8232 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8234         [BZ #20524]
8235         * manual/string.texi (String/Array Comparison): Clarify the
8236         strverscmp behavior.
8238 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8240         * test-skeleton.c (xasprintf): Add function.
8241         * io/tst-open-tmpfile.c: New test.
8242         * io/Makefile (tests): Add it.
8244 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8246         Avoid running $(CXX) during build to obtain header file paths.
8247         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8248         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8249         * Makerules (cstdlib, cmath): Remove variables.  Use
8250         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8251         * configure: Regenerate.
8253 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8255         * Makeconfig (all-object-suffixes): Include .op only if
8256         $(build-profile).
8258 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8260         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8261         conditionals.  Do not define PATH_MAX.
8263 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8265         * posix/Makefile (tests): Add tst-spawn3.
8266         * posix/tst-spawn3.c: New file.
8267         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8268         if it is already opened for open action.
8270         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8271         all signals when executing the clone vfork child.
8272         (SIGALL_SET): Remove macro.
8274         * nptl/Makefile (tests): Add tst-exec5.
8275         * nptl/tst-exec5.c: New file.
8276         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8277         asynchronous cancellation.
8279 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8281         * hurd/exc2signal.c: #include <hurd/signal.h>
8282         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8283         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8284         accordingly.
8285         * mach/mach_error.c (mach_error): Fix old-style function definition.
8286         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8288 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8290         * math/Makefile (libm-calls): Remove s_nanF.
8291         (gen-libm-calls): Add s_nanF.
8293         * math/s_nan.c: Refactor into ...
8294         * math/s_nan_template.c: New file.
8296         * math/s_nanf.c: Removed.
8297         * math/s_nanl.c: Removed.
8298         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8299         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8301         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8302         (LDOUBLE_nanl_libm_version): New macro.
8304         * sysdeps/generic/math-type-macros-double.h:
8305         (M_STRTO_NAN): New macro.
8306         * sysdeps/generic/math-type-macros-float.h: Likewise.
8307         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8309         * sysdeps/generic/math-type-macros.h: Document
8310         M_STRTO_NAN.
8312 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8314         * math/s_nanf.c: Remove __nanf undef.
8315         * math/s_nan.c: Remove __nan undef.
8316         * math/s_nanl.c: Remove __nanl undef.
8318         * sysdeps/generic/math_private.h (__nan): Remove macro
8319         override.
8320         (__nanf): Likewise.
8321         (__nanl): Likewise.
8323 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8325         * math/Makefile (gen-all-calls): New variable.
8326         (generated): Replace gen-libm-calls with gen-all-calls.
8327         (gen-libm-templates.stmp): Likewise.  Also, ensure
8328         the output directory exists or is created and add
8329         dependency on the Makefile.
8330         (calls): Move s_ldexpF into gen-calls.
8331         (gen-calls): New variable.
8333         * math/s_ldexpf.c: Removed.
8334         * math/s_ldexpl.c: Removed.
8335         * math/s_ldexp.c: Refactored into ...
8336         * math/s_ldexp_template.c: New file.
8338         * sysdeps/generic/math-type-macros-double.h: Remove
8339         redundant fall-through definition of declare_mgen_alias.
8340         (declare_mgen_alias_2): New macro.
8342         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8343         New macro for function aliased to two exported symbols.
8345         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8346         new template file.
8347         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8349 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8351         * Makeconfig (all-object-suffixes): Remove .og.
8352         * Makerules (elide-routines.og): Remove.
8353         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8354         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8355         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8357 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8359         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8360         .os objects.
8362 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8364         [BZ #20615]
8365         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8366         fpu directory by non-fpu.
8367         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8368         on non-fpu directory from a fpu directory.
8370 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8372         * include/limits.h: Define
8373         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8374         <bits/libc-header-start.h> instead of including <features.h>.
8375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8381         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8386         * manual/lang.texi (Width of Type): Document these macros.
8387         * stdlib/tst-width.c: New file.
8388         * stdlib/Makefile (tests): Add tst-width.
8390 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8392         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8393         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8395 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8397         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8398         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8399         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8401 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8403         [BZ #18243]
8404         * rt/Makefile (test): Add tst-shm-cancel.
8405         * rt/tst-shm-cancel.c: New file.
8406         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8408         [BZ #18243]
8409         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8410         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8411         definition.
8412         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8413         uncontended case.
8414         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8415         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8416         (tf): Fix check for uncontended case.
8417         (do_test): Likewise.
8418         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8419         (tf): Fix check for uncontended case.
8420         (do_test): Likewise.
8421         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8422         (tf): Fix check for uncontended case.
8423         (do_test): Likewise.
8424         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8425         (tf): Fix check for uncontended case.
8426         (do_test): Likewise.
8428         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8429         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8431         [BZ #15765]
8432         * nptl/Makefile (tests): Add tst-sem16.
8433         * nptl/tst-sem16.c: New file.
8434         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8436         * nptl/sem_open.c (sem_open): Init pad value to 0.
8437         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8438         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8440 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8442         [BZ #20611]
8443         * inet/Makefile (routines): Add inet6_scopeid_pton.
8444         (tests): Add tst-inet6_scopeid_pton.
8445         * inet/inet6_scopeid_pton.c: New file.
8446         * inet/net-internal.h: Likewise.
8447         * inet/tst-inet6_scopeid_pton.c: New test.
8448         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8449         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8452 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8454         Remove support for compiling wrappers with PTW.
8455         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8456         * nptl/Makefile (pthread-compat-wrappers): Define.
8457         (libpthread-routines): Use pthread-compat-wrappers.
8458         * sysdeps/unix/sysv/linux/alpha/Makefile
8459         (libpthread-routines, libpthread-shared-only-routines): Remove
8460         ptw- prefix.
8461         * sysdeps/s390/nptl/Makefile
8462         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8463         * sysdeps/ia64/nptl/Makefile
8464         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8465         * sysdeps/nacl/Makefile (libpthread-routines): Use
8466         pthread-compat-wrappers to filter the routines list instead of the
8467         ptw- prefix.
8469 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8471         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8472         with L() and remove explicit suffix, convert real literals
8473         which can be equivalentally substituted with integers, and
8474         transform -L(x) to L(-x).
8476         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8477         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8478         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8479         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8480         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8481         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8482         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8483         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8484         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8485         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8486         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8487         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8488         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8489         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8490         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8491         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8492         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8494         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8497         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8498         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8499         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8500         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8501         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8502         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8503         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8504         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8505         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8506         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8508         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8509         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8510         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8512         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8513         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8514         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8515         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8516         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8517         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8518         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8519         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8520         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8522         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8524         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8525         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8527 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8529         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8531 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8533         * malloc/Makefile (tests): Remove individual static test names
8534         and just add all of tests-static.
8536         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8538 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8540         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8541         file.
8543         * sysdeps/sparc/fpu/fegetmode.c: New file.
8544         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8546         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8547         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8549         * sysdeps/s390/fpu/fegetmode.c: New file.
8550         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8552         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8553         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8554         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8555         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8556         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8557         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8559         * sysdeps/mips/fpu/fegetmode.c: New file.
8560         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8562         * sysdeps/m68k/fpu/fegetmode.c: New file.
8563         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8565         * sysdeps/ia64/fpu/fegetmode.c: New file.
8566         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8568         * sysdeps/hppa/fpu/fegetmode.c: New file.
8569         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8571         * sysdeps/arm/fegetmode.c: New file.
8572         * sysdeps/arm/fesetmode.c: Likewise.
8574         * sysdeps/alpha/fpu/fegetmode.c: New file.
8575         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8577         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8578         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8580         * math/fegetmode.c: New file.
8581         * math/fesetmode.c: Likewise.
8582         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8583         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8584         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8585         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8586         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8588         declaration.
8589         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8590         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8591         typedef.
8592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8593         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8594         (femode_t): New typedef.
8595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8596         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8597         (femode_t): New typedef.
8598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8599         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8600         (femode_t): New typedef.
8601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8602         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8603         (femode_t): New typedef.
8604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8605         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8606         (femode_t): New typedef.
8607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8608         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8609         (femode_t): New typedef.
8610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8611         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8612         (femode_t): New typedef.
8613         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8614         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8615         (femode_t): New typedef.
8616         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8617         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8618         (femode_t): New typedef.
8619         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8620         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8621         (femode_t): New typedef.
8622         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8623         declaration.
8624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8625         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8626         (femode_t): New typedef.
8627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8628         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8629         (femode_t): New typedef.
8630         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8631         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8632         (femode_t): New typedef.
8633         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8634         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8635         (femode_t): New typedef.
8636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8637         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8638         (femode_t): New typedef.
8639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8640         * manual/arith.texi (FE_DFL_MODE): Document macro.
8641         (fegetmode): Document function.
8642         (fesetmode): Likewise.
8643         * math/Versions (fegetmode): New libm symbol at version
8644         GLIBC_2.25.
8645         (fesetmode): Likewise.
8646         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8647         (tests): Add test-femode and test-femode-traps.
8648         * math/test-femode-traps.c: New file.
8649         * math/test-femode.c: Likewise.
8650         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8651         alias for __fe_dfl_env.
8652         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8653         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8654         (__fe_dfl_mode): Likewise.
8655         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8656         version GLIBC_2.25.
8657         * sysdeps/nacl/libm.abilist: Update.
8658         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8659         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8660         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8661         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8662         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8663         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8665         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8666         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8667         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8668         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8669         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8671         Likewise.
8672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8673         Likewise.
8674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8675         Likewise.
8676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8677         Likewise.
8678         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8680         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8682         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8684         Likewise.
8685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8686         Likewise.
8687         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8688         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8689         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8691 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8693         [BZ #20495]
8694         [BZ #20508]
8695         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8696         processors, set Use_dl_runtime_resolve_slow and set
8697         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8698         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8699         New.
8700         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8701         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8702         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8703         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8704         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8705         if Use_dl_runtime_resolve_opt is set.  Use
8706         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8707         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8708         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8709         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8710         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8711         New.
8712         (_dl_runtime_resolve_opt): Likewise.
8713         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8714         defined.
8716 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8718         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8719         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8721 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8723         Convert malloc to __libc_lock.  Automated part, using this Perl
8724         s/// command:
8725           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8726             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8727         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8728         conversion.
8730 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8732         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8733         (linknamespace-symlists-tests): Likewise.
8734         (linknamespace-header-tests): Likewise.
8736 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8738         [BZ #19810]
8739         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8740         * elf/tst-noload.c: New test case.
8741         * elf/Makefile (tests): Add tst-noload.
8743 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8745         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8747         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8748         not any more.
8750         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8752 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8754         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8755         (do_cos_slow): Likewise.
8756         (do_sin): Likewise.
8757         (do_sin_slow): Likewise.
8758         (slow): Likewise.
8759         (slow1): Likewise.
8760         (slow2): Likewise.
8761         (sloww): Likewise.
8762         (sloww1): Likewise.
8763         (sloww2): Likewise.
8764         (bsloww): Likewise.
8765         (bsloww1): Likewise.
8766         (bsloww2): Likewise.
8767         (cslow2): Likewise.
8769         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8771         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8772         arguments.  Consolidate input partitioning from callers here.
8773         (do_cos_slow): Likewise.
8774         (do_sin): Likewise.
8775         (do_sin_slow): Likewise.
8776         (do_sincos_1): Remove the no longer necessary input partitioning.
8777         (do_sincos_2): Likewise.
8778         (__sin): Likewise.
8779         (__cos): Likewise.
8780         (slow1): Likewise.
8781         (slow2): Likewise.
8782         (sloww1): Likewise.
8783         (sloww2): Likewise.
8784         (bsloww1): Likewise.
8785         (bsloww2): Likewise.
8786         (cslow2): Likewise.
8788 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8790         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8791         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8792         outside of allocated array.
8794 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8796         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8797         instead of MB_CUR_MAX to avoid variable-length array.
8799 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8801         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8802         (type-double-routines): Add k_rem_pio2.
8803         (type-float-routines): Add k_rem_pio2f.
8805         * sysdeps/generic/math_private.h:
8806         (__kernel_rem_pio2l): Removed.
8808         * math/k_rem_pio2l.c: Removed.
8809         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8810         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8811         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8812         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8814 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8816         * math/Makefile (gen-libm-calls): Add s_fmin
8817         (libm-calls): Remove above.
8819         * math/s_fmin.c: Refactor into ...
8820         * math/s_fmin_template.c: New file.
8822         * math/s_fminf.c: Removed.
8823         * math/s_fminl.c: Removed.
8824         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8825         (LDOUBLE_fmin_libm_version): New macro.
8827         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8828         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8830 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8832         * math/Makefile: (gen-libm-calls): Add s_fmax.
8833         (libm-calls): Remove above.
8835         * math/s_fmax.c: Refactor into ...
8836         * math/s_fmax_template.c: New file.
8837         * math/s_fmaxf.c: Removed.
8838         * math/s_fmaxl.c: Removed.
8840         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8841         (LDOUBLE_fmaxl_libm_version): New macro.
8843         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8844         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8846         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8847         s_fmin.c to pick the aarch64 version of the file.
8848         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8849         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8851 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8853         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8854         (libm-calls): Remove above.
8856         * math/s_nextdown.c: Refactor into ...
8857         * math/s_nextdown_template.c: New file.
8858         * math/s_nextdownf.c: Removed.
8859         * math/s_nextdownl.c: Removed.
8861         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8863 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8865         * math/Makefile (gen-libm-calls): Add s_fdim.
8866         (libm-calls): Move to above.
8868         * math/s_fdim.c: Renamed and refactored into to ...
8869         * math/s_fdim_template.c: New file.
8870         * math/s_fdiml.c: Removed.
8871         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8872         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8874         * sysdeps/generic/math-type-macros-double.h:
8875         (declare_mgen_alias): Don't declare if already declared.
8876         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8877         Likewise.
8879         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8880         (declare_mgen_alias): Don't declare if already declared.
8881         (M_LIBM_NEED_COMPAT): Likewise.
8882         (declare_mgen_libm_compat): Likewise.
8883         (LDOUBLE_fdiml_libm_version): New macro.
8885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8886         Include math/s_fdim.c now that ldbl-opt version is not needed.
8887         (declare_mgen_alias): New macro to disable aliasing.
8889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8890         (declare_mgen_alias): Likewise.
8891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8892         (declare_mgen_alias): Likewise.
8893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8894         (declare_mgen_alias): Likewise.
8895         (M_LIBM_NEED_COMPAT): Likewise.
8897 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8899         [BZ #20525]
8900         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8901         Include <linux/quota.h>.
8902         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8903         and btodb.
8904         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8905         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8906         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8907         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8908         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8909         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8910         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8911         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8912         types.
8913         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8914         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8916 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8918         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8919         (gammal_positive): Fix spacing.
8920         (__ieee754_gammal_r): Likewise.
8922 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8924         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8925         (_Float128): Define as long double, always.
8926         (L): Apply long double type suffix, always.
8928         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8929         _Float128, excepting comments.
8931         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8932         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8933         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8934         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8935         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8936         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8937         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8938         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8939         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8942         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8943         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8944         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8945         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8946         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8947         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8948         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8949         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8950         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8951         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8952         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8953         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8954         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8955         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8956         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8957         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8958         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8959         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8960         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8961         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8962         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8963         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8964         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8965         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8966         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8967         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8968         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8969         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8970         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8971         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8972         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8973         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8974         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8975         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8976         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8977         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8978         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8979         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8980         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8981         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8982         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8983         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8984         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8985         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8986         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8987         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8988         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8989         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8990         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8991         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8992         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8993         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8994         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8995         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8996         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8997         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8998         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9000         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9001         _Float128, and include math_private.h.
9002         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9005         long double semantics.
9006         (_Float128): Likewise.
9007         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9008         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9009         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9010         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9012 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9014         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9015         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9016         * sysdeps/s390/configure: Regenerated.
9017         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9018         instruction for raising over-/underflow if z196 zarch is supported
9019         by default.
9020         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9022 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9024         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9025         it point to a dumb buffer for RPC to fill it.
9027 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9029         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9030         instead of if/else.
9031         (do_sin_slow): Likewise.
9032         (do_sincos_1): Use fabs instead of if/else.
9033         (do_sincos_2): Likewise.
9034         (__sin): Likewise.
9035         (__cos): Likewise.
9036         (slow2): Likewise.
9037         (sloww): Likewise.
9038         (sloww1): Likewise.  Drop argument M.
9039         (sloww2): Use fabs instead of if/else.
9040         (bsloww): Likewise.
9041         (bsloww1): Likewise.
9042         (bsloww2): Likewise.
9044         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9045         fall through comment.
9046         (do_sincos_1): Likewise.
9048         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9049         Consolidate switch cases 0 and 2.
9051 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9053         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9054         (libm-calls): Remove the above.
9056         * math/s_cexp_template.c: Update using type-generic macros.
9057         * math/s_clog10_template.c: Likewise.
9058         * math/s_cpow_template.c: Likewise.
9059         * math/s_clog_template.c: Likewise.
9060         * math/s_cproj_template.c: Likewise.
9061         * math/s_csqrt_template.c: Likewise.
9063         * math/s_cexp.c: Removed.
9064         * math/s_cexpf.c: Removed.
9065         * math/s_cexpl.c: Removed.
9066         * math/s_clog10.c: Removed.
9067         * math/s_clog10f.c: Removed.
9068         * math/s_clog10l.c: Removed.
9069         * math/s_cpow.c: Removed.
9070         * math/s_cpowf.c: Removed.
9071         * math/s_cpowl.c: Removed.
9072         * math/s_clog.c: Removed.
9073         * math/s_clogf.c: Removed.
9074         * math/s_clogl.c: Removed.
9075         * math/s_cproj.c: Removed.
9076         * math/s_cprojf.c: Removed.
9077         * math/s_cprojl.c: Removed.
9078         * math/s_csqrt.c: Removed.
9079         * math/s_csqrtf.c: Removed.
9080         * math/s_csqrtl.c: Removed.
9082         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9083         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9084         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9085         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9086         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9087         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9089         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9090         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9091         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9092         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9093         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9094         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9095         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9096         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9097         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9098         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9099         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9101         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9102         version.
9104         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9105         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9106         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9107         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9109 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9111         * s_cexp_template.c: Copy of s_cexp.c.
9112         * s_clog_template.c: Copy of s_clog.c.
9113         * s_clog10_template.c: Copy of s_clog10.c.
9114         * s_cpow_template.c: Copy of s_cpow.c.
9115         * s_cproj_template.c: Copy of s_cproj.c.
9116         * s_csqrt_template.c: Copy of s_csqrt.c.
9118 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9120         [BZ #20517]
9121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9122         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9123         exported.
9125 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9127         * math/fetestexceptflag.c: New file.
9128         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9129         Stefan Liebler.
9130         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9131         (fetestexceptflag): New function declaration.
9132         * manual/arith.texi (fetestexceptflag): Document function.
9133         * math/Versions (fetestexceptflag): New libm symbol at version
9134         GLIBC_2.25.
9135         * math/Makefile (libm-support): Add fetestexceptflag.
9136         (tests): Add test-fetestexceptflag.
9137         * math/test-fetestexceptflag.c: New file.
9138         * sysdeps/nacl/libm.abilist: Update.
9139         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9140         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9141         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9142         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9143         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9144         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9145         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9146         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9147         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9148         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9152         Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9154         Likewise.
9155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9156         Likewise.
9157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9158         Likewise.
9159         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9160         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9161         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9162         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9163         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9165         Likewise.
9166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9167         Likewise.
9168         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9169         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9170         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9172 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9174         [BZ #20432]
9175         Avoid strong references to malloc-internal symbols when linking
9176         statically, to support statically interposed mallocs.
9177         * include/libc-symbols.h (call_function_static_weak): New macro.
9178         * malloc/Makefile (tests): Add tst-interpose-nothread,
9179         tst-interpose-thread, tst-interpose-static-nothread,
9180         tst-interpose-static-thread.
9181         (tests-static): Add tst-interpose-static-nothread,
9182         tst-interpose-static-thread.
9183         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9184         tst-interpose-aux-thread.o.
9185         (test-extras): Add tst-interpose-aux-nothread,
9186         tst-interpose-aux-thread.
9187         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9188         tst-interpose-aux-nothread.o.
9189         (tst-interpose-thread, tst-interpose-static-thread): Link with
9190         tst-interpose-aux-thread.o and libthread.
9191         * malloc/tst-interpose-aux-nothread.c: New file.
9192         * malloc/tst-interpose-aux-thread.c: Likewise.
9193         * malloc/tst-interpose-aux.c: Likewise.
9194         * malloc/tst-interpose-aux.h: Likewise.
9195         * malloc/tst-interpose-nothread.c: Likewise.
9196         * malloc/tst-interpose-skeleton.c: Likewise.
9197         * malloc/tst-interpose-static-nothread.c: Likewise.
9198         * malloc/tst-interpose-static-thread.c: Likewise.
9199         * malloc/tst-interpose-thread.c: Likewise.
9200         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9201         * sysdeps/mach/hurd/fork.c (__fork): Only call
9202         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9203         __malloc_fork_unlock_child if defined.
9204         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9206 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9208         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9209         timespec C99 designated initialization.
9211 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9213         [BZ #19946]
9214         Avoid expected SIGALRM signals.
9215         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9216         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9217         (xpthread_create, xpthread_detach, xpthread_join)
9218         (delayed_exit_thread, delayed_exit): New functions.
9219         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9220         (tf): Use xpthread_cond_wait.
9221         (do_test): Likewise.  Replace alarm with delayed_exit.
9222         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9223         (do_test): Call delayed_exit.  Report failure.
9224         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9225         (do_test): Call delayed_exit.
9226         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9227         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9228         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9229         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9230         error.
9231         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9232         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9233         error.
9234         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9235         (do_test): Call delayed_exit.
9236         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9237         (do_test): Call delayed_exit.
9238         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9239         (do_test): Call delayed_exit instead of alarm.  Use
9240         xpthread_mutex_lock.
9241         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9242         (do_test): Call delayed_exit instead of alarm.  Use
9243         xpthread_mutex_lock.
9244         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9245         (do_test): Call delayed_exit instead of alarm.
9246         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9247         (do_test): Call delayed_exit instead of alarm.  Use
9248         xpthread_spin_lock.
9249         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9250         (do_test): Call delayed_exit instead of alarm.  Use
9251         xpthread_join.
9253 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9255         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9256         adjust CFA when allocating register save area on re-aligned
9257         stack.
9259 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9261         * string/tst-cmp.c: New test.
9262         * string/Makefile (tests): Add it.
9264 2016-08-25  Mark Wielaard  <mark@klomp.org>
9266         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9267         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9268         (check_tree_recurse): Use newly defined accessors.
9269         (check_tree): Likewise.
9270         (maybe_split_for_insert): Likewise.
9271         (__tfind): Likewise.
9272         (__tdelete): Likewise.
9273         (trecurse): Likewise.
9274         (tdestroy_recurse): Likewise.
9275         (__tsearch): Likewise. And add asserts for malloc alignment.
9276         (__twalk): Cast root to node in case CHECK_TREE is defined.
9278 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9280         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9282 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9284         * math/Makefile (libm-gen-calls): Add
9285         catan, catanh, ctan, ctanh.
9286         (libm-calls): Remove the above.
9288         * math/s_catan_template.c: Update using type-generic macros.
9289         * math/s_catanh_template.c: Likewise.
9290         * math/s_ctan_template.c: Likewise.
9291         * math/s_ctanh_template.c: Likewise.
9293         * math/s_catanf.c: Removed.
9294         * math/s_catan.c: Removed.
9295         * math/s_catanl.c: Removed.
9296         * math/s_catanhf.c: Removed.
9297         * math/s_catanh.c: Removed.
9298         * math/s_catanhl.c: Removed.
9299         * math/s_ctanf.c: Removed.
9300         * math/s_ctan.c: Removed.
9301         * math/s_ctanl.c: Removed.
9302         * math/s_ctanhf.c: Removed.
9303         * math/s_ctanh.c: Removed.
9304         * math/s_ctanhl.c: Removed.
9306         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9307         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9308         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9309         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9310         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9311         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9313         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9314         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9315         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9316         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9318 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9320         * s_catan_template.c: Copy of s_catan.c.
9321         * s_catanh_template.c: Copy of s_catanh.c.
9322         * s_ctan_template.c: Copy of s_ctan.c.
9323         * s_ctanh_template.c: Copy of s_ctanh.c.
9325 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9327         * math/Makefile (gen-libm-calls): Move
9328         casin, casinh, csin, csinh here.
9329         (libm-calls): Remove the above.
9331         * math/s_casin_template.c: Update using type-generic macros.
9332         * math/s_casinh_template.c: Likewise.
9333         * math/s_csin_template.c: Likewise.
9334         * math/s_csinh_template.c: Likewise.
9335         * math/k_casinh_template.c: Likewise.
9337         * math/s_casinf.c: Removed.
9338         * math/s_casin.c: Removed.
9339         * math/s_casinl.c: Removed.
9340         * math/s_casinh.c: Removed.
9341         * math/s_casinhf.c: Removed.
9342         * math/s_casinhl.c: Removed.
9343         * math/s_csin.c: Removed.
9344         * math/s_csinf.c: Removed.
9345         * math/s_csinl.c: Removed.
9346         * math/s_csinh.c: Removed.
9347         * math/s_csinhf.c: Removed.
9348         * math/s_csinhl.c: Removed.
9349         * math/k_casinh.c: Removed.
9350         * math/k_casinhf.c: Removed.
9351         * math/k_casinhl.c: Removed.
9353         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9354         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9355         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9356         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9358         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9359         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9360         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9361         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9362         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9363         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9364         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9365         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9367         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9368         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9369         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9370         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9372         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9373         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9374         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9375         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9377 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9379         * s_casin_template.c: Copy of s_casin.c.
9380         * s_casinh_template.c: Copy of s_casinh.c.
9381         * s_csin_template.c: Copy of s_csin.c.
9382         * s_csinh_template.c: Copy of s_csinh.c.
9383         * k_casinh_template.c: Copy of k_casinh.c.
9385 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9387         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9389 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9391         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9392         (mul_split) Remove, rename as mul_splitl, remove
9393         redundant float.h include, and include via mul_splitl.h
9395         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9396         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9397         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9398         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9399         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9401         * math/mul_splitl.h: New file.
9403         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9404         Move into mul_split.h, and remove redundant float.h include.
9406         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9407         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9409         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9411         * math/mul_split.h: New file.
9413 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9415         * math/Makefile (libm-gen-calls): Move
9416         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9417         (libm-calls): Remove above.
9419         * math/s_cacos_template.c: Update using type-generic macros.
9420         * math/s_cacosh_template.c: Likewise.
9421         * math/s_ccos_template.c: Likewise.
9422         * math/s_ccosh_template.c: Likewise.
9424         * math/s_cacosf.c: Removed.
9425         * math/s_cacos.c: Removed.
9426         * math/s_cacosl.c: Removed.
9427         * math/s_cacoshf.c: Removed.
9428         * math/s_cacosh.c: Removed.
9429         * math/s_cacoshl.c: Removed.
9430         * math/s_ccosf.c: Removed.
9431         * math/s_ccos.c: Removed.
9432         * math/s_ccosl.c: Removed.
9433         * math/s_ccoshf.c: Removed.
9434         * math/s_ccosh.c: Removed.
9435         * math/s_ccoshl.c: Removed.
9437         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9438         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9439         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9440         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9441         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9442         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9444         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9445         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9446         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9447         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9449         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9450         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9451         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9452         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9454 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9456         * s_cacos_template.c: Copy of s_cacos.c.
9457         * s_cacosh_template.c: Copy of s_cacosh.c.
9458         * s_ccos_template.c: Copy of s_ccos.c.
9459         * s_ccosh_template.c: Copy of s_ccosh.c.
9461 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9463         * stdlib/tst-strtod-round-skeleton.c:
9464         Refactored from tst-strtod-round.c.
9466         (L_): New macro to apply literal modifier.
9467         (FNPFX): New macro to select str or wcs prefix.
9468         (CHAR): New macro to choose wchar_t or char.
9469         (STRM): New macro to choose printf for tested character type.
9471         (STRTO): New macro to choose appropriate string -> real function.
9472         (FNPFXS): Stringitized version of FNPFX.
9473         (STR): Support for above macro.
9474         (STRX): Likewise.
9476         (TEST): Update with above macros.
9477         (test): Likewise.
9478         (GEN_ONE_TEST): Likewise.
9479         (test_in_one_mode): Likewise.
9481         * stdlib/tst-strtod-round.c: New file.
9482         * wcsmbs/tst-wcstod-round.c: New file.
9484         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9485         (tst-wcstod-round): Add libm depencency for fesetround.
9487 2016-08-19  Zack Weinberg  <zackw@panix.com>
9489         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9491 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9493         [BZ #20477]
9494         * resolv/res_hconf.c (do_init): Use atomic access.
9495         * resolv/res_hconf.h: Add comments.
9496         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9497         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9500 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9502         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9503         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9504         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9505         Likewise.
9507 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9509         [BZ #16907]
9510         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9511         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9512         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9513         (__attribute__): Remove definition.
9515 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9517         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9518         Remove unused sqrtl declaration.
9520 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9522         * math/Makefile: (gen-libm-templates.stmp): New rule.
9523         (libm-calls): Move carg conj cimag and cabs into ...
9524         (gen-libm-calls): New variable.
9525         (generated): Inform Make objects from gen-libm-calls
9526         may be generated.
9528         * sysdeps/generic/math-type-macros.h: New file.
9529         * sysdeps/generic/math-type-macros-float.h: Likewise.
9530         * sysdeps/generic/math-type-macros-double.h: Likewise.
9531         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9532         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9533         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9535         * math/cabs.c: Refactor into
9536         * math/cabs_template.c: new file.
9537         * math/cabsf.c: Removed.
9538         * math/cabsl.c: Removed.
9539         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9540         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9542         * math/carg.c: Refactor into
9543         * math/carg_template.c: new file.
9544         * math/cargf.c: Removed.
9545         * math/cargl.c: Removed.
9546         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9547         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9549         * math/conj.c: Refactor into
9550         * math/conj_template.c: new file.
9551         * math/conjf.c: Removed.
9552         * math/conjl.c: Removed.
9553         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9554         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9556         * math/cimag.c: Refactor into
9557         * math/cimag_template.c: new file.
9558         * math/cimagf.c: Removed.
9559         * math/cimagl.c: Removed.
9560         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9561         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9563         * math/cimag.c: Refactor into
9564         * math/cimag_template.c: new file.
9565         * math/cimagf.c: Removed.
9566         * math/cimagl.c: Removed.
9567         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9568         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9570 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9572         Reduce time to expected nptl/tst-once5 failure.
9573         * nptl/tst-once5.cc (TIMEOUT): Define.
9575 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9577         [BZ #20452]
9578         Avoid additional copies of objects in libc.a in static libraries.
9579         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9580         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9581         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9582         rt-sysdep.
9583         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9584         Add nptl-sysdep.
9585         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9586         Add ptw-sysdep.
9587         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9588         rt-sysdep.
9589         * sysdeps/unix/sysv/linux/alpha/Makefile
9590         (libpthread-shared-only-routines): Add ptw-sysdep,
9591         ptw-sigprocmask, ptw-rt_sigaction.
9592         * sysdeps/unix/sysv/linux/ia64/Makefile
9593         (librt-shared-only-routines): Add rt-sysdep.
9594         * sysdeps/unix/sysv/linux/i386/Makefile
9595         (libpthread-shared-only-routines): Add libc-do-syscall.
9596         * sysdeps/unix/sysv/linux/microblaze/Makefile
9597         (libpthread-shared-only-routines): Add sysdep.
9598         * sysdeps/unix/sysv/linux/powerpc/Makefile
9599         (librt-shared-only-routines): Add rt-sysdep.
9600         (libpthread-shared-only-routines): Add sysdep.
9601         * sysdeps/unix/sysv/linux/s390/Makefile
9602         (librt-shared-only-routines): Add rt-sysdep.
9603         * sysdeps/unix/sysv/linux/sparc/Makefile
9604         (librt-shared-only-routines): Add rt-sysdep.
9605         (libpthread-shared-only-routines): Add sysdep.
9606         * sysdeps/unix/sysv/linux/tile/Makefile
9607         (libpthread-shared-only-routines): Likewise.
9609 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9611         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9612         Mask implicit bit out of unpacked value.
9613         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9617         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9619         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9621         * sysdeps/s390/fpu/fesetexcept.c: New file.
9623         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9624         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9625         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9627         * sysdeps/mips/fpu/fesetexcept.c: New file.
9629         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9631         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9633         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9635         * sysdeps/arm/fesetexcept.c: New file.
9637         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9639         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9641         * math/fesetexcept.c: New file.
9642         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9643         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9644         * math/fenv.h: Define
9645         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9646         <bits/libc-header-start.h> instead of including <features.h>.
9647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9648         declaration.
9649         * manual/arith.texi (fesetexcept): Document function.
9650         * math/Versions (fesetexcept): New libm symbol at version
9651         GLIBC_2.25.
9652         * math/Makefile (libm-support): Add fesetexcept.
9653         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9654         * math/test-fesetexcept.c: New file.
9655         * math/test-fesetexcept-traps.c: Likewise.
9656         * sysdeps/nacl/libm.abilist: Update.
9657         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9658         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9665         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9666         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9667         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9668         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9672         Likewise.
9673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9674         Likewise.
9675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9678         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9679         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9680         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9681         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9683         Likewise.
9684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9685         Likewise.
9686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9690 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9692         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9693         New.
9694         (do_test): Apply default_stack_size_in_mb if not set.
9695         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9697 2016-08-15  Andreas Schwab  <schwab@suse.de>
9699         [BZ #20435]
9700         CVE-2016-6323
9701         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9702         as .cantunwind.
9704 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9706         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9707         comment from fraiseexcpt.c.
9709         * math/test-fexcept.c (feraiseexcept_exact): New function.
9710         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9711         (test_except): Likewise.
9713 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9715         [BZ #20455]
9716         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9717         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9718         to be restored.
9720         * math/test-fexcept-traps.c: New file.
9721         * math/test-fexcept.c: Likewise.
9722         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9723         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9724         macro.
9725         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9726         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9728 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9730         * include/atomic.h (atomic_fetch_and_relaxed,
9731         atomic_fetch_and_release, atomic_fetch_or_release,
9732         atomic_fetch_xor_release): New.
9734 2016-08-06  Christian Seiler  <christian@iwakd.de>
9736         [BZ #20444]
9737         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9738         MACH_PORT_NULL.
9740 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9742         * math/s_fdim.c: Avoid alias renamed.
9743         * math/s_fdimf.c: Likewise.
9744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9745         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9746         Add s_fdimf-vis3, s_fdim-vis3.
9747         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9748         (CFLAGS-s_fdim-vis3.c): Likewise.
9749         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9750         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9752 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9755         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9756         Remove s_fdimf-vis3, s_fdim-vis3.
9757         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9758         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9765         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9766         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9768 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9770         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9771         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9772         -Wa,-Av9a -mvis.
9774 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9776         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9777         LIT() to individual constants in simple expressions
9778         after splitting on spaces.
9779         (_apply_lit): Rename replaced version, and use it to
9780         apply to what appears to be a token.
9782         * math/libm-test.inc: Fix many, many issues with
9783         spacing.
9785 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9787         * math/math.h: Move comment about <bits/mathdef.h> definitions
9788         above inclusion of <bits/mathdef.h>.  Do not mention
9789         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9791 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9793         * include/atomic.h (atomic_exchange_relaxed): New.
9795 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9797         * math/e_scalb.c: Do not include <fenv.h>.
9798         (invalid_fn): Do calculation resulting in NaN instead of raising
9799         FE_INVALID and returning a NaN explicitly.
9800         * math/e_scalbf.c: Do not include <fenv.h>.
9801         (invalid_fn): Do calculation resulting in NaN instead of raising
9802         FE_INVALID and returning a NaN explicitly.
9803         * math/e_scalbl.c: Do not include <fenv.h>.
9804         (invalid_fn): Do calculation resulting in NaN instead of raising
9805         FE_INVALID and returning a NaN explicitly.
9807 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9809         * po/de.po: Updated from Translation Project.
9810         * po/fi.po: Likewise.
9811         * po/sv.po: Likewise.
9813 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9815         [BZ #20452]
9816         Use sysdep.o from libc.a in static libraries.
9817         * sysdeps/unix/sysv/linux/i386/Makefile
9818         (libpthread-shared-only-routines): Add sysdep.
9819         (librt-shared-only-routines): Likewise.
9821 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9823         * math/tgmath.h (nextdown): Define if
9824         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9825         (nextup): Likewise.
9827         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9828         macro.
9829         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9830         Document.
9831         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9832         Document macro.
9833         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9834         (exp10f): Likewise.
9835         (exp10l): Likewise.
9836         * math/bits/mathcalls.h (exp10): Declare if
9837         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9839         * manual/arith.texi (nextup): Fix typo in last change.
9841 2016-08-03  Zack Weinberg  <zackw@panix.com>
9843         [BZ #19239]
9844         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9845         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9846         define major, minor, and makedev to issue deprecation warnings on use.
9847         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9848         previously-activated deprecation warnings for these macros and prevent
9849         subsequent inclusions of this header from having any effect.
9850         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9851         including <sys/sysmacros.h>, and undefine it again afterward.
9853 2016-08-03  Zack Weinberg  <zackw@panix.com>
9855         * sysdeps/generic/sys/sysmacros.h: Delete file.
9856         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9857         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9858         * bits/sysmacros.h: ... here; this encoding is now the generic
9859         encoding.  Now defines only the following macros:
9860         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9861         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9862         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9864         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9865         bits/sysmacros.h and the above new macros to generate the
9866         public implementations of major, minor, and makedev.
9867         * misc/tst-makedev.c: New test.
9868         * include/sys/sysmacros.h: New wrapper.
9870         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9871         (routines): Add makedev.
9872         (tests): Add tst-makedev.
9873         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9874         gnu_dev_makedev.
9875         * posix/Makefile (headers): Remove sys/sysmacros.h.
9876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9878         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9879         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9880         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9881         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9882         * sysdeps/unix/sysv/linux/arm/libc.abilist
9883         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9884         * sysdeps/unix/sysv/linux/i386/libc.abilist
9885         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9886         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9887         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9888         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9889         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9890         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9891         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9892         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9893         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9898         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9899         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9900         * sysdeps/unix/sysv/linux/sh/libc.abilist
9901         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9902         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9905         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9906         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9907         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9908         Add GLIBC_2.25.
9910         * include/features.h (__glibc_clang_prereq): New macro.
9911         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9912         (__attribute_deprecated_msg__): New macros.
9914 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9916         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9917         macro.
9918         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9919         * manual/arith.texi (issignaling): Document as ISO from TS
9920         18661-1:2014.
9921         (nextup): Likewise.
9922         (nextupf): Likewise.
9923         (nextupl): Likewise.
9924         (nextdown): Likewise.
9925         (nextdownf): Likewise.
9926         (nextdownl): Likewise.
9927         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9928         macro.
9929         * math/math.h: Define
9930         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9931         <bits/libc-header-start.h> instead of including <features.h>.
9932         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9933         [__USE_GNU].
9934         * math/bits/mathcalls.h (nextdown): Declare if
9935         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9936         (nextup): Likewise.
9937         (__issignaling): Likewise.
9939 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9941         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9942         check, and remove __glibc_likely hint
9943         from FP_INFINITE check.
9944         * s_csinhf.c (__csinhf): Likewise.
9946         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9947         hint from FP_INFINITE check.
9948         * s_csinhl.c (__csinhl): Likewise.
9950 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9952         * math/Makefile (libm-calls): Insert F placeholder into
9953         object names.  Move w_lgamma_compat* routines into
9954         (libm-compat-calls): New variable.
9955         (libm-compat-calls-ldouble-yes): New variable.
9956         (calls): Insert F placeholder.
9957         (generated): Redefine using new type-foreach macro call.
9958         (routines): Likewise.
9960         (types): New variable to hold a list of symbolic names
9961         for each type supported by the target machine.
9962         (libm-routines): Redefine using new types variable.
9963         (type-foreach): macro to replace fooF with the
9964         appropriately suffixed foo for each types.
9966         (type-ldouble-suffix): New variable.
9967         (type-ldouble-routines): Likewise.
9968         (type-ldouble-yes): Likewise.
9969         (type-double-suffix): Likewise.
9970         (type-double-routines): Likewise.
9971         (type-float-suffix): Likewise.
9972         (type-float-routines): Likewise.
9974         (dbl-only-routines): Remove.
9975         (long-c-yes): Likewise.
9976         (long-m-routines): Likewise.
9977         (long-m-support): Likewise.
9978         (long-m-yes): Likewise.
9979         (test-longdouble-yes): Likewise.
9981         (test-float.o): Simplify by increasing the scope of the
9982         recipe which adds libm-test.stmp to the vector types.
9983         (test-ifloat.o): Likewise.
9984         (test-float-finite.o): Likewise.
9985         (test-double.o): Likewise
9986         (test-idouble.o): Likewise.
9987         (test-double-finite.o): Likewise.
9988         (test-ldouble.o): Likewise
9989         (test-ildoubl.o): Likewise.
9990         (test-ldouble-finite.o): Likewise.
9992         (libm-tests): Redefine type tests using foreach and the
9993         list of types in types.
9995         (CPPFLAGS-test-ildoubl.c): Rename to
9996         (CPPFLAGS-test-ildouble.c): New variable
9998         * math/test-ildoubl.c: Rename to
9999         * math/test-ildouble.c: New file.
10001 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10003         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10004         Use fabsl instead of fabs.
10005         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10006         Likewise.
10007         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10008         Add long double suffix to constant to ensure proper
10009         promotion to long double.
10011 2016-08-03  Tom Tromey  <tom@tromey.com>
10013         [BZ #20311]
10014         * nptl_db/Makefile (headers): Add proc_service.h.
10015         * nptl_db/proc_service.h: Add include guard.  Use
10016         __BEGIN/__END_DECLS.
10017         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10018         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10019         arguments.
10022 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10024         [BZ #17730]
10025         Avoid using memalign for TCB allocations.
10026         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10027         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10028         Avoid alignment gap in the TLS_DTV_AT_TP case.
10029         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10030         determine the pointer to free.
10031         * nptl/tst-tls3-malloc.c: New test.
10032         * nptl/Makefile (tests): Add it.
10033         (tst-tls3-malloc): Link with libdl, libpthread.
10034         (LDFLAGS-tst-tls3-malloc): Set.
10035         (tst-tls3-malloc.out): Depend on DSO used in test.
10037 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10039         [BZ #17730]
10040         Avoid using memalign for TLS allocations.
10041         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10042         is_static member with to_free member.
10043         (union dtv): Use struct dtv_pointer.
10044         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10045         dtv_pointer instead of is_static.
10046         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10047         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10048         instead of val.
10049         (allocate_dtv_entry): New function.
10050         (allocate_and_init): Return struct dtv_pointer.  Call
10051         allocate_dtv_entry instead of __libc_memalign.
10052         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10053         instead of val.
10054         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10055         instead of is_static.  Adjust call to allocate_and_init.
10056         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10057         struct dtv_pointer instead of val.
10059 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10061         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10062         (MALLOC_ALIGN_MASK): Move ...
10063         * malloc/malloc-internal.h: ... to here.
10064         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10066 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10068         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10069         (UDP_ENCAP_GTP1U): Likewise.
10071         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10072         (PF_MAX): Update value.
10073         (AF_QIPCRTR): New macro.
10075 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10077         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10078         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10079         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10080         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10081         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10082         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10083         s_truncf-vis3, s_trunc-vis3.
10084         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10085         (CFLAGS-s_ceil-vis3.c): Likewise.
10086         (CFLAGS-s_floorf-vis3.c): Likewise.
10087         (CFLAGS-s_floor-vis3.c): Likewise.
10088         (CFLAGS-s_truncf-vis3.c): Likewise.
10089         (CFLAGS-s_trunc-vis3.c): Likewise.
10090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10096         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10098         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10099         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10100         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10101         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10103 2016-08-02  David S. Miller  <davem@davemloft.net>
10105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10106         (__nearbyint_vis3): Don't check for sNaN before float register is
10107         loaded with the incoming argument.
10108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10109         (__nearbyintf_vis3): Likewise.
10110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10111         Likewise.
10112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10113         Likewise.
10115         * string/test-strncmp.c (do_test_limit): Make sure the test data
10116         stream is aligned as required for the type "CHAR".
10117         (do_test): Likewise.
10119 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10121         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10122         by beq instructions jumping to the end of the function.
10123         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10124         clobber list. Use "i" constraint instead of "X".
10125         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10126         of "X".
10128 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10130         * bits/libc-header-start.h: New file.
10131         * Makefile (headers): Add bits/libc-header-start.h.
10132         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10133         (__GLIBC_USE): New macro.
10134         * libio/stdio.h: Define
10135         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10136         <bits/libc-header-start.h> instead of including <features.h>.
10137         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10138         (open_memstream): Likewise.
10139         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10140         (__asprintf): Likewise.
10141         (asprintf): Likewise.
10142         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10143         (getdelim): Likewise.
10144         (getline): Likewise.
10145         * string/string.h: Define
10146         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10147         <bits/libc-header-start.h> instead of including <features.h>.
10148         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10149         (strndup): Likewise.
10150         * wcsmbs/wchar.h: Define
10151         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10152         <bits/libc-header-start.h> instead of including <features.h>.
10153         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10154         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10156 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10158         Support linking against compatibility symbols, for use in tests.
10159         * include/libc-symbols.h (symbol_version_reference): New macro.
10160         (symbol_version): Use it.
10161         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10162         (compat_symbol): Use compat_symbol_reference.
10163         (compat_symbol_1, compat_symbol_2): Remove.
10164         (compat_symbol_reference, compat_symbol_reference_1)
10165         (compat_symbol_reference_2): New macro.  Use
10166         symbol_version_reference.
10168 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10170         [BZ #19469]
10171         * malloc/Makefile (CPPFLAGS): Compile tests with
10172         -DTEST_NO_MALLOPT.
10173         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10175 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10177         [BZ #20033]
10178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10179         finite version.
10180         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10181         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10182         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10183         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10184         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10185         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10186         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10187         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10188         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10189         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10190         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10191         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10194         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10195         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10196         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10197         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10198         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10199         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10200         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10201         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10202         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10203         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10204         in zero power.
10206 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10208         [BZ #20370]
10209         * malloc/arena.c (get_free_list): Update comment.  Assert that
10210         arenas on the free list have no attached threads.
10211         (remove_from_free_list): New function.
10212         (reused_arena): Call it.
10214 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10216         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10217         when it is a NaN.
10218         [_IEEE_FP_INEXACT] Remove.
10219         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10220         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10221         when it is a NaN.
10222         [_IEEE_FP_INEXACT] Remove.
10223         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10224         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10225         when it is a NaN.
10226         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10227         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10228         when its absolute value is greater than 0x1.0p52.
10229         [_IEEE_FP_INEXACT] Remove.
10230         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10231         when its absolute value is greater than 0x1.0p23.
10232         [_IEEE_FP_INEXACT] Remove.
10234 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10236         * version.h (RELEASE): Set to "development"
10237         (VERSION): Set to 2.24.90.
10238         * NEWS: Add 2.25 section.
10240         * version.h (RELEASE): Set to "stable"
10241         (VERSION): Set to 2.24.
10242         * include/features.h (__GLIBC_MINOR__): Set to 24.
10244         * NEWS: Add 2.24 fixed bugs.
10245         * po/libc.pot: Regenerate.
10247 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10250         [$(subdir) = math] (libm-sysdep_routines): Remove.
10251         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10252         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10253         s_truncf-vis3, s_trunc-vis3.
10254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10256         file.
10257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10290         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10291         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10292         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10293         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10294         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10295         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10296         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10297         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10298         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10299         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10301 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10303         [BZ #20384]
10304         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10305         test-double-libmvec-sincos-avx-main.o,
10306         test-double-libmvec-sincos-avx2-main.o,
10307         test-double-libmvec-sincos-main.o,
10308         test-float-libmvec-sincosf-avx-main.o,
10309         test-float-libmvec-sincosf-avx2-main.o and
10310         test-float-libmvec-sincosf-main.o.
10311         test-float-libmvec-sincosf-avx512-main.o.
10312         ($(objpfx)test-double-libmvec-sincos): Also link with
10313         $(objpfx)test-double-libmvec-sincos-main.o.
10314         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10315         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10316         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10317         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10318         ($(objpfx)test-float-libmvec-sincosf): Also link with
10319         $(objpfx)test-float-libmvec-sincosf-main.o.
10320         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10321         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10322         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10323         test-double-libmvec-sincos-avx512-main.o and
10324         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10325         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10326         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10327         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10328         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10329         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10330         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10331         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10332         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10333         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10334         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10335         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10336         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10337         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10338         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10339         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10340         -DREQUIRE_AVX2.
10341         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10342         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10343         -DREQUIRE_AVX512F.
10344         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10345         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10346         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10347         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10348         file.
10349         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10350         Likewise.
10351         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10352         Likewise.
10353         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10354         Likewise.
10355         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10356         Likewise.
10357         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10358         Likewise.
10359         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10360         Likewise.
10361         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10362         Likewise.
10364 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10366         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10368 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10370         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10371         and typo in a comment about AT_HWCAP entry.
10373 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10375         * sysdeps/aarch64/libm-test-ulps: Updated.
10377 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10379         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10380         of r13 as it is not restored in mvcle case.
10382 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10384         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10385         Rename "ret" to "__ret".
10386         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10387         inline_syscall5, inline_syscall6): Likewise.
10389 2016-07-19   Will Newton  <will.newton@gmail.com>
10391         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10392         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10393         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10394         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10395         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10397 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10399         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10400         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10401         -mfpmath=387 with $(rtld-CFLAGS).
10402         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10403         $(rtld-CFLAGS).
10405 2016-07-18   Ross Burton  <ross.burton@intel.com>
10406              Khem Raj  <raj.khem@gmail.com>
10408         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10409         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10410         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10411         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10412         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10413         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10414         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10415         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10416         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10417         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10418         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10419         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10420         R_METAG_TLS_DTPOFF): New.
10422 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10423             Matt Clay  <mclay@lycos.com>
10425         [BZ #20357]
10426         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10427         to call __mpsin/__mpcos and to negate values.
10428         * math/auto-libm-test-in: Add test.
10429         * math/auto-libm-test-out: Regenerate.
10431 2016-07-18  Zack Weinberg  <zackw@panix.com>
10433         * grp/Makefile: Don't install the internal header grp-merge.h.
10435 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10437         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10439 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10441         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10443 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10445         [BZ #15368]
10446         * sysdeps/unix/sysv/linux/nptl-signals.h
10447         (__nptl_clear_internal_signals): New function.
10448         (__libc_signal_block_all): Likewise.
10449         (__libc_signal_block_app): Likewise.
10450         (__libc_signal_restore_set): Likewise.
10451         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10452         implementation.
10453         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10454         the cached pid/tid value in pthread structure.
10456 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10458         [BZ #20347]
10459         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10461 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10463         [BZ #20348]
10464         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10465         preadv64, pwrite64 and pwritev64.
10467 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10469         [BZ #20350]
10470         * posix/tst-preadwrite.c: Renamed to ...
10471         * posix/tst-preadwrite-common.c: This.
10472         (PREAD): Removed.
10473         (PWRITE): Likewise.
10474         (STRINGIFY): Likewise.
10475         (STRINGIFY2): Likewise.
10476         (do_prepare): Make it static and remove function arguments.
10477         (do_test): Likewise.
10478         (PREPARE): Updated.
10479         (TEST_FUNCTION): New.
10480         (name): Make it static.
10481         (fd): Likewise.
10482         (do_prepare): Use create_temp_file.
10483         (do_test): Renamed to ...
10484         (do_test_with_offset): This.  Make it static and accept offset.
10485         Properly check return value of PWRITE and PREAD.  Return bytes
10486         read.  Don't close fd nor unlink name.
10487         * posix/tst-preadwrite.c: Rewrite.
10488         * posix/tst-preadwrite64.c: Likewise.
10490 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10492         [BZ #20309]
10493         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10494         -mtls-dialect=gnu2 works.
10495         * configure: Regenerated.
10496         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10497         (tests): Add tst-gnu2-tls1.
10498         (modules-names): Add tst-gnu2-tls1mod.
10499         ($(objpfx)tst-gnu2-tls1): New.
10500         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10501         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10502         * elf/tst-gnu2-tls1.c: New file.
10503         * elf/tst-gnu2-tls1mod.c: Likewise.
10504         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10505         bytes for push in the PLT entry to align the stack.
10507 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10509         [BZ #20349]
10510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10512 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10514         [BZ #18707]
10515         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10516         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10518 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10520         * sysdeps/unix/sysv/linux/sysdep.h
10521         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10522         guards.
10523         * misc/tst-preadvwritev-common.c: New file.
10524         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10525         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10526         a check for files larger than 2GB.
10528         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10529         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10530         * sysdeps/unix/sysv/linux/pread.c
10531         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10532         __OFF_T_MATCHES_OFF64_T.
10533         * sysdeps/unix/sysv/linux/pread64.c
10534         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10535         * sysdeps/unix/sysv/linux/preadv.c
10536         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10537         * sysdeps/unix/sysv/linux/preadv64.c
10538         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10539         * sysdeps/unix/sysv/linux/pwrite.c
10540         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10541         * sysdeps/unix/sysv/linux/pwrite64.c
10542         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10543         * sysdeps/unix/sysv/linux/pwritev.c
10544         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10545         * sysdeps/unix/sysv/linux/pwritev64.c
10546         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10548 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10550         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10551         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10553 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10555         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10557 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10559         [BZ #20240]
10560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10561         (CFLAGS-s_modf-ppc32.c): New variable.
10562         (CFLAGS-s_modff-ppc32.c): Likewise.
10563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10564         (CFLAGS-s_modf-ppc64.c): Likewise.
10565         (CFLAGS-s_modff-ppc64.c): Likewise.
10567 2016-07-07  Andreas Schwab  <schwab@suse.de>
10569         [BZ #20263]
10570         * nptl/tst-robust10.c: New test.
10571         * nptl/Makefile (tests): Add tst-robust10.
10573 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10575         [BZ #20263]
10576         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10578 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10580         * sysdeps/s390/linkmap.h (struct link_map_machine):
10581         Remove member gotplt and add member jmprel.
10582         * sysdeps/s390/s390-32/dl-machine.h
10583         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10584         instead of gotplt with &got[3].
10585         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10586         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10588 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10590         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10592 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10594         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10595         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10596         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10597         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10598         * libio/vtables.c (_IO_vtable_check)
10599         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10600         * libio/libioP.h (IO_set_accept_foreign_vtables)
10601         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10603 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10605         [BZ #20314]
10606         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10607         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10608         $(common-objpfx)cmath.
10609         ($(common-objpfx)cstdlib): New target.
10610         ($(common-objpfx)cmath): Likewise.
10612 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10614         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10616 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10618         [BZ #20327]
10619         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10620         are not part of the string.
10622 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10624         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10625         * nptl/tst-cancel4-common.h (fifoname): New variable.
10626         (fifofd): Likewise.
10627         (cl_fifo): New function.
10628         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10629         SIGINT.
10630         (tf_open): Add early cancel test.
10632 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10634         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10636 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10638         * sysdeps/generic/ldsodefs.h
10639         (dl_symbol_visibility_binds_local_p): New inline function.
10640         * elf/dl-addr.c (determine_info): Treat hidden and internal
10641         symbols as local.
10642         * elf/dl-lookup.c (do_lookup_x): Likewise.
10643         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10645 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10647         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10648         invalid exception for a sNaN input.
10649         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10650         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10651         (__nearbyint_vis3): Likewise
10652         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10653         (__nearbyintf_vis3): Likewise
10654         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10655         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10656         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10657         Likewise.
10658         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10659         Likewise.
10661 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10663         [BZ #20139]
10664         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10665         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10666         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10667         2.24 or above.
10668         (HAVE_AVX512_ASM_SUPPORT): Removed.
10669         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10670         * sysdeps/x86_64/configure: Regenerated.
10671         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10672         check unconditional.
10673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10674         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10675         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10676         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10677         Likewise.
10678         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10679         Likewise.
10680         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10681         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10682         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10683         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10684         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10685         Likewise.
10686         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10687         Likewise.
10688         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10689         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10690         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10691         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10692         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10693         Likewise.
10694         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10695         Likewise.
10696         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10697         Likewise.
10698         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10699         Likewise.
10700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10701         Likewise.
10702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10703         Likewise.
10704         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10705         Likewise.
10706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10707         Likewise.
10708         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10709         Likewise.
10710         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10711         Likewise.
10712         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10713         Likewise.
10715 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10717         [BZ #20024]
10718         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10719         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10720         of this implementation of vector function.
10721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10722         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10723         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10724         Likewise.
10725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10727         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10728         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10729         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10730         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10731         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10732         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10733         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10734         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10735         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10736         for testing vector sincos with fixed ABI.
10737         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10738         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10739         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10740         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10741         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10742         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10743         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10744         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10745         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10746         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10747         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10748         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10749         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10750         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10751         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10752         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10754 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10756         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10758 2016-06-30  Anton Blanchard  <anton@samba.org>
10760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10761         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10762         s_sinf-ppc64.
10763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10766         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10768 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10772         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10773         e_expf-ppc64.
10774         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10775         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10776         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10777         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10779 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10781         [BZ #20277]
10782         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10783         when SHARED is defined.
10785 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10787         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10788         (index_arch_Prefer_ERMS): Likewise.
10789         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10790         __memcpy_erms for Prefer_ERMS.
10791         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10792         (__memmove_erms): Enabled for libc.a.
10793         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10794         __memmove_erms or Prefer_ERMS.
10795         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10796         __mempcpy_erms for Prefer_ERMS.
10797         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10798         __memset_erms for Prefer_ERMS.
10800 2016-06-30  Andreas Schwab  <schwab@suse.de>
10802         [BZ #20262]
10803         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10804         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10805         of memory.
10807 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10809         [BZ #18645]
10810         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10811         (test-extras): Add tst-cleanupx4aux.
10812         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10813         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10814         tst-cleanupx4aux.o.
10815         * nptl/tst-cleanupx4aux.c: New file.
10817 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10819         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10821 2016-06-29  Andreas Schwab  <schwab@suse.de>
10823         [BZ #20260]
10824         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10825         address before the beginning of the string as an integer to avoid
10826         array-bounds warning.
10828 2016-06-28  Richard Henderson  <rth@redhat.com>
10830         * elf/elf.h (EM_BPF): New.
10831         (EM_NUM): Update.
10832         (R_BPF_NONE, R_BPF_MAP_FD): New.
10834         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10835         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10836         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10837         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10838         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10839         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10840         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10841         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10842         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10843         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10844         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10845         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10846         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10847         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10848         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10849         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10850         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10851         (EM_NUM): Update.
10853 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10855         [BZ #18960]
10856         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10857         Set _nl_current_LC_CATEGORY_used to two instead of one.
10859 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10861         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10862         (do_test): ... this.
10863         (TEST_FUNCTION): New macro.
10864          Include test-skeleton.c.
10865         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10866         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10868 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10870         [BZ #15479]
10871         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10872         floating-point environment rather than just control word.
10873         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10874         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10875         floating-point environment, with "invalid" exceptions merged in,
10876         rather than just control word.
10877         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10878         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10879         "inexact" exceptions.
10881         [BZ #15479]
10882         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10883         floating-point environment rather than just control word.
10884         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10885         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10886         floating-point environment, with "invalid" exceptions merged in,
10887         rather than just control word.
10888         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10889         * math/libm-test.inc (floor_test_data): Do not allow spurious
10890         "inexact" exceptions.
10892         [BZ #15479]
10893         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10894         floating-point environment rather than just control word.
10895         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10896         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10897         floating-point environment, with "invalid" exceptions merged in,
10898         rather than just control word.
10899         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10900         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10901         "inexact" exceptions.
10903 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10905         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10906         __libc_vfork.
10907         (__vfork) [IS_IN (libc)]: Remove alias.
10908         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10909         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10910         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10912 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10914         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10915         of atomic_compare_and_exchange_bool_rel.
10916         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10917         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10918         catomic_compare_and_exchange_bool_rel): Remove.
10919         * sysdeps/aarch64/atomic-machine.h
10920         (atomic_compare_and_exchange_bool_rel): Likewise.
10921         * sysdeps/alpha/atomic-machine.h
10922         (atomic_compare_and_exchange_bool_rel): Likewise.
10923         * sysdeps/arm/atomic-machine.h
10924         (atomic_compare_and_exchange_bool_rel): Likewise.
10925         * sysdeps/mips/atomic-machine.h
10926         (atomic_compare_and_exchange_bool_rel): Likewise.
10927         * sysdeps/microblaze/atomic-machine.h
10928         ( __arch_compare_and_exchange_bool_8_rel,
10929         __arch_compare_and_exchange_bool_16_rel): Likewise.
10930         * sysdeps/powerpc/atomic-machine.h
10931         ( __arch_compare_and_exchange_bool_8_rel,
10932         __arch_compare_and_exchange_bool_16_rel): Likewise.
10933         * sysdeps/powerpc/powerpc32/atomic-machine.h
10934         ( __arch_compare_and_exchange_bool_32_rel,
10935         __arch_compare_and_exchange_bool_64_rel): Likewise.
10936         * sysdeps/powerpc/powerpc64/atomic-machine.h
10937         ( __arch_compare_and_exchange_bool_32_rel,
10938         __arch_compare_and_exchange_bool_64_rel): Likewise.
10939         * sysdeps/tile/atomic-machine.h
10940         (atomic_compare_and_exchange_bool_rel): Likewise.
10942 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10944         [BZ #20296]
10945         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10946         when either argument is a NaN.
10947         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10948         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10950         * math/libm-test.inc (snan_value_ld): New macro.
10951         (isgreater_test_data): Add sNaN tests.
10952         (isgreaterequal_test_data): Likewise.
10953         (isless_test_data): Likewise.
10954         (islessequal_test_data): Likewise.
10955         (islessgreater_test_data): Likewise.
10956         (isunordered_test_data): Likewise.
10957         (nextafter_test_data): Likewise.
10958         (nexttoward_test_data): Likewise.
10959         (remainder_test_data): Likewise.
10960         (remquo_test_data): Likewise.
10961         (significand_test_data): Likewise.
10962         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10964 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10966         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10967         environment macros are defined.
10968         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10970 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10972         [BZ #20191]
10973         Implement vtable verification in libio.
10974         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10975         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10976         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10977         _IO_new_file_init_internal instead of _IO_file_init.
10978         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10979         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10980         * libio/Makefile (routines): Add vtables.
10981         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10982         (_IO_init): Remove, not for internal use.
10983         (_IO_init_internal): Declare, internal replacement for _IO_init.
10984         (_IO_file_init): Remove, not for internal use.
10985         (_IO_new_file_init): Remove, not for internal use.
10986         (_IO_new_file_init_internal): Declare, internal replacement for
10987         _IO_new_file_init.
10988         (_IO_old_file_init): Remove, not for internal use.
10989         (_IO_old_file_init_internal): Declare, internal replacement for
10990         _IO_old_file_init.
10991         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10992         internal use.
10993         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10994         Declare.
10995         (libio_vtable): New macro.
10996         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10997         functions.
10998         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10999         _IO_new_file_init.
11000         (_IO_new_file_init): New externally visible wrapper which disables
11001         vtable verification.
11002         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11003         Define as vtables.
11004         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11005         (_IO_init): New externally visible wrapper which disables
11006         vtable verification.
11007         * libio/iofdopen.c (_IO_new_fdopen): Call
11008         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11009         comment.
11010         * libio/iofopen.c (__fopen_internal): Call
11011         _IO_new_file_init_internal instead of _IO_file_init.
11012         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11013         Define as vtables.
11014         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11015         _IO_new_file_init_internal instead of _IO_file_init.
11016         * libio/iopopen.c (_IO_new_popen): Likewise.
11017         (_IO_proc_jumps): Define as vtable.
11018         * libio/iovdprintf.c (_IO_vdprintf): Call
11019         _IO_new_file_init_internal instead of _IO_file_init.
11020         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11021         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11022         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11023         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11024         _IO_old_file_init.
11025         (_IO_old_file_init): New externally visible wrapper which disables
11026         vtable verification.
11027         (_IO_old_file_jumps): Define as vtable.
11028         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11029         _IO_old_file_init_internal instead of _IO_old_file_init.
11030         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11031         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11032         (_IO_old_proc_jumps): Define as vtable.
11033         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11034         Define as vtables.
11035         * libio/vtables.c: New file.
11036         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11037         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11038         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11039         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11040         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11041         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11042         instead of _IO_init.
11044 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11046         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11048 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11050         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11051         potentially unused.
11053 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11055         * test-skeleton.c (write_message): New function.
11056         * malloc/tst-mallocfork2.c (write_message): Remove.
11057         * debug/tst-longjmp_chk2.c (write_indented): New function.
11058         (write_message): Remove.
11059         (stackoverflow_handler): Call write_indented.
11061 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11063         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11064         "inexact" exceptions after fnstenv.
11065         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11066         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11067         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11069 2015-06-22  Zack Weinberg  <zackw@panix.com>
11071         * sysdeps/generic/bits/hwcap.h: Moved to ...
11072         * bits/hwcap.h: Here.
11074 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11076         * sysdeps/aarch64/memcpy.S (memcpy):
11077         Further tuning for performance.
11079 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11081         [BZ #20284]
11082         * malloc/arena.c (reused_arena): Do not return NULL if we start
11083         out with a non-corrupted arena.
11085 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11087         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11088         * misc/tst-preadvwritev.c: New file.
11089         * misc/tst-preadvwritev64.c: Likewise.
11090         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11091         usage.
11092         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11093         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11094         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11095         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11097 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11099         [BZ #19654]
11100         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11101         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11102         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11103         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11104         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11105         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11106         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11107         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11108         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11109         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11110         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11111         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11112         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11113         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11114         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11115         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11116         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11117         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11118         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11119         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11120         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11121         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11122         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11123         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11124         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11125         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11127 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11129         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11130         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11132 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11134         * sysdeps/aarch64/memcpy.S (memcpy):
11135         Rewrite of optimized memcpy and memmove.
11136         * sysdeps/aarch64/memmove.S (memmove): Remove
11137         memmove code (merged into memcpy.S).
11139 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11141         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11142         * sysdeps/generic/dl-dtv.h: New file.
11143         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11144         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11145         (dtv_t): Remove.
11146         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11147         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11148         (dtv_t): Remove.
11149         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11150         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11151         (dtv_t): Remove.
11152         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11153         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11154         (dtv_t): Remove.
11155         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11156         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11157         (dtv_t): Remove.
11158         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11159         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11160         (dtv_t): Remove.
11161         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11162         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11163         (dtv_t): Remove.
11164         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11165         (dtv_t): Remove.
11166         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11167         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11168         (dtv_t): Remove.
11169         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11170         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11171         (dtv_t): Remove.
11172         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11173         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11174         (dtv_t): Remove.
11175         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11176         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11177         (dtv_t): Remove.
11178         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11179         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11180         (dtv_t): Remove.
11181         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11182         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11183         (dtv_t): Remove.
11184         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11185         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11186         (dtv_t): Remove.
11187         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11188         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11189         (dtv_t): Remove.
11191 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11193         Revert symbol poisoning of  __malloc_initialize_hook.
11194         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11195         poisoning.
11196         * malloc/Makefile: Remove un-poisoning.
11197         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11198         instead of old__malloc_initialize_hook.
11199         * malloc/malloc-hooks.h: Likewise.
11200         * malloc/malloc.c: Likewise.
11201         * malloc/mcheck-init.c: Likewise.
11203 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11205         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11207 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11209         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11210         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11211         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11212         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11214 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11216         * NEWS: Mention addition of nextup and nextdown.
11217         * manual/arith.texi: Document nextup and nextdown.
11218         * manual/libm-err-tab.pl: Add nextup and nextdown.
11219         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11220         * math/Versions (libm): Add GLIBC_2.24.
11221         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11222         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11223         Add new test.
11224         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11225         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11226         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11227         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11228         (nextup_test_data): Likewise.
11229         (nextdown_test_data): Likewise.
11230         * math/s_nextdown.c: New file.
11231         * math/s_nextdownf.c: Likewise.
11232         * math/s_nextdownl.c: Likewise.
11233         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11234         F(nextup): New function.
11235         F(nextdown): Likewise.
11236         * math/tgmath.h: Add nextup and nextdown.
11237         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11238         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11239         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11240         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11241         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11242         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11243         Add nextup and nextdown.
11244         (CFLAGS-nldbl-nextup.c): New variable.
11245         (CFLAGS-nldbl-nextdown.c): Likewise.
11246         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11247         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11248         * sysdeps/nacl/libm.abilist: Update.
11249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11250         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11251         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11252         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11253         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11254         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11255         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11256         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11257         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11258         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11260         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11263         Likewise.
11264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11266         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11267         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11268         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11278 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11280         * manual/pattern.texi: Fix typos & grammar errors.
11282 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11284         * manual/search.texi: Fix typos & grammar errors.
11286 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11288         * manual/message.texi: Fix typos & grammar errors.
11290 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11292         * manual/contrib.texi: Fix spelling typos.
11293         * manual/crypt.texi: Likewise.
11294         * manual/filesys.texi: Likewise.
11295         * manual/locale.texi: Likewise.
11296         * manual/message.texi: Likewise.
11297         * manual/nss.texi: Likewise.
11298         * manual/string.texi: Likewise.
11300 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11302         * manual/locale.texi: Fix typos & grammar errors.
11304 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11306         * manual/charset.texi: Fix typos & grammar errors.
11308 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11310         * manual/string.texi: Fix typos.
11312 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11314         * manual/ctype.texi: Fix typos.
11316 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11318         * manual/memory.texi: Fix various typos & grammar errors.
11320 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11322         [BZ #20255]
11323         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11324         * math/libm-test.inc (fdim_test_data): Add another test.
11326         [BZ #6796]
11327         [BZ #20255]
11328         [BZ #20256]
11329         * math/s_fdim.c: Include <math_private.h>.
11330         (__fdim): Use math_narrow_eval on result.
11331         * math/s_fdimf.c: Include <math_private.h>.
11332         (__fdimf): Use math_narrow_eval on result.
11333         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11334         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11335         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11336         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11337         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11338         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11339         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11340         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11341         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11342         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11343         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11344         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11345         overflow.  Add sNaN tests.
11347         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11348         fpclassify.
11349         * math/s_fdimf.c (__fdimf): Likewise.
11350         * math/s_fdiml.c (__fdiml): Likewise.
11352 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11354         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11355         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11357         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11358         ifunc'ed strcasecmp/strncasecmp.
11359         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11360         [EALIGN]: Removed.
11361         [END]: Likewise.
11362         [__strcasecmp]: Define instead of the above to control symbol name.
11363         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11364         for __strcasecmp_power8.
11365         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11366         for __strncasecmp_power8.
11367         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11370         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11371         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11372         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11374 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11376         [BZ #20252]
11377         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11378         arguments when second argument is a NaN.
11379         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11380         qNaN tests.
11382         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11383         (conj_test_data): Likewise.
11384         (copysign_test_data): Likewise.
11385         (creal_test_data): Likewise.
11386         (fma_test_data): Likewise.
11387         (fmod_test_data): Likewise.
11389         [BZ #20250]
11390         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11391         itself.
11392         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11393         zero input to itself.
11394         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11395         Likewise.
11396         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11397         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11398         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11399         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11400         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11402 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11404         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11405         * nptl/tst-cancel4-common.c: New file.
11406         * nptl/tst-cancel4-common.h: Likewise.
11407         * nptl/tst-cancel4.c: Move common definitions to
11408         tst-cancel4-common.{c,h} file.
11409         * nptl/tst-cancel4_1.c: New test.
11410         * nptl/tst-cancel4_2.c: New test.
11412 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11414         [BZ #20248]
11415         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11416         (write_message): New function.
11417         (stackoverflow_handler): Call it instead of printf, to avoid
11418         excessive stack usage by printf.
11419         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11421 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11423         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11424         (prio_inherit_missing): Remove define.
11425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11426         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11427         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11428         Likewise.
11429         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11430         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11431         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11432         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11433         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11434         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11436 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11438         [BZ #19670]
11439         [BZ #19672]
11441         * io/test-lfs.c (do_prepare): Use xmalloc.
11442         * io/tst-fcntl.c (do_prepare): Likewise.
11443         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11444         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11445         * login/tst-utmp.c (do_prepare): Likewise.
11446         * posix/tst-exec.c (do_prepare): Likewise.
11447         * posix/tst-pathconf.c (prepare): Likewise.
11448         * posix/tst-spawn.c (do_prepare): Likewise.
11449         * posix/tst-truncate.c (do_prepare): Likewise.
11450         * rt/tst-aio.c (do_prepare): Likewise.
11451         * rt/tst-aio64.c (do_prepare): Likewise.
11453 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11455         [BZ #20237]
11456         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11457         (get*ent): Set entidx to NULL during initialization.  If entidx is
11458         NULL, start iteration from the beginning.
11460 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11462         * malloc/malloc.c (musable): Return correct size for dumped fake
11463         mmapped chunk.
11465 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11467         [BZ #20222]
11468         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11469         (_IO_cookie_write): Likewise.
11470         (_IO_cookie_seek): Likewise.
11471         (_IO_cookie_close): Likewise.
11472         (_IO_old_cookie_seek): Likewise.
11473         (set_callbacks): New function.
11474         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11476 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11478         * locale/programs/localedef.c (oldstyle_tables): Remove.
11479         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11481 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11483         [BZ #20240]
11484         * math/Makefile (CFLAGS-s_modf.c): New variable.
11485         (CFLAGS-s_modff.c): Likewise.
11486         (CFLAGS-s_modfl.c): Likewise.
11487         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11489 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11491         [BZ #20215]
11492         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11493         [!__GNUC_PREREQ (3,2)]: Likewise.
11495 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11497         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11498         (msghdr.msg_controllen): Likewise.
11499         (cmsghdr.cmsg_len): Likewise.
11500         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11501         ptw-oldsendmsg.
11502         (CFLAGS-oldrecvmsg.c): Remove rule.
11503         (CFLAGS-oldsendmsg.c): Likewise.
11504         (CFLAGS-recvmsg.c): Add rule.
11505         (CFLAGS-sendmsg.c): Likewise.
11506         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11507         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11508         (CFLAGS-recvmsg.c): Remove rule.
11509         (CFLAGS-sendmsg.c): Likewise.
11510         (CFLAGS-oldrecvmsg.c): Likewise.
11511         (CFLAGS-oldsendmsg.c): Likewise.
11512         (CFLAGS-recvmmsg.c): Likewise.
11513         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11514         to kernel defined interfaces.
11515         (msghdr.msg_controllen): Likewise.
11516         (cmsghdr.cmsg_len): Likewise.
11517         (msghdr.__glibc_reserved1): Remove member.
11518         (msghdr.__glibc_reserved2): Likewise.
11519         (cmsghdr.__glibc_reserved1): Likewise.
11520         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11521         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11522         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11523         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11524         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11525         version.
11526         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11527         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11528         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11529         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11530         Remove recvmsg and sendmsg.
11531         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11532         Likewise.
11533         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11534         Likewise.
11535         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11536         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11537         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11538         Likewise.
11539         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11540         Likewise.
11541         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11542         [libc] (GLIBC_2.24): Likewise.
11543         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11544         Likewise.
11545         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11546         Likewise.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11548         [libc] (GLIBC_2.24): Likewise.
11549         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11550         Likewise.
11551         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11552         Likewise.
11553         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11554         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11555         Likewise.
11556         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11557         Likewise.
11558         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11559         Likewise.
11560         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11561         Likewise.
11562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11563         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11564         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11565         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11566         version for {recv,send,recm,sendm}msg.
11567         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11568         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11569         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11570         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11571         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11572         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11573         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11574         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11575         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11578         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11580         Likewise.
11581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11582         Likewise.
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11590         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11597 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11599         [BZ #19564]
11600         Remove __malloc_initialize_hook from the API.
11601         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11602         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11603         #pragma GCC poison.
11604         * malloc/malloc-hooks.h: New file.
11605         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11606         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11607         (old__malloc_initialize_hook): Rename from
11608         __malloc_initialize_hook to evade poisoning.  Turn into compat
11609         symbol.
11610         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11611         __malloc_initialize_hook.
11612         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11613         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11614         * manual/memory.texi (Hooks for Malloc): Remove
11615         __malloc_initialize_hook.  Adjust hook example.
11617 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11619         [BZ #20235]
11620         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11621         itself.
11622         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11623         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11625         [BZ #20234]
11626         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11627         infinity or NaN input to itself.
11629         [BZ #20233]
11630         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11631         to itself.
11633         [BZ #20232]
11634         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11635         itself.
11637 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11639         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11640         __libc_start_main via GOT.
11642 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11644         * sysdeps/x86_64/memcopy.h: New file.
11645         * sysdeps/x86_64/wordcopy.c: Likewise.
11647 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11649         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11650         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11651         <cstdlib>.
11652         (optimization_barrier): New.
11653         (do_test): Use it.  Call quick_exit in the global namespace.
11654         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11655         instead of <cstdlib>, <thread>.
11656         (optimization_barrier): New.
11657         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11658         Call quick_exit in the global namespace.
11659         (do_test): Call optimization_barrier.  Use pthread_create,
11660         pthread_join instead of std::thread.
11662 2016-06-09  Andreas Schwab  <schwab@suse.de>
11664         [BZ #19755]
11665         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11666         new entries in auto-propagate mode.
11667         * nscd/grpcache.c (cache_addgr): Likewise.
11669 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11671         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11672         New functions.
11673         (add_temp_file): Use them.
11675 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11677         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11679 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11681         [BZ #20229]
11682         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11683         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11684         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11686         [BZ #20228]
11687         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11688         itself.
11689         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11690         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11692         [BZ #20227]
11693         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11694         itself.
11695         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11696         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11697         * math/libm-test.inc (log_test_data): Add sNaN tests.
11699         [BZ #20226]
11700         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11701         itself.
11702         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11703         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11704         (exp10_test_data): Likewise.
11705         (expm1_test_data): Likewise.
11707         [BZ #20225]
11708         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11709         itself.
11710         * math/s_ldexpf.c (__ldexpf): Likewise.
11711         * math/s_ldexpl.c (__ldexpl): Likewise.
11712         * math/w_scalbln.c (__w_scalbln): Likewise.
11713         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11714         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11715         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11716         (scalbln_test_data): Likewise.
11718         [BZ #20224]
11719         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11720         argument to itself.
11721         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11723 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11725         [BZ #19776]
11726         * sysdeps/x86_64/memcpy.S: Make it dummy.
11727         * sysdeps/x86_64/mempcpy.S: Likewise.
11728         * sysdeps/x86_64/memmove.S: New file.
11729         * sysdeps/x86_64/memmove_chk.S: Likewise.
11730         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11731         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11732         * sysdeps/x86_64/memmove.c: Removed.
11733         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11734         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11735         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11736         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11737         Likewise.
11738         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11739         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11741         memcpy-sse2-unaligned, memmove-avx-unaligned,
11742         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11743         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11744         (__libc_ifunc_impl_list): Replace
11745         __memmove_chk_avx512_unaligned_2 with
11746         __memmove_chk_avx512_unaligned.  Remove
11747         __memmove_chk_avx_unaligned_2.  Replace
11748         __memmove_chk_sse2_unaligned_2 with
11749         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11750         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11751         with __memmove_avx512_unaligned.  Replace
11752         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11753         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11754         with __memcpy_chk_avx512_unaligned.  Remove
11755         __memcpy_chk_avx_unaligned_2.  Replace
11756         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11757         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11758         Replace __memcpy_avx512_unaligned_2 with
11759         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11760         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11761         with __mempcpy_chk_avx512_unaligned.  Remove
11762         __mempcpy_chk_avx_unaligned_2.  Replace
11763         __mempcpy_chk_sse2_unaligned_2 with
11764         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11765         Replace __mempcpy_avx512_unaligned_2 with
11766         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11767         Replace __mempcpy_sse2_unaligned_2 with
11768         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11769         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11770         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11771         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11772         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11773         (ENTRY): Removed.
11774         (END): Likewise.
11775         (ENTRY_CHK): Likewise.
11776         (libc_hidden_builtin_def): Likewise.
11777         Don't include ../memcpy.S.
11778         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11779         __memcpy_chk_avx512_unaligned_erms and
11780         __memcpy_chk_avx512_unaligned.  Use
11781         __memcpy_chk_avx_unaligned_erms and
11782         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11783         Default to __memcpy_chk_sse2_unaligned.
11784         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11785         Change function suffix from unaligned_2 to unaligned.
11786         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11787         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11788         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11789         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11790         (ENTRY): Removed.
11791         (END): Likewise.
11792         (ENTRY_CHK): Likewise.
11793         (libc_hidden_builtin_def): Likewise.
11794         Don't include ../mempcpy.S.
11795         (mempcpy): New.  Add a weak alias.
11796         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11797         __mempcpy_chk_avx512_unaligned_erms and
11798         __mempcpy_chk_avx512_unaligned.  Use
11799         __mempcpy_chk_avx_unaligned_erms and
11800         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11801         Default to __mempcpy_chk_sse2_unaligned.
11803 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11805         [BZ #19881]
11806         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11807         into ...
11808         * sysdeps/x86_64/memset.S: This.
11809         (__bzero): Removed.
11810         (__memset_tail): Likewise.
11811         (__memset_chk): Likewise.
11812         (memset): Likewise.
11813         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11814         defined.
11815         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11816         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11817         (__memset_zero_constant_len_parameter): Check SHARED instead of
11818         PIC.
11819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11820         memset-avx2 and memset-sse2-unaligned-erms.
11821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11822         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11823         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11824         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11825         (__bzero): Enabled.
11826         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11827         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11828         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11829         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11830         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11831         (memset): Removed.
11832         (__memset_chk): Likewise.
11833         (MEMSET_SYMBOL): New.
11834         (libc_hidden_builtin_def): Replace __memset_sse2 with
11835         __memset_sse2_unaligned.
11836         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11837         __memset_chk_sse2 and __memset_chk_avx2 with
11838         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11839         Use __memset_chk_sse2_unaligned_erms or
11840         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11841         __memset_chk_avx512_unaligned_erms and
11842         __memset_chk_avx512_unaligned.
11844 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11846         * math/gen-auto-libm-test.c (fp_format_desc): remove
11847         suffix member.
11848         (output_generic_value): Remove usage of suffix member,
11849         and the resulting unuse of the fp_format argument.
11850         (output_for_one_input_case): Remove unused fp_format
11851         parameter.
11853         * math/auto-libm-test-out: Regenerate.
11855         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11856         usage with TEST_COND_ibm128.
11857         (TEST_COND_flt_32): Remove.
11858         (TEST_COND_dbl_64): Remove.
11859         (TEST_COND_ldbl_96_intel): Remove.
11860         (TEST_COND_ldbl_96_m68k): Remove.
11861         (TEST_COND_ldbl_128): Remove.
11863 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11865         * auto-libm-test-in:
11866         Replace flt-32 usage with binary32.
11867         Replace dbl-64 usage with binary64.
11868         Replace ldbl-intel-96 usage with intel96.
11869         Replace ldbl-m68k-96 usage with m68k96.
11870         Replace ldbl-128ibm usage with ibm128.
11871         Replace ldbl-128 usage with binary128.
11873         * auto-libm-test-out: Regenerate.
11875 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11877         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11878         (parse_ulps): Dynamically generate type name matching
11879         string from all_floats.
11880         (get_ulps): Generate the ulps as an array instead.
11881         (output_ulps): Dynamically compose the type based
11882         on the number of supported formats, and print
11883         the indices as type specific helper macros.
11885         * math/libm-test.inc: Remove comment about CHOOSE.
11886         (ulp_data): Generate the type in libm-test-ulps.h.
11887         (ULP_IDX): New macro.
11888         (find_ulps): Update usage of max_ulp.
11890         * math/test-double-vlen2.h (CHOOSE): Remove.
11891         * math/test-double-vlen4.h (CHOOSE): Likewise.
11892         * math/test-double-vlen8.h (CHOOSE): Likewise.
11893         * math/test-float.c (CHOOSE): Likewise.
11894         * math/test-float-finite.c (CHOOSE): Likewise.
11895         * math/test-double.c (CHOOSE): Likewise.
11896         * math/test-double-finite.c (CHOOSE): Likewise.
11897         * math/test-idouble.c (CHOOSE): Likewise.
11898         * math/test-ifloat.c (CHOOSE): Likewise.
11899         * math/test-ildoubl.c (CHOOSE): Likewise.
11900         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11901         * math/test-ldouble.c (CHOOSE): Likewise.
11903         * math/test-float.h (TEST_FLOAT): Remove.
11904         * math/test-double.h (TEST_DOUBLE): Likewise.
11905         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11907 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11909         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11910         (parse_args): Strip C suffix from floating point literals
11911         typed with 'f' and wrap them with LIT().
11913         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11914         (test_ff_f_data_nexttoward): Rename to
11915         (test_fj_f_data): New struct.
11916         (nexttoward_test_data): Relabel tests as
11917         TEST_fj_f instead of TEST_ff_f.
11919 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11921         Emacs bug 23726.
11922         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11923         (__libc_realloc): Correct size computation for dumped fake mmapped
11924         chunks.
11926 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11928         [BZ #20219]
11929         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11930         to itself.
11931         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11933         [BZ #20218]
11934         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11935         to itself.
11936         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11938 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11940         [BZ #20195]
11941         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11942         check to ...
11943         (init_cpu_features): Here.
11945 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11947         [BZ #20214]
11948         * sysdeps/unix/sysv/linux/bits/in.h
11949         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11950          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11951         Define to 1.
11952         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11953          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11954         Define to 0.
11955         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11956         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11958 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11960         [BZ #20198]
11961         * stdlib/Makefile (tests): Add tst-quick_exit, and
11962         tst-thread-quick_exit.
11963         [ifeq ($(have-cxx-thread_local),yes)]
11964         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11965         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11966         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11967         (LDLIBS-tst-thread-quick_exit): Likewise.
11968         [ifneq ($(have-cxx-thread_local),yes)]
11969         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11970         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11971         If run_dtors is true call __call_tls_dtors.
11972         (exit): Call __run_exit_handlers with run_dtors set to true.
11973         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11974         definition.
11975         * stdlib/quick_exit.c (quick_exit): Remove function.
11976         (__new_quick_exit): New function.
11977         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11978         function.
11979         * stdlib/tst-quick_exit.cc: New file.
11980         * stdlib/tst-thread-quick_exit.cc: New file.
11981         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11982         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11983         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11984         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11985         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11986         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11987         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11988         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11989         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11990         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11991         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11992         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11993         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11994         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11995         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11996         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12001         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12002         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12003         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12004         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12005         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12008         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12009         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12010         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12012 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12014         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12015         a typo in comments.
12017 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12019         [BZ #20213]
12020         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12021         argument to itself.
12022         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12024 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12026         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12027         required flags.
12028         (CFLAGS-pwritev64.c): Likewise.
12029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12031         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12032         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12033         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12035         syscall from auto-generation.
12036         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12037         [WORDSIZE == 64] (pwritev64): Remove macro.
12038         [!PWRITEV] (PWRITEV): Likewise.
12039         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12040         [!PWRITEV] (PWRITE): Likewise.
12041         [!PWRITEV] (OFF_T): Likewise.
12042         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12043         (LO_HI_LONG): Remove macro.
12044         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12045         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12046         (PWRITEV): Remove macro.
12047         (PWRITEV_REPLACEMENTE): Likewise.
12048         (PWRITE): Likewise.
12049         (OFF_T): Likewise.
12050         (pwritev64): New function.
12051         * nptl/tst-cancel4.c (tf_writev): Add test.
12053         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12054         required flags.
12055         (CFLAGS-preadv64.c): Likewise.
12056         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12057         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12058         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12059         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12060         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12061         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12062         syscall from auto-generation.
12063         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12064         [WORDSIZE == 64] (preadv64): Remove macro.
12065         [!PREADV] (PREADV): Likewise.
12066         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12067         [!PREADV] (PREAD): Likewise.
12068         [!PREADV] (OFF_T): Likewise.
12069         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12070         (LO_HI_LONG): Remove macro.
12071         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12072         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12073         (PREADV): Remove macro.
12074         (PREADV_REPLACEMENTE): Likewise.
12075         (PREAD): Likewise.
12076         (OFF_T): Likewise.
12077         (preadv64): New function.
12078         * nptl/tst-cancel4.c (tf_preadv): Add test.
12080 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12082         [BZ #20212]
12083         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12084         argument to itself.
12085         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12087 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12089         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12090         New symbol defined as libc_hidden_def.
12091         (strcasestr): Became a weak alias to __strcasestr.
12092         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12093         according to multi-arch support.  Move __stpncpy hidden
12094         definition from here to...
12095         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12096         symbol stpncpy.
12097         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12098         libc_hidden_builtin_def.
12099         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12100         memset symbol to use when multi-arch support is available.
12102 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12104         * dlfcn/tst-rec-dlopen.c: Include string.h.
12106 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12108         * manual/install.texi: Remove mention of --without-tls
12109         * INSTALL: Regenerate.
12111 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12113         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12114         Remove.
12115         (call_function, interposed_malloc_called): New variables.
12116         (malloc): New function.
12117         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12118         and clear call_function as needed.
12120 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12122         * include/wchar.h (__wmemset): Use __typeof.
12124 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12126         * include/wchar.h (__wmemset): Declare function without typeof.
12128 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12130         [BZ #20205]
12131         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12132         exponent when incrementing negative subnormal with low mantissa
12133         word zero.
12134         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12135         Add another test.
12137 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12139         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12140         __wmemset instead of wmemset.
12142 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12144         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12145         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12146         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12147         __USE_KERNEL_IPV6_DEFS to 0.
12148         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12149         Update comment.
12151 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12153         [BZ #19861]
12154         Do not use IFUNC resolver with potentially unrelocated symbol.
12155         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12156         (DEFINE_FORK): Remove macro and inline definition.
12157         (fork_alias): Renamed from fork_ifunc.
12158         (__fork_alias): Renamed from __fork_ifunc.
12160 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12162         [BZ 19653]
12163         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12164         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12166 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12168         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12169         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12170         i386-linux-gnu).
12171         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12172         Set to no.
12173         * sysdeps/mach/hurd/configure: Refresh.
12175 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12177         [BZ #20178]
12178         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12179         on failure instead of exit.
12181 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12183         [BZ #3629]
12184         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12185         of POSIX.1-2008.
12187 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12189         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12190           Use PLT entry for calling _hurd_self_sigstate.
12192 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12194         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12195         available logical processors with SMT level type sharing L2
12196         cache for Intel processors.
12198 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12200         [BZ #20160]
12201         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12202         argument to itself before returning the result.
12203         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12204         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12205         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12206         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12207         Likewise.
12208         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12209         Likewise.
12210         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12211         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12212         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12213         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12214         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12215         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12217         [BZ #20160]
12218         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12219         argument to itself before returning the result.
12220         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12221         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12222         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12223         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12224         Likewise.
12225         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12226         Likewise.
12227         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12228         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12229         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12230         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12231         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12232         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12234 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12236         * libm-test.inc: Replace usage of M_El with
12237         (lit_e): New macro.
12239 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12241         * libm-test.inc: Replace usage of M_PI_4l with
12242         (lit_pi_4_d): New macro.
12244 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12246         * libm-test.inc: Replace usage of M_PIl with
12247         (lit_pi): New macro.
12249 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12251         * libm-test.inc: Replace usage of M_PI2l with
12252         (lit_pi_2_d): New macro.
12254         * math/test-double.h (LITM): New macro.
12255         * math/test-float.h (LITM): Likewise.
12256         * math/test-ldouble.h (LITM): Likewise.
12258 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12260         * libm-test.inc (M_PI_34l): Rename to
12261         (lit_pi_3_m_4_d): New Macro.
12262         (M_PI_34_LOG10El): Rename to
12263         (lit_pi_3_m_4_ln10_m_d): New Macro.
12264         (M_PI2_LOG10El): Rename to
12265         (lit_pi_2_ln10_m_d):  New Macro.
12266         (M_PI4_LOG10El): Rename to
12267         (lit_pi_4_ln10_m_d):  New Macro.
12268         (M_PI_LOG10El): Rename to
12269         (lit_pi_ln10_d):  New Macro.
12271 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12273         [BZ #20157]
12274         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12275         determine whether to negate low half if [_ARCH_PPCGR], and integer
12276         comparison otherwise.
12277         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12278         determine whether to negate low half.
12280         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12281         (NO_TEST_INLINE_DOUBLE): Likewise.
12282         (TEST_COND_x86_64): Likewise.
12283         (TEST_COND_x86): Likewise.
12284         (M_PI_6l): Likewise.
12286 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12288         * math/libm-test.inc:
12289         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12290         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12291         (TEST_LDOUBLE): Update usage to evaluate as true if
12292         the guarded tests match the property being tested.
12293         (LDBL_MAX_EXP): Change to MAX_EXP.
12294         (LDBL_MIN_EXP): Change to MIN_EXP.
12295         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12296         nexttoward tests.
12298 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12300         * math/libm-test.inc:
12301         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12302         (TYPE_MIN): Likewise.
12303         (TYPE_TRUE_MIN): Likewise.
12304         (TYPE_MAX): Likewise.
12305         (MIN_EXP): Likewise.
12306         (MAX_EXP): Likewise.
12307         (MANT_DIG): Likewise.
12309         (FSTR_MAX): New macro.
12310         (__CONCATX): Likewise.
12311         (QTYPE_STR): Likewise.
12312         (TEST_COND_binary32): Likewise.
12313         (TEST_COND_binary64): Likewise.
12314         (TEST_COND_binary128): Likewise.
12315         (TEST_COND_ibm128): Likewise.
12316         (TEST_COND_intel96): Likewise.
12317         (TEST_COND_m68k96): Likewise.
12319         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12320         (TEST_COND_dbl_64): Likewise.
12321         (TEST_COND_ldbl_96_intel): Likewise.
12322         (TEST_COND_ldbl_96_m68k): Likewise.
12323         (TEST_COND_ldbl_128): Likewise.
12324         (TEST_COND_ldbl_128ibm): Likewise.
12326         (plus_zero): Redefine using LIT macro.
12327         (minus_zero): Likewise.
12328         (plus_infty): Redefine as (INF).
12329         (minux_infty): Redefine as (-INF).
12330         (max_value): Redefine as TYPE_MAX.
12331         (min_value): Redefine as TYPE_MIN.
12332         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12334         (print_float): Refactor to use snprintf to convert FLOAT values
12335         to string. This brings it closer to dropin replacement of strtof
12336         for the TS 18661 defined types.
12337         (update_stats): Likewise.
12338         (print_complex_function_ulps): Likewise.
12339         (print_max_error): Likewise.
12340         (print_complex_max_error): Likewise.
12341         (check_float_internal): Likewise.
12343         * math/test-float.h (PREFIX): New macro.
12344         (LIT): Likewise.
12345         (TYPE_STR): Likewise.
12346         (FTOSTR): Likewise.
12348         * math/test-double.h (PREFIX): New macro.
12349         (LIT): Likewise.
12350         (TYPE_STR): Likewise.
12351         (FTOSTR): Likewise.
12353         * math/test-ldouble.h (PREFIX): New macro.
12354         (LIT): Likewise.
12355         (TYPE_STR): Likewise.
12356         (FTOSTR): Likewise.
12358 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12360         [BZ #20156]
12361         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12362         to itself when zero or not finite.
12363         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12364         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12365         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12366         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12368 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12370         [BZ #20153]
12371         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12372         x * x + x for infinities and NaNs.
12374         [BZ #20151]
12375         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12376         argument to itself before returning result.
12377         (__ieee754_y0l): Likewise.
12378         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12379         (__ieee754_y1l).
12381         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12382         (atan_test_data): Likewise.
12383         (ceil_test_data): Likewise.
12384         (cos_test_data): Likewise.
12385         (cosh_test_data): Likewise.
12386         (erf_test_data): Likewise.
12387         (exp2_test_data): Likewise.
12388         (fabs_test_data): Likewise.
12389         (floor_test_data): Likewise.
12390         (ilogb_test_data): Likewise.
12391         (j0_test_data): Likewise.
12392         (j1_test_data): Likewise.
12393         (jn_test_data): Likewise.
12394         (lgamma_test_data): Likewise.
12395         (lrint_test_data): Likewise.
12396         (llrint_test_data): Likewise.
12397         (logb_test_data): Likewise.
12398         (lround_test_data): Likewise.
12399         (llround_test_data): Likewise.
12400         (nearbyint_test_data): Likewise.
12401         (rint_test_data): Likewise.
12402         (round_test_data): Likewise.
12403         (sin_test_data): Likewise.
12404         (sincos_test_data): Likewise.
12405         (sinh_test_data): Likewise.
12406         (sqrt_test_data): Likewise.
12407         (tan_test_data): Likewise.
12408         (tanh_test_data): Likewise.
12409         (tgamma_test_data): Likewise.
12410         (trunc_test_data): Likewise.
12411         (y0_test_data): Likewise.
12412         (y1_test_data): Likewise.
12413         (yn_test_data): Likewise.
12415         * math/libm-test.inc: Update comment about NaN testing.
12416         (TEST_SNAN): New macro.
12417         (snan_value): Likewise.
12418         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12419         (fpclassify_test_data): Add sNaN tests.
12420         (isfinite_test_data): Likewise.
12421         (isinf_test_data): Likewise.
12422         (isnan_test_data): Likewise.
12423         (isnormal_test_data): Likewise.
12424         (issignaling_test_data): Likewise.
12425         (signbit_test_data): Likewise.
12426         * math/gen-libm-test.pl (%beautify): Add snan_value.
12427         (show_exceptions): Add argument $test_snan.
12428         (parse_args): Handle snan_value as non-finite.  Update call to
12429         show_exceptions.
12430         * math/Makefile (libm-test-no-inline-cflags): Add
12431         -fsignaling-nans.
12433 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12435         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12436         (CFLAGS-oldsendmsg.c): Add rule.
12437         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12438         Correct recvmsg symbol name.
12439         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12440         Likewise.
12442 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12444         * sysdeps/unix/sysv/linux/Makefile
12445         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12446         oldsendmmsg.
12447         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12448         sendmmsg.
12449         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12452         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12457         Likewise.
12458         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12460         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12461         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12462         iovlen and controllen fields to adjust to POSIX specification.
12463         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12465         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12466         and change to correct expected type.
12467         (msghdr.msg_controllen): Likewise.
12468         (cmsghdr.cmsg_len): Likewise.
12469         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12470         expected POSIX assumption about the size.
12471         (msghdr.msg_controllen): Likewise.
12472         (msghdr.__glibc_reserved1): Likewise.
12473         (msghdr.__glibc_reserved2): Likewise.
12474         (cmsghdr.cmsg_len): Likewise.
12475         (cmsghdr.__glibc_reserved1): Likewise.
12476         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12477         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12478         (CFLAGS-sendmsg.c): Remove rule.
12479         (CFLAGS-recvmsg.c): Likewise.
12480         (CFLAGS-oldsendmsg.c): Add rule.
12481         (CFLAGS-oldrecvmsg.c): Likewise.
12482         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12483         recvmsg and sendmsg.
12484         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12485         Likewise.
12486         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12487         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12488         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12489         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12490         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12491         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12492         Likewise.
12493         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12494         Likewise.
12495         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12496         Likewise.
12497         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12498         Likewise.
12499         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12500         Likewise.
12501         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12502         Likewise.
12503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12504         (GLIBC_2.24): Likewise.
12505         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12506         Likewise.
12507         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12508         Likewise.
12509         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12510         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12511         Likewise.
12512         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12513         Likewise.
12514         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12515         Likewise.
12516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12517         (GLIBC_2.24): Likewise.
12518         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12519         Likewise.
12520         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12521         Likewise.
12522         * sysdeps/unix/sysv/linux/Makefile
12523         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12524         (CFLAGS-sendmsg.c): Add rule.
12525         (CFLAGS-recvmsg.c): Likewise.
12526         (CFLAGS-oldsendmsg.c): Likewise.
12527         (CFLAGS-oldrecvmsg.c): Likewise.
12528         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12529         initialization.
12530         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12531         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12532         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12533         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12534         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12535         iovlen and controllen fields to adjust to POSIX specification.
12536         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12537         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12538         added recvmsg and sendmsg.
12539         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12540         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12541         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12542         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12543         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12544         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12545         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12546         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12547         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12548         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12549         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12550         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12552         Likewise.
12553         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12555         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12556         Likewise.
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12559         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12560         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12561         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12562         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12563         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12565         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12567         Likewise.
12568         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12569         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12571         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12572         from auto-generation.
12573         (sendmsg): Likewise.
12574         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12575         (sendmsg): Likewise.
12576         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12577         (sendmsg): Likewise.
12578         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12579         (sendmsg): Likewise.
12580         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12581         (sendmsg): Likewise.
12582         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12583         (sendmsg): Likewise.
12584         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12585         Likewise.
12586         (sendmsg): Likewise.
12587         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12588         (sendmsg): Likewise.
12589         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12590         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12591         Remove.
12592         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12593         Likewise.
12594         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12595         Undefine.
12596         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12597         Likewise.
12598         * sysdeps/unix/sysv/linux/kernel-features.h
12599         (__ASSUME_SENDMSG_SYSCALL): Define.
12600         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12603         Remove.
12604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12605         Likewise.
12606         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12607         Undefine.
12608         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12609         Likewise.
12610         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12612         Remove.
12613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12614         Likewise.
12615         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12616         Undefine.
12617         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12618         Likewise.
12619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12620         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12621         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12622         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12623         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12624         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12625         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12626         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12627         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12629 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12631         * stdlib/gen-tst-strtod-round.c: Add backslash to
12632         compile command in comment.
12633         (printfp): Remove the literal suffix, and define an infinite
12634         value as INF to avoid expansion clash with INFINITY.
12635         (round_str): Remove the literal suffix.
12636         (round_for_all): Likewise, remove the now duplicate ldbl-64
12637         entry, and remove some magic constants.
12639         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12640         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12641         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12642         (_CONCAT): New macro.
12643         (CONCAT): Likewise.
12644         (CHOOSE_ld): Likewise.
12645         (CHOOSE_f): Likewise.
12646         (CHOOSE_d): Likewise.
12647         (FTYPE_MEMBER): Likewise.
12648         (BOOL_MEMBER): Likewise.
12649         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12650         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12651         (_XNTRY): Likewise.
12652         (XNTRY): Likewise.
12653         (_ENTRY): Likewise.
12654         (ENTRY): Likewise.
12655         (test_exactness): Generate members via macro.
12656         (test_results): Likewise.
12657         (test): Update members.
12658         (TEST): Redefine using new macros.
12659         (INF): New macro.
12660         (fetestmodes): New structure.
12661         (do_test): Refactor to be type generic.
12662         (test_in_one_mode): Refactor duplicate code into
12663         (GEN_ONE_TEST): New macro.
12665         * stdlib/tst-strtod-round-data.h: Regenerate.
12667         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12668         Extend to pass additional arbitrary parameters to
12669         generators.
12671 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12673         [BZ #15479]
12674         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12675         floating-point state after first floating-point operation on
12676         input.  Restore full floating-point state instead of just rounding
12677         mode.
12678         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12679         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12680         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12681         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12682         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12684         [BZ #15479]
12685         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12686         floating-point state after first floating-point operation on
12687         input.  Restore full floating-point state instead of just rounding
12688         mode.
12689         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12690         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12691         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12692         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12693         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12695 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12697         [BZ #19727]
12698         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12699         valid high surrogate.
12700         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12701         of an utf16 surrogate.
12702         * iconv/gconv_simple.c (BODY): Likewise.
12703         * iconvdata/bug-iconv12.c: New file.
12704         * iconvdata/Makefile (tests): Add bug-iconv12.
12706 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12708         [BZ #19726]
12709         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12710         outptrp in case of an illegal input.
12711         * iconv/tst-iconv6.c: New file.
12712         * iconv/Makefile (tests): Add tst-iconv6.
12714 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12716         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12717         an error in case of a value in range of an utf16 low surrogate.
12719 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12721         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12722         an error in case of a value in range of an utf16 low surrogate.
12724 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12726         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12727         Move to ...
12728         * sysdeps/s390/Makefile: ... here.
12729         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12730         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12731         (BRANCH_ON_COUNT): New define.
12732         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12733         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12734         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12735         run on s390-32, too.
12736         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12737         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12738         run on s390-32, too.
12739         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12740         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12741         run on s390-32, too.
12743 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12745         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12746         etf3eh or new vector loop-variant.
12748 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12750         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12751         etf3eh or new vector loop-variant.
12753 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12755         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12756         or new vector loop-variant.
12758 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12760         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12761         Rename to TR_LOOP and usage of tr instead of troo instruction.
12763 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12765         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12768 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12770         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12771         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12772         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12773         New override define.
12774         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12776 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12778         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12779         * sysdeps/s390/configure.ac: Add test for S390 vector register
12780         support in gcc.
12781         * sysdeps/s390/configure: Regenerated.
12783 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12785         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12786         Install file from $(objpfx)gconv-modules.
12787         ($(objpfx)gconv-modules): Concatenate architecture specific file
12788         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12789         * sysdeps/s390/gconv-modules: New file.
12790         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12791         Deleted.
12792         ($(objpfx)gconv-modules-s390): Deleted.
12793         (sysdeps-gconv-modules): New variable.
12795 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12797         [BZ #15479]
12798         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12799         of immediate operand to rounding instruction.
12800         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12801         Likewise.
12802         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12803         Likewise.
12804         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12805         Likewise.
12807 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12809         * math/libm-test.inc (MIN_EXP): Directly define as
12810         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12812 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12814         * math/libm-test.inc (MANT_DIG): Directly define as
12815         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12817 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12819         * stdlib/gen-tst-strtod-round.c (main):
12820           Change usage to more closely match the generated
12821           output.  Add usage and compilation instructions.
12822           (string_to_fp): Add and use FILE* parameter as
12823           output target.
12824           (print_fp): Likewise.
12825           (round_str): Likewise.
12826           (round_for_all): Likewise.
12827         * stdlib/tst-strtod-round.c (tests): Move into
12828         * stdlib/tst-strtod-round-data.h: New file.
12830 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12832         [BZ #15479]
12833         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12834         (__round): Do not force "inexact" exception.
12835         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12836         variable.
12837         (__round): Do not force "inexact" exception.
12838         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12839         (__roundf): Do not force "inexact" exception.
12840         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12841         (__roundl): Do not force "inexact" exception.
12842         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12843         (__roundl): Do not force "inexact" exception.
12844         * math/libm-test.inc (round_test_data): Do not allow spurious
12845         "inexact" exceptions.
12847         [BZ #15479]
12848         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12849         exception in comment.
12850         (huge): Remove variable.
12851         (__floor): Do not force "inexact" exception.
12852         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12853         "inexact" exception in comment.
12854         (huge): Remove variable.
12855         (__floor): Do not force "inexact" exception.
12856         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12857         exception in comment.
12858         (huge): Remove variable.
12859         (__floorf): Do not force "inexact" exception.
12860         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12861         exception in comment.
12862         (huge): Remove variable.
12863         (__floorl): Do not force "inexact" exception.
12865         [BZ #15479]
12866         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12867         exception in comment.
12868         (huge): Remove variable.
12869         (__ceil): Do not force "inexact" exception.
12870         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12871         "inexact" exception in comment.
12872         (huge): Remove variable.
12873         (__ceil): Do not force "inexact" exception.
12874         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12875         (__ceilf): Do not force "inexact" exception.
12876         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12877         exception in comment.
12878         (huge): Remove variable.
12879         (__ceill): Do not force "inexact" exception.
12881 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12883         * config.h.in (BIND_NOW): New.
12884         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12885         * configure: Regenerated.
12886         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12887         indirect branch via the GOT slot.
12889 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12891         [BZ #19765]
12892         * sysdeps/s390/mempcpy.S: New File.
12893         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12894         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12895         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12896         Add mempcpy variants.
12897         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12898         (memcpy): Adjust to be usable from mempcpy entry point.
12899         (__memcpy_mvcle): Likewise.
12900         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12901         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12902         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12903         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12904         (__memcpy_z10): Likewise.
12905         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12907 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12909         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12910         Remove __GI_ symbol.
12911         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12912         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12913         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12914         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12915         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12916         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12918 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12920         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12921         Use cghi instead of chi to compare 64bit value.
12923 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12925         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12926         Jump to 1MB check before executing mvc-loop.
12928 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12930         [BZ #6527]
12931         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12932         unconditionally.
12933         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12935 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12937         * stdlib/tst-strtod6.c (do_test): Use new type generic
12938         invocation of the test function.
12939         (test): Refactor into ...
12940         (TEST_STRTOD): New macro base function.
12942 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12944         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12945         (TEST_STRTOD): New macro.
12946         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12948 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12950         * stdlib/tst-strtod6.c (do_test): Use new type generic
12951         invocation of the test function.
12952         (test): Refactor into ...
12953         (TEST_STRTOD): New macro base function.
12955 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12957         CVE-2016-4429
12958         [BZ #20112]
12959         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12960         payload.
12962 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12964         [BZ #20111]
12965         * bits/sockaddr.h (_SS_SIZE): Define.
12966         * bits/socket.h (_SS_SIZE): Remove.
12967         (_SS_PADSIZE): Adjust to account for all padding.
12968         (struct sockaddr_storage): Update comment.  Avoid implicit
12969         padding.
12970         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12971         (_SS_PADSIZE): Adjust to account for all padding.
12972         (struct sockaddr_storage): Update comment.  Avoid implicit
12973         padding.
12974         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12975         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12976         (_SS_PADSIZE): Adjust to account for all padding.
12977         (struct sockaddr_storage): Update comment.  Avoid implicit
12978         padding.
12979         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12980         __SS_SIZE is 126 in this version.
12981         * inet/tst-sockaddr.c: New file.
12982         * inet/Makefile (tests): Add tst-sockaddr.c
12983         (tst-sockaddr.c): Compile with non-strict aliasing.
12985 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12987         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12988         [XPG3 || XPG4].
12989         (NL_ARGMAX): Also expect for [XPG3].
12990         (NL_LANGMAX): Likewise.
12991         (NL_MSGMAX): Likewise.
12992         (NL_NMAX): Likewise.
12993         (NL_SETMAX): Likewise.
12994         (NL_TEXTMAX): Likewise.
12995         (NZERO): Likewise.
12996         (TMP_MAX): Likewise.
12997         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12998         variable.
13000         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13001         (PF_MAX): Update value.
13002         (AF_KCM): New macro.
13003         (SOL_NETBEUI): Likewise.
13004         (SOL_LLC): Likewise.
13005         (SOL_DCCP): Likewise.
13006         (SOL_NETLINK): Likewise.
13007         (SOL_TIPC): Likewise.
13008         (SOL_RXRPC): Likewise.
13009         (SOL_PPPOL2TP): Likewise.
13010         (SOL_BLUETOOTH): Likewise.
13011         (SOL_PNPIPE): Likewise.
13012         (SOL_RDS): Likewise.
13013         (SOL_IUCV): Likewise.
13014         (SOL_CAIF): Likewise.
13015         (SOL_ALG): Likewise.
13016         (SOL_NFC): Likewise.
13017         (SOL_KCM): Likewise.
13018         (MSG_BATCH): New enum value and macro.
13020 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13022         [BZ #18185]
13023         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13024         sharing L2 cache to 2 for Knights Landing.
13026 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13028         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13029         (FTW_DP): Do not expect for [XPG3 || XPG4].
13030         (FTW_SL): Do not expect for [XPG3].
13031         (FTW_SLN): Likewise.
13032         (FTW_PHYS): Likewise.
13033         (FTW_MOUNT): Likewise.
13034         (FTW_DEPTH): Likewise.
13035         (FTW_CHDIR): Likewise.
13036         (nftw): Likewise.
13037         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13038         variable.
13040 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13042         * manual/errno.texi: Fix various typos & grammar errors.
13044 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13046         * manual/intro.texi: Fix duplicated typo.
13048 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13050         [BZ #13304]
13051         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13052         <float.h>, <math_private.h> and <stdlib.h>.
13053         (add_split): New function.
13054         (mul_split): Likewise.
13055         (ext_val): New typedef.
13056         (store_ext_val): New function.
13057         (mul_ext_val): New function.
13058         (compare): New function.
13059         (add_split_ext): New function.
13060         (__fmal): After checking for Inf, NaN and zero, compute result as
13061         an exact sum of scaled double values in round-to-nearest before
13062         adding those up and adjusting for other rounding modes.
13063         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13064         tests of fma.
13065         * math/auto-libm-test-out: Regenerated.
13067 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13069         [BZ #20119]
13070         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13071         processor level type mask for CPUID with EAX == 11.
13073 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13075         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13076         logical threads if the HTT bit is 0.
13077         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13078         (index_cpu_HTT): Likewise.
13079         (reg_HTT): Likewise.
13081 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13083         [BZ #20115]
13084         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13085         Remove alignments on jump targets.
13087 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13089         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13090         (getpwent): Likewise.
13091         (setpwent): Likewise.
13092         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13093         variable.
13095         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13096         (remque): Likewise.
13097         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13098         variable.
13100 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13102         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13103         not being tested.
13105 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13107         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13108         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13109         call.
13110         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13111         (__condvar_cleanup1): Likewise.
13113 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13115         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13116         New
13117         (__pthread_unwind): Renamed to ...
13118         (PTHREAD_UNWIND): This.
13119         (__pthread_enable_asynccancel): Replace
13120         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13122 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13124         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13125         (CLONE_NEWCGROUP): New macro.
13127         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13128         (Q_GETNEXTQUOTA): New macro.
13130 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13132         [BZ #19907]
13133         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13134         buffer updated by the previous run.
13135         * string/test-memcpy.c (do_one_test): Likewise.
13136         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13137         * string/test-memmove.c (do_one_test): Likewise.
13139 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13141         [BZ #20094]
13142         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13143         not [__USE_XOPEN].
13144         (unlockpt): Likewise.
13145         (ptsname): Likewise.
13146         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13147         variable.
13149         [BZ #20076]
13150         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13151         instead of [__USE_UNIX98].
13152         (S_ISSOCK): Likewise.
13153         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13154         variable.
13156         [BZ #20074]
13157         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13158         [__USE_POSIX].
13159         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13160         variable.
13162         [BZ #20051]
13163         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13164         (ttyslot): Do not declare.
13165         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13166         (ttyslot): New prototype.
13167         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13168         variable.
13169         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13171 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13173         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13175 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13177         Fix race condition in tst-mallocfork2, use fewer resources.
13178         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13179         to current process group.
13180         (signal_sender): Yield in the non-sleeping case.
13182 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13184         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13185         (ecvt): Likewise.
13186         (fcvt): Likewise.
13187         (gcvt): Likewise.
13188         (getsubopt): Likewise.
13189         (grantpt): Likewise.
13190         (initstate): Likewise.
13191         (l64a): Likewise.
13192         (mktemp): Likewise.
13193         (mkstemp): Likewise.
13194         (ptsname): Likewise.
13195         (random): Likewise.
13196         (realpath): Likewise.
13197         (setstate): Likewise.
13198         (srandom): Likewise.
13199         (ttyslot): Likewise.
13200         (unlockpt): Likewise.
13201         (valloc): Likewise.
13203         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13204         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13205         variable.
13207 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13209         [BZ #20072]
13210         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13211         init_cpu_features only if SHARED is defined.
13212         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13214 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13216         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13217         non-inclusive caches on Intel processors.
13219 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13221         * malloc/malloc.c (dumped_main_arena_start)
13222         (dumped_main_arena_end): New variables.
13223         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13224         (do_check_chunk): Skip dumped fake mmapped chunks.
13225         (munmap_chunk): Likewise.
13226         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13227         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13228         mmapped chunks.
13229         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13230         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13231         and dumped_main_arena_end to cover the dumped heap.
13233 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13235         * conform/data/time.h-data (getdate_err): Do not expect for
13236         [XPG3].
13237         (getdate): Likewise.
13238         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13239         variable.
13241         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13242         (F_ULOCK): Likewise.
13243         (F_TEST): Likewise.
13244         (F_TLOCK): Likewise.
13245         (useconds_t): Likewise.
13246         (intptr_t): Do not expect for [XPG3] or [XPG4].
13247         (brk): Do not expect for [XPG3]
13248         (fchown): Likewise.
13249         (fchdir): Likewise.
13250         (ftruncate): Likewise.
13251         (getdtablesize): Likewise.
13252         (gethostid): Likewise.
13253         (getpagesize): Likewise.
13254         (getpgid): Likewise.
13255         (getsid): Likewise.
13256         (getwd): Likewise.
13257         (lchown): Likewise.
13258         (lockf): Likewise.
13259         (readlink): Likewise.
13260         (sbrk): Likewise.
13261         (setpgrp): Likewise.
13262         (setregid): Likewise.
13263         (setreuid): Likewise.
13264         (symlink): Likewise.
13265         (sync): Likewise.
13266         (truncate): Likewise.
13267         (ualarm): Likewise.
13268         (usleep): Likewise.
13269         (vfork): Likewise.
13270         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13271         variable.
13273         [BZ #20054]
13274         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13275         not [__USE_UNIX98].
13276         * conform/data/unistd.h-data (gethostname): Do not expect for
13277         [XPG3].
13279         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13280         [!POSIX] (S_IFBLK): Likewise.
13281         [!POSIX] (S_IFCHR): Likewise.
13282         [!POSIX] (S_IFIFO): Likewise.
13283         [!POSIX] (S_IFREG): Likewise.
13284         [!POSIX] (S_IFDIR): Likewise.
13285         [!POSIX] (S_IFLNK): Likewise.
13286         [!POSIX] (S_IFSOCK): Likewise.
13287         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13288         variable.
13289         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13291 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13293         * sysdeps/aarch64/memset.S (__memset):
13294         Rewrite of optimized memset.
13296 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13298         [BZ #19703]
13299         Partially async-signal-safe fork for single-threaded processes.
13300         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13301         variable.  Do not acquire and reset/release malloc and libio locks
13302         in single-threaded processes.
13303         * malloc/tst-mallocfork2.c: New file.
13304         * malloc/Makefile (tests): Add it.
13306 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13308         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13309         argument.  Use scratch buffer instead of extend_alloca.
13310         (gethosts): Use scratch buffer instead of extend_alloca.
13311         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13312         extend_alloca.
13313         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13315 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13317         [BZ #20055]
13318         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13319         instead of [__USE_UNIX98].
13320         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13321         [__USE_UNIX98].
13322         * conform/data/termios.h-data (tcgetsid): Do not expect for
13323         [XPG3].
13324         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13325         variable.
13326         (test-xfail-XPG4/termios.h/conform): Likewise.
13328 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13330         Do not use mcheck in localedef.
13331         * locale/programs/localedef.c (turn_on_mcheck)
13332         (__malloc_initialize_hook): Remove.
13334 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13336         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13337         * sysdeps/s390/s390-64/Makefile: Likewise.
13339 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13341         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13342         Remove ifunc-defines.sym.
13343         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13344         Likewise.
13345         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13346         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13347         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13348         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13349         rtld-global-offsets.sym.
13350         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13351         * sysdeps/x86/cpu-features-offsets.sym: This.
13352         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13353         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13355 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #20073]
13358         * io/sys/stat.h (fchmod): Declare for
13359         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13360         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13361         variable.
13363         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13364         [XPG3] (S_IFSOCK): Likewise.
13365         [XPG3] (S_ISVTX): Likewise.
13366         [XPG3] (S_ISLNK): Likewise.
13367         [XPG3] (S_ISSOCK): Likewise.
13368         [XPG3] (fchmod): Likewise.
13369         [XPG3] (lstat): Likewise.
13370         [XPG3] (mknod): Likewise.
13372         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13373         [XPG3].  Expect type long and XFAIL for [XPG4].
13374         (st_blocks): Likewise.
13376         [BZ #20044]
13377         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13378         (pthread_atfork): New prototype.
13379         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13380         variable.
13382         [BZ #20043]
13383         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13384         prototype.
13386 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13388         [BZ #20017]
13389         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13390         gmtime.
13392 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13394         [BZ #19994]
13395         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13396         flag in _res.options.
13398 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13400         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13401         [XPG3 || XPG4].
13402         (blksize_t): Likewise.
13403         (clockid_t): Likewise.
13404         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13405         variable.
13406         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13408 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13410         * sysdeps/unix/sysv/linux/s390/init-first.c:
13411         Add VDSO_SYMBOL(getcpu).
13412         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13413         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13414         Add VDSO_SYMBOL(getcpu).
13415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13416         New define HAVE_GETCPU_VSYSCALL.
13417         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13419 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13421         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13422         instead of <sysdeps/x86_64/cacheinfo.c>.
13423         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13424         * sysdeps/x86/cacheinfo.c: Here.
13426 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13428         * malloc/malloc-internal.h: Adjust header file guard.
13430 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13432         [BZ #19787]
13433         * inet/getnameinfo.c (check_sprintf_result): New function.
13434         (CHECKED_SNPRINTF): New macro.
13435         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13436         to the host buffer.
13437         (gni_host_local): Use checked_copy to copy the host name.
13438         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13439         (gni_serv_local): Use checked_copy to copy the service name.
13440         (getnameinfo): Remove unnecessary truncation of result buffers.
13442 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13444         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13445         in case of inet_ntop failure.
13447 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13449         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13450         avoid long lines.
13451         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13452         variables.
13453         (gni_host_inet, gni_host_local): Add comment.
13454         (gni_host): Add comment.  Use temporary to avoid long lines.
13456 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13458         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13459         registers specifiers where general purpose registers specifiers should
13460         have been used.
13462 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13464         [BZ #19779]
13465         CVE-2016-1234
13466         Avoid copying names of directory entries.
13467         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13468         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13469         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13470         (struct readdir_result): New type.
13471         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13472         (GL_READDIR): New macros.
13473         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13474         (convert_dirent, convert_dirent64): New functions.
13475         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13476         convert_dirent64.  Adjust references to the readdir result.
13477         * sysdeps/unix/sysv/linux/i386/glob64.c:
13478         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13479         * posix/bug-glob2.c (LONG_NAME): Define.
13480         (filesystem): Add LONG_NAME.
13481         (my_DIR): Increase the size of room_for_dirent.
13483 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13485         [BZ #20041]
13486         * misc/sys/select.h (__need_timespec): Only define if
13487         [__USE_XOPEN2K].
13488         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13489         variable.
13490         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13491         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13492         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13494 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13495             Segher Boessenkool  <segher@gcc.gnu.org>
13497         [BZ #20004]
13498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13499         (__novec_swapcontext): Add missing load.
13501 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13503         [BZ #20023]
13504         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13505         <time.h>.
13506         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13507         variable.
13508         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13510 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13513         flags CLONE_VM compare.
13515 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13517         [BZ #20031]
13518         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13519         completely empty.
13521 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13523         [BZ #19573]
13524         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13525         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13526         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13527         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13528         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13529         (hesiod_free_list): Mark as hidden.
13530         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13531         res_set, res_get.
13532         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13533         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13534         (hesiod_init): Remove obsolete res_ninit call.
13535         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13536         (hesiod_bind): Do not call init.
13537         (get_txt_records): Use res_mkquery, res_send instead of
13538         res_nmkquery, res_nsend.
13539         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13540         instead of _nss_hesiod_init.
13541         (_nss_hesiod_initgroups_dyn): Likewise.
13542         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13543         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13544         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13546 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13548         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13549         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13551 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13553         * hesiod/hesiod.h: Remove RCS keyword.
13554         * hesiod/hesiod_p.h: Likewise.
13556         * hesiod/hesiod.c: Likewise.
13558 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13560         [BZ #12450]
13561         * locale/iso-639.def: Add Samogitian/sgs.
13563 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13565         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13567         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13569 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13570             Carlos O'Donell  <carlos@redhat.com>
13572         [BZ #19072]
13573         * grp/Makefile (headers): Add grp-merge.h
13574         (routines): Add grp-merge.
13575         * grp/getgrgid_r.c: Include grp-merge.h.
13576         (DEEPCOPY_FN): Define.
13577         (MERGE_FN): Define.
13578         * grp/getgrname_r.c: Include grp-merge.h.
13579         (DEEPCOPY_FN): Define.
13580         (MERGE_FN): Define.
13581         * grp/grp-merge.c: New file.
13582         * grp/grp-merge.h: New file.
13583         * include/grp-merge.h: New file.
13584         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13585         __copy_grp@GLIBC_PRIVATE.
13586         * manual/nss.texi (Actions in the NSS configuration): Describe
13587         return, continue, and merge.
13588         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13589         (DEEPCOPY_FN): Define.
13590         (MERGE_FN): Define.
13591         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13592         (DEEPCOPY_FN): Define.
13593         (MERGE_FN): Define.
13594         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13595         [!MERGE_FN]: Define __merge_einval.
13596         (CHECK_MERGE): Define.
13597         (REENTRANT_NAME): Process merge if do_merge is true.
13598         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13599         (__nss_getent_r): Likewise.
13600         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13601         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13603 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13605         [BZ #20012]
13606         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13607         length to calculate the buffer to read.
13608         (fmemopen_write): Set the buffer position based on bytes written.
13609         (fmemopen_seek): Return EINVAL for invalid whence modes.
13611         [BZ #19957]
13612         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13613         tst-getpid2.
13614         (test): Add tst-clone2.
13615         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13616         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13617         pid/tid fields for CLONE_VM.
13618         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13619         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13620         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13621         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13622         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13623         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13624         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13625         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13627         Likewise.
13628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13629         Likewise.
13630         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13631         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13632         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13633         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13634         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13635         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13636         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13637         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13639 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13641         [BZ #19642]
13642         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13643         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13644         (gni_serv_local, gni_serv): New functions extracted from
13645         getnameinfo.
13646         (getnameinfo): Call gni_host and gni_serv to perform the
13647         processing.  Always free scratch buffer.
13649 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13651         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13652         remaining bytes in the dest string, with zeros.
13654 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13656         [BZ #20010]
13657         CVE-2016-3706
13658         * sysdeps/posix/getaddrinfo.c
13659         (convert_hostent_to_gaih_addrtuple): New function.
13660         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13661         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13662         AF_INET data.
13664 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13666         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13667         callback function gl_readdir.
13668         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13669         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13670         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13671         memcpy to copy the name.
13672         * manual/pattern.texi (Calling Glob): Document requirements for
13673         implementations of the gl_readdir callback function.
13674         * manual/examples/mkdirent.c: New example.
13675         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13676         per the manual guidance.
13677         * posix/tst-gnuglob.c (my_readdir): Likewise.
13679 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13681         [BZ #20014]
13682         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13683         not [__USE_POSIX].
13684         (getchar_unlocked): Likewise.
13685         (putc_unlocked): Likewise.
13686         (putchar_unlocked): Likewise.
13687         (flockfile): Likewise.
13688         (ftrylockfile): Likewise.
13689         (funlockfile): Likewise.
13690         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13691         variable.
13692         (test-xfail-XPG4/stdio.h/conform): Likewise.
13694         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13695         Expect constant.
13696         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13697         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13698         variable.
13699         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13700         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13702         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13703         [__USE_LARGEFILE64] (off64_t): Likewise.
13704         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13705         variable.
13707 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13709         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13711 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13713         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13714         * resolv/res_init.c: Likewise.
13715         * resolv/res_mkquery.c: Likewise.
13717 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13719         * resolv/res_init.c (isascii): Do not define.  Use definition in
13720         <ctype.h>.
13721         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13722         (LOG_AUTH): Remove.
13723         (SPRINTF): Remove, adjust caller.
13724         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13726 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13728         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13729         SUNSECURITY conditional.
13730         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13732 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13734         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13735         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13736         Remove BSD-related preprocessor conditionals.
13737         * conf/portability.h: Remove.
13739 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13741         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13742         * resolv/res_data.c: Likewise.
13744 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13746         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13747         * resolv/res_data.c: Remove code conditional on ultrix.
13749 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13751         * resolv/res_init.c (RFC1535): Do not define.  Remove
13752         RFC1535 preprocessor conditionals.
13753         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13754         because there configuration options which make the resolver
13755         behavior different.
13757 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13759         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13760         RESOLVSORT preprocessor conditionals.
13761         * resolv/nss_dns/dns-host.c: Likewise.
13762         * resolv/res_init.c: Likewise.
13764 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13766         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13767         is never defined.
13769 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13771         * inet/inet_lnaof.c: Remove SCSS keyword.
13772         * inet/inet_mkadr.c: Likewise.
13773         * inet/inet_net.c: Likewise.
13774         * inet/inet_netof.c: Likewise.
13775         * inet/rcmd.c: Likewise.
13776         * inet/rexec.c: Likewise.
13777         * inet/ruserpass.c: Likewise.
13779 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13781         * resolv/inet_addr.c: Remove _LIBC conditionals.
13782         * resolv/res_data.c: Likewise.
13783         * resolv/res_init.c: Likewise.
13784         * resolv/res_mkquery.c: Likewise.
13785         * resolv/res_libc.c: Update comment.
13786         * resolv/README: Update.
13788 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13790         * resolv/gethnamaddr.c: Remove SCSS keyword.
13791         * resolv/herror.c: Likewise.
13792         * resolv/inet_addr.c: Likewise.
13793         * resolv/inet_net_ntop.c: Likewise.
13794         * resolv/inet_net_pton.c: Likewise.
13795         * resolv/inet_neta.c: Likewise.
13796         * resolv/inet_ntop.c: Likewise.
13797         * resolv/inet_pton.c: Likewise.
13798         * resolv/ns_date.c: Remove RCS keyword.
13799         * resolv/ns_name.c: Likewise.
13800         * resolv/ns_netint.c: Likewise.
13801         * resolv/ns_parse.c: Likewise.
13802         * resolv/ns_print.c: Likewise.
13803         * resolv/ns_samedomain.c: Likewise.
13804         * resolv/ns_ttl.c: Likewise.
13805         * resolv/nsap_addr.c: Likewise.
13806         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13807         * resolv/res_data.c: Remove RCS keyword.
13808         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13809         * resolv/res_init.c: Likewise.
13810         * resolv/res_mkquery.c: Likewise.
13811         * resolv/res_query.c: Likewise.
13812         * resolv/res_send.c: Likewise.
13814 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13816         * conform/data/stdio.h-data (fdopen): Expect also for
13817         [XPG3 || XPG4].
13819         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13820         (fseeko): Likewise.
13821         (ftello): Likewise.
13822         (ftrylockfile): Likewise.
13823         (funlockfile): Likewise.
13824         (getc_unlocked): Likewise.
13825         (getchar_unlocked): Likewise.
13826         (putc_unlocked): Likewise.
13827         (putchar_unlocked): Likewise.
13829 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13831         [BZ #19868]
13832         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13833         DNS packet syntax checks (which were not needed before).  Skip
13834         over non-PTR records.
13836 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13838         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13839         definition.  Include <stddef.h> instead.
13841 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13843         [BZ #19831]
13844         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13845         function.
13846         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13847         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13849 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13851         [BZ #19862]
13852         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13853         (getanswer_r): Do not call syslog.
13854         (gaih_getanswer_slice): Likewise.
13855         * resolv/gethnamaddr.c (AskedForGot): Remove.
13856         (getanswer): Do not call syslog.
13857         (gethostbyaddr): Likewise.
13859 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13861         * conform/data/signal.h-data (union sigval): Expect also if
13862         [XOPEN2K].
13863         (struct sigevent): Likewise.
13864         (SIGEV_NONE): Likewise.
13865         (SIGEV_SIGNAL): Likewise.
13866         (SIGEV_THREAD): Likewise.
13867         (SIGRTMIN): Likewise.
13868         (SIGRTMAX): Likewise.
13869         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13870         variable.
13871         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13873 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13875         [BZ #19830]
13876         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13877         (gaih_getanswer_slice): Likewise.
13878         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13879         Also check for availability of RR metadata.
13881 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13883         [BZ #19825]
13884         * resolv/res_send.c (send_vc): Remove early *resplen2
13885         initialization.  Set *resplen2 on socket error.  Call
13886         close_and_return_error for other errors.
13888 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13890         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13891         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13892         (SCM_IUCV_TRGCLS): New define.
13894 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13896         [BZ #20005]
13897         * libio/fmemopen.c (fmemopen_write): Update internal position after
13898         write.
13899         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13900         * stdio-common/tst-fmemopen4.c: New file..
13902 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13904         [BZ #19996]
13905         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13906         not [__USE_XOPEN2K].
13907         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13908         variable.
13910         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13911         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13912         variable.
13914         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13915         [__USE_XOPEN2K8].
13916         [__USE_LARGEFILE64] (off64_t): Likewise.
13917         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13918         variable.
13920 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13922         [BZ #19989]
13923         * libio/stdio.h (cuserid): Do not declare if
13924         [__USE_XOPEN2K && !__USE_GNU].
13925         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13926         variable.
13928 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13930         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13931         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13933         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13934         ifunc'ed strcspn.
13935         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13936         [EALIGN]: Removed.
13937         [END]: Likewise
13938         [STRSPN]: Define instead of the above to control symbol name.
13939         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13940         New file.
13941         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13942         Likewise.
13943         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13944         Likewise.
13945         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13946         Likewise.
13947         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13948         [INITIAL_MASK]: New macro.
13949         [STRCSPN]: Likewise.
13950         [UPDATE_MASK]: Likewise.
13951         [USE_AS_STRCSPN]: Likewise.
13953 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13955         [BZ #19931]
13956         * stdio-common/tst-vfprintf-width-prec.c: New file.
13957         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13958         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13959         (generated): Add mtrace-related files.
13960         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13961         (tst-%-mem.out): New pattern rule, replaces
13962         tst-printf-bz18872-mem.out.
13963         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13964         specifier, deallocate any previously allocated work buffer.
13966 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13968         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13969         Add nop before __startcontext, add explaining comments.
13971 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13973         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13974         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13975         completely different API.
13977         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13978         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13979         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13980         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13981         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13982         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13983         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13984         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13985         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13986         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13988 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13990         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13992 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13994         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13995         when it is the default of 0.
13997 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13999         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14000         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14001         (sysdep_routines): Add new strcasestr targets.
14002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14003         (__libc_ifunc_impl_list): Likewise.
14004         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14005         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14006         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14007         * sysdeps/powerpc/powerpc64/power8/Makefile:
14008         New file to add strcasestr-ppc64 to sysdep_routines.
14009         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14010         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14012 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14014         * benchtests/Makefile (wcsmbs-benchset): Include only for
14015         native builds and runs.
14016         (LOCALES): Likewise.
14017         (bench-build): Build timing-type here instead of the bench
14018         target.  Generate locale only for native builds.
14019         * benchtests/README: Add note for cross-building.
14021         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14023         * benchtests/README: Update README to include instructions on
14024         using bench-build.
14026         * Makefile.in (bench-build): New target.
14027         * Rules (PHONY): Add bench-build target.
14028         * benchtests/Makefile (bench): Depend on bench-build.
14029         (bench-build): New target.
14031 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14033         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14034         profil_reply_port.
14035         (profile_waiter): Do not initialize profil_reply_port.
14036         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14037         frequency instead of tick length in us.
14039 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14041         [BZ #18712]
14042         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14043         (__old_mempcpy_small): Likewise.
14044         (__old_strcpy_small): Likewise.
14045         (__old_stpcpy_small): Likewise.
14046         (__old_strpbrk_c2): Fix compat symbol name.
14047         (__old_strpbrk_c3): Likewise.
14048         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14049         (__mempcpy_small): Remove.
14050         (__strcpy_small): Remove.
14051         (__stpcpy_small): Remove.
14053 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14055         [BZ #19400]
14056         * locale/iso-639.def: Add the Talossan/tzl language.
14058 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14060         [BZ #16983]
14061         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14062         comment.  Add "ln" to strchr check on postal_fmt.
14064 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14066         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14067         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14068         tel_dom_fmt.
14070 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14072         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14073         (sysdep_routines): Added __strlen_power8.
14074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14075         __strlen_power8 entry.
14076         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14077         Implementation for POWER8.
14078         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14079         for __strlen_power8.
14080         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14081         Implementation for POWER8.
14083 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14085         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14087 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14089         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14090         Goldmont and Airmont processors.
14092 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14094         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14095         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14096         (__STRING2_SMALL_GET32): Remove.
14097         (memset): Remove.
14098         (__memset_1): Remove.
14099         (__memset_gc): Remove.
14100         (__mempcpy): Remove.
14101         (mempcpy): Remove.
14102         (__mempcpy_args): Remove.
14103         (strchr): Remove.
14104         (strcpy): Remove.
14105         (strcpy_args): Remove.
14106         (__stpcpy_args): Remove.
14107         (__strcmp_cc): Remove.
14108         (__strcmp_gc): Remove.
14109         (strstr): Remove.
14111 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14113         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14114         * nis/nis_call.c (nis_server_cache_add): Likewise.
14116 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14118         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14120 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14122         * malloc/arena.c (__malloc_fork_lock_parent)
14123         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14124         internal_function attribute.
14126 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14128         * stdio-common/printf_fp.c (__printf_fp_l):
14129         Rename ___printf_fp_l to __printf_fp_l and
14130         remove strong alias. Use libc_hidden_def instead
14131         of ldbl_hidden_def macro.
14133 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14135         Remove malloc hooks from fork handler.  They are no longer needed
14136         because malloc runs right before fork, and no malloc calls from
14137         other fork handlers are not possible anymore.
14138         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14139         declarations.
14140         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14141         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14142         (atfork_recursive_cntr): Remove.
14143         (__malloc_fork_lock_parent): Do not override malloc hooks and
14144         thread_arena.
14145         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14146         thread_arena.
14147         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14148         thread_arena instead of save_arena.
14150 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14152         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14153         (thread_atfork, thread_atfork_static): Remove.
14154         * sysdeps/mach/hurd/malloc-machine.h:
14155         (thread_atfork, thread_atfork_static): Remove.
14157 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14159         [BZ #19431]
14160         Run the malloc fork handler as late as possible to avoid deadlocks.
14161         * malloc/malloc-internal.h: New file.
14162         * malloc/malloc.c: Include it.
14163         * malloc/arena.c (ATFORK_MEM): Remove.
14164         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14165         Update comment.
14166         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14167         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14168         Remove outdated comment.
14169         (ptmalloc_init): Do not call thread_atfork.  Remove
14170         thread_atfork_static.
14171         * malloc/tst-malloc-fork-deadlock.c: New file.
14172         * Makefile (tests): Add tst-malloc-fork-deadlock.
14173         (tst-malloc-fork-deadlock): Link against libpthread.
14174         * manual/memory.texi (Aligned Memory Blocks): Update safety
14175         annotation comments.
14176         * sysdeps/nptl/fork.c (__libc_fork): Call
14177         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14178         __malloc_fork_unlock_child.
14179         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14181 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14183         [BZ #19613]
14184         Remove union wait.
14185         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14186         (w_stopsig, w_stopval): Remove.
14187         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14188         stat_loc argument.
14189         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14190         (__WAIT_STATUS_DEFN): Remove.
14191         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14192         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14193         (wait, wait3, wait4): Use int * for the stat_loc argument.
14194         * posix/wait.c (__wait): Likewise.
14195         * posix/wait3.c (__wait3): Likewise.
14196         * posix/wait4.c (__wait4): Likewise.
14197         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14198         (__WAIT_STATUS_DEFN): Remove.
14199         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14200         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14201         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14202         argument.
14203         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14204         * sysdeps/posix/wait3.c (__wait3): Likewise.
14205         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14206         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14207         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14208         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14209         stat_loc argument.
14210         * manual/process.texi (BSD Wait Functions): Remove union wait.
14212 2016-04-13  Andreas Schwab  <schwab@suse.de>
14214         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14215         (test-extras): Add tst-tlsalign-vars.
14216         * math/Makefile: Wrap long lines.
14217         (libm-vec-test-wrappers): Define.
14218         (test-extras): Add $(libm-vec-test-wrappers).
14219         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14220         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14221         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14222         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14223         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14224         (extra-test-objs): Add corresponding objects.
14226 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14228         [BZ #19928]
14229         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14230         New.
14231         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14232         times of shared cache size.
14233         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14234         (VMOVNT): New.
14235         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14236         (VMOVNT): Likewise.
14237         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14238         (VMOVNT): Likewise.
14239         (VMOVU): Changed to movups for smaller code sizes.
14240         (VMOVA): Changed to movaps for smaller code sizes.
14241         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14242         comments.
14243         (PREFETCH): New.
14244         (PREFETCH_SIZE): Likewise.
14245         (PREFETCHED_LOAD_SIZE): Likewise.
14246         (PREFETCH_ONE_SET): Likewise.
14247         Rewrite to use forward and backward loops, which move 4 vector
14248         registers at a time, to support overlapping addresses and use
14249         non temporal store if size is above the threshold and there is
14250         no overlap between destination and source.
14252 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14254         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14255         Include dl-vdso.
14256         * sysdeps/unix/sysv/linux/mips/Versions: Add
14257         __vdso_clock_gettime.
14258         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14259         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14260         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14261         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14262         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14263         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14264         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14265         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14266         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14268 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14270         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14271         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14274         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14275         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14278         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14279         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14280         syscalls generation.
14281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14282         [__NR_pwrite64] (__NR_write): Remove define.
14283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14284         [__NR_pwrite64] (__NR_write): Remove define.
14285         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14286         Remove define.
14287         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14288         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14289         Remove define.
14290         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14291         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14292         Linux implementation as base.
14293         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14295         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14296         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14297         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14298         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14301         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14303         syscall generation.
14304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14305         [__NR_pread64] (__NR_pread): Remove define.
14306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14307         [__NR_pread64] (__NR_pread): Likewise.
14308         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14309         define.
14310         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14311         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14312         Remove define.
14313         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14314         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14315         Linux implementation as base.
14316         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14317         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14318         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14320         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14321         definition.
14322         (__ALIGNMENT_COUNT): Likewise.
14323         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14324         (__ALIGNMENT_COUNT): Likewise.
14325         (SYSCALL_LL): New define.
14326         (SYSCALL_LL64): Likewise.
14327         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14328         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14329         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14330         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14333         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14334         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14335         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14336         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14337         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14339 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14341         [BZ #19865]
14342         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14343         original buffer before retry.
14345 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14347         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14348         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14349         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14350         GLRO(dl_auxv) list.
14351         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14352         including <ldsodefs.h>.
14353         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14355 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14357         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14358         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14359         $(CPPFLAGS).
14361 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14363         [BZ #17950]
14364         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14365         Add -mfpmath=387.
14367 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14369         * sysdeps/i386/configure.ac: Change == to = when calling test.
14370         * sysdeps/x86_64/configure.ac: Likewise.
14371         * sysdeps/i386/configure: Regenerated.
14372         * sysdeps/x86_64/configure: Likewise.
14374 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14376         [BZ #16137]
14377         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14378         * benchtests/bench-strcoll.c (input_files): Likewise.
14379         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14380         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14381         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14383 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14385         [BZ #19929]
14386         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14387         [__USE_XOPEN2K8 && !__USE_GNU].
14388         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14389         variable.
14391         [BZ #19925]
14392         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14393         define if [!__USE_MISC && __USE_XOPEN2K].
14394         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14395         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14396         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14397         Likewise.
14398         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14399         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14400         variable.
14401         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14403 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14405         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14406         (sysdep_routines): Add new strspn targets.
14407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14408         (__libc_ifunc_impl_list): Add strspn.
14409         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14410         New file.
14411         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14412         Likewise.
14413         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14414         Likewise.
14415         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14416         Likewise.
14418 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14420         * misc/hsearch_r.c: Include <limits.h>.
14422 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14424         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14426 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14428         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14429         (MEMCPY_SYMBOL): New.
14430         (MEMPCPY_SYMBOL): Likewise.
14431         (MEMMOVE_CHK_SYMBOL): Likewise.
14432         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14433         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14434         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14435         Provide alias for memcpy in libc.a and ld.so.
14437 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14439         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14440         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14441         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14442         Disabled fro now.
14443         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14444         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14446 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14448         * benchtests/Makefile (string-benchset): Add memcpy-large,
14449         memmove-large and memset-large.
14450         * benchtests/bench-memcpy-large.c: New file.
14451         * benchtests/bench-memmove-large.c: Likewise.
14452         * benchtests/bench-memmove-large.c: Likewise.
14453         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14455 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14457         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14458         32-bit displacement to avoid long nop between instructions.
14460 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14462         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14463         a comment on VMOVU and VMOVA.
14465 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14467         [BZ #19633]
14468         Use specified locale for number formatting in strfmon_l.
14469         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14470         (__nl_lookup_word): New inline functions.
14471         * include/printf.h (__print_fp_l): Declare.
14472         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14473         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14474         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14475         (___printf_fp): New function.
14476         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14477         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14478         * stdlib/tst-strfmon_l.c (do_test): New test.
14479         * stdlib/Makefile (tests): Add kt.
14480         (LOCALES): Build additional locales.
14481         (tst-strfmon_l.out): Require locales.
14483 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14485         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14486         if not in libc.
14487         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14488         Likewise.
14489         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14490         Likewise.
14491         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14492         Likewise.
14494 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14496         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14497         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14498         with unaligned_erms.
14499         (__memmove_erms): Skip if source == destination.
14500         (__memmove_unaligned_erms): Don't check source == destination
14501         first.
14503 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14505         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14506         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14508 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14510         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14511         * string/strspn.c (strspn): Likewise.
14513 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14515         * benchtests/bench-memset.c (do_test): Support 64-byte
14516         alignment.
14517         (test_main): Test 64-byte alignment.
14519 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14521         * benchtests/bench-memmove.c (test_main): Test 64-byte
14522         alignment.
14524 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14526         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14528 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14530         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14531         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14532         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14534         * string/strpbrk.c (strpbrk): Rewrite function.
14535         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14536         (__strpbrk_c2): Likewise.
14537         (__strpbrk_c3): Likewise.
14538         * string/string-inlines.c
14539         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14540         Likewise.
14541         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14542         Likewise.
14544         * string/strspn.c (strcspn): Rewrite function.
14545         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14546         (__strspn_c1): Remove inline function.
14547         (__strspn_c2): Likewise.
14548         (__strspn_c3): Likewise.
14549         * string/string-inlines.c
14550         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14551         compatibility symbol.
14552         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14553         Likewise.
14554         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14555         Likewise.
14556         * string/string-inlines.c: Include generic version.
14558 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14559             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14561         * string/Version (libc): Add GLIBC_2.24.
14562         * string/strcspn.c (strcspn): Rewrite function.
14563         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14564         (__strcspn_c1): Remove inline function.
14565         (__strcspn_c2): Likewise.
14566         (__strcspn_c3): Likewise.
14567         * string/string-inline.c
14568         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14569         compatibility symbol.
14570         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14571         Likewise.
14572         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14573         Likewise.
14574         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14576 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14578         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14579         Use ahi instead of aghi to adjust stack pointer.
14581 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14583         [BZ #19853]
14584         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14585         TEST to take significant digits as second parameter.
14586         [TEST]: Redefine in terms of TEST_N taking 30
14587         significant digits.
14588         (do_test): Add test case to demonstrate precision
14589         failure in the ldbl-128ibm printf.
14590         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14591         (__mpn_extract_long_double): Carry 7 extra intermediate
14592         bits of precision to aide computing difference when
14593         signs differ.
14595 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14597         [BZ #19881]
14598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14599         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14600         memset-avx512-unaligned-erms.
14601         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14602         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14603         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14604         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14605         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14606         __memset_sse2_unaligned_erms, __memset_erms,
14607         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14608         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14609         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14610         file.
14611         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14612         Likewise.
14613         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14614         Likewise.
14615         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14616         Likewise.
14618 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14620         [BZ #19776]
14621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14622         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14623         memmove-avx512-unaligned-erms.
14624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14625         (__libc_ifunc_impl_list): Test
14626         __memmove_chk_avx512_unaligned_2,
14627         __memmove_chk_avx512_unaligned_erms,
14628         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14629         __memmove_chk_sse2_unaligned_2,
14630         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14631         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14632         __memmove_avx512_unaligned_erms, __memmove_erms,
14633         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14634         __memcpy_chk_avx512_unaligned_2,
14635         __memcpy_chk_avx512_unaligned_erms,
14636         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14637         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14638         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14639         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14640         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14641         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14642         __mempcpy_chk_avx512_unaligned_erms,
14643         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14644         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14645         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14646         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14647         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14648         __mempcpy_erms.
14649         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14650         file.
14651         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14652         Likewise.
14653         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14654         Likewise.
14655         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14656         Likewise.
14658 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14660         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14661         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14662         (La_s390_64_regs): Likewise.
14663         (La_s390_32_retval): Append vector register lrv_v24.
14664         (La_s390_64_retval): Likeweise.
14665         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14666         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14667         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14668         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14670 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14672         [BZ #19916]
14673         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14674         to create a non-vector/vector version for _dl_runtime_resolve and
14675         _dl_runtime_profile. Move implementation to ...
14676         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14677         (_dl_runtime_resolve) Save and restore fpr/vrs.
14678         (_dl_runtime_profile) Save and restore vrs and fix some issues
14679         if _dl_call_pltexit is called.
14680         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14681         Choose the correct resolver function if running on a machine with vx.
14682         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14683         to create a non-vector/vector version for _dl_runtime_resolve and
14684         _dl_runtime_profile. Move implementation to ...
14685         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14686         (_dl_runtime_resolve) Save and restore fpr/vrs.
14687         (_dl_runtime_profile) Save and restore vrs and fix some issues
14688         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14689         Choose the correct resolver function if running on a machine with vx.
14691 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14693         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14695 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14697         [BZ #19509]
14698         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14699         skip_map != NULL.
14700         * elf/tst-dlsym-error.c: New file.
14701         * elf/Makefile (tests): Add tst-dlsym-error.
14702         (tst-dlsym-error): Link against libdl.
14704 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14707         (__ASSUME_FUTIMESAT): Remove macro.
14708         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14710 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14712         [BZ #19879]
14713         CVE-2016-3075
14714         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14715         copy name.
14717 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14719         [BZ #19837]
14720         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14721         error if parse_line fails.
14723 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14725         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14726         (index_cpu_ERMS): Likewise.
14727         (reg_ERMS): Likewise.
14729 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14731         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14732         PER_LINUX_FDPIC): Add.
14734 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14737         memcpy-avx512-no-vzeroupper.
14738         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14739         to ...
14740         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14741         (MEMCPY): Don't define.
14742         (MEMCPY_CHK): Likewise.
14743         (MEMPCPY): Likewise.
14744         (MEMPCPY_CHK): Likewise.
14745         (MEMPCPY_CHK): Renamed to ...
14746         (__mempcpy_chk_avx512_no_vzeroupper): This.
14747         (MEMPCPY_CHK): Renamed to ...
14748         (__mempcpy_chk_avx512_no_vzeroupper): This.
14749         (MEMCPY_CHK): Renamed to ...
14750         (__memmove_chk_avx512_no_vzeroupper): This.
14751         (MEMCPY): Renamed to ...
14752         (__memmove_avx512_no_vzeroupper): This.
14753         (__memcpy_avx512_no_vzeroupper): New alias.
14754         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14756 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14758         [BZ #18858]
14759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14760         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14761         and mempcpy-avx512-no-vzeroupper.
14762         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14763         New.
14764         (MEMPCPY): Likewise.
14765         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14766         (MEMPCPY_CHK): New.
14767         (MEMPCPY): Likewise.
14768         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14769         (MEMPCPY): Likewise.
14770         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14771         (MEMPCPY): Likewise.
14772         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14773         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14774         Likewise.
14775         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14776         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14778 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14779              Amit Pawar  <Amit.Pawar@amd.com>
14781         [BZ #19583]
14782         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14783         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14784         processors.  Set Fast_Copy_Backward for AMD Excavator
14785         processors.
14786         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14787         New.
14788         (index_arch_Fast_Unaligned_Copy): Likewise.
14789         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14790         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14792 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14794         [BZ #19791]
14795         * resolv/res_send.c (close_and_return_error): New function.
14796         (send_dg): Initialize *resplen2 after reopen failure.  Call
14797         close_and_return_error for error returns.  On error paths without
14798         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14799         successful return.
14801 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14803         [BZ# 19860]
14804         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14805         zero if the compiler does not provide the AVX512F bit.
14807 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #19848]
14810         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14811         from 8 to 4.
14812         (__ieee754_powl): Compare integer exponent against 4 not 8.
14813         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14814         from 8 to 4.
14815         (__ieee754_powl): Compare integer exponent against 4 not 8.
14816         * math/auto-libm-test-in: Add more tests of pow.
14817         * math/auto-libm-test-out: Regenerated.
14818         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14821 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14823         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14824         Make code unconditional.
14825         [!__NR_utimensat]: Remove conditional code.
14826         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14827         Make code unconditional.
14828         [!__NR_utimensat]: Remove conditional code.
14829         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14830         Make code unconditional.
14831         [!__NR_utimensat]: Remove conditional code.
14833 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14835         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14836         Make code unconditional.
14838 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14840         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14841         call-clobbered %eax on retry path.
14842         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14844 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14846         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14847         Don't set %rcx twice before "rep movsb".
14849 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14851         [BZ #19583]
14852         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14853         inline.  Check family before setting family, model and
14854         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14855         bits here.
14856         (init_cpu_features): Replace HAS_CPU_FEATURE and
14857         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14858         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14859         for Intel processors with usable AVX2.  Call get_common_indeces
14860         for other processors with family == NULL.
14861         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14862         (CPU_FEATURES_ARCH_P): Likewise.
14863         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14864         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14866 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14868         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14869         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14870         $(shared-thread-library) instead of hardcoding the path to libpthread.
14872 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14874         * sysdeps/unix/sysv/linux/kernel-features.h
14875         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14876         * sysdeps/unix/sysv/linux/getdents.c
14877         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14878         [!have_no_getdents64_defined]: Likewise.
14879         (__GETDENTS): Remove __have_no_getdents64 conditional.
14881 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14884         Remove macro.
14885         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14886         <kernel-features.h>.
14887         (signalfd) [__NR_signalfd4]: Make code unconditional.
14888         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14890 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14892         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14893         style.
14895 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14897         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14898         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14899         __pthread_unwind.
14900         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14901         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14902         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14903         (__condvar_cleanup1): Likewise.
14905 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14907         [BZ #19822]
14908         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14909         move it to the final $@ location.
14911 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14913         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14914         access where posix_spawn success and pid argument is null.
14915         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14916         success case.
14918 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14920         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14922         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14924         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14925         and __fcntl.
14926         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14927         __fcntl only.
14928         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14929         adding attribute_hidden to __open and __fcntl.
14931         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14932         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14933         depend on libc-modules.h,
14934         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14936 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14939         Remove macro.
14940         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14941         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14942         entry.
14944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14945         Remove macro.
14946         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14947         include <kernel-features.h>.
14948         [!__ASSUME_FALLOCATE]: Remove conditional code.
14949         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14951 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14954         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14955         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14956         (_ZGVdN4v_cos_avx2): Likewise.
14957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14958         (_ZGVdN4v_cos): Likewise.
14959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14960         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14962         (_ZGVdN4v_exp_avx2): Likewise.
14963         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14964         (_ZGVdN4v_exp): Likewise.
14965         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14966         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14967         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14968         (_ZGVdN4v_log_avx2): Likewise.
14969         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14970         (_ZGVdN4v_log): Likewise.
14971         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14972         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14973         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14974         (_ZGVdN4vv_pow_avx2): Likewise.
14975         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14976         (_ZGVdN4vv_pow): Likewise.
14977         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14978         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14979         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14980         (_ZGVdN4v_sin_avx2): Likewise.
14981         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14982         (_ZGVdN4v_sin): Likewise.
14983         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14984         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14985         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14986         (_ZGVdN4vvv_sincos_avx2): Likewise.
14987         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14988         (_ZGVdN4vvv_sincos): Likewise.
14989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14990         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14991         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14992         (_ZGVbN4v_cosf_sse4): Likewise.
14993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14994         (_ZGVdN8v_cosf_avx2): Likewise.
14995         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14996         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14997         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14998         (_ZGVbN4v_expf_sse4): Likewise.
14999         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15000         (_ZGVdN8v_expf_avx2): Likewise.
15001         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15002         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15003         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15004         (_ZGVbN4v_logf_sse4): Likewise.
15005         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15006         (_ZGVdN8v_logf_avx2): Likewise.
15007         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15008         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15010         (_ZGVbN4vv_powf_sse4): Likewise.
15011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15012         (_ZGVdN8vv_powf_avx2): Likewise.
15013         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15014         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15016         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15017         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15018         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15019         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15020         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15021         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15022         (_ZGVbN4v_sinf_sse4): Likewise.
15023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15024         (_ZGVdN8v_sinf_avx2): Likewise.
15025         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15026         Use JUMPTARGET to call callee.
15027         (WRAPPER_IMPL_SSE2_ff): Likewise.
15028         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15029         (WRAPPER_IMPL_AVX): Likewise.
15030         (WRAPPER_IMPL_AVX_ff): Likewise.
15031         (WRAPPER_IMPL_AVX_fFF): Likewise.
15032         (WRAPPER_IMPL_AVX512): Likewise.
15033         (WRAPPER_IMPL_AVX512_ff): Likewise.
15034         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15035         Likewise.
15036         (WRAPPER_IMPL_SSE2_ff): Likewise.
15037         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15038         (WRAPPER_IMPL_AVX): Likewise.
15039         (WRAPPER_IMPL_AVX_ff): Likewise.
15040         (WRAPPER_IMPL_AVX_fFF): Likewise.
15041         (WRAPPER_IMPL_AVX512): Likewise.
15042         (WRAPPER_IMPL_AVX512_ff): Likewise.
15043         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15045 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15047         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15048         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15049         qualifier.
15050         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15051         internal_function qualifiers.
15053 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15055         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15056         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15057         * math/atest-exp.c (exp_mpn): Mark chk unused.
15058         * math/atest-exp2.c (exp_mpn): Likewise.
15059         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15060         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15062 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15064         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15065         Remove macro.
15066         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15067         <kernel-features.h>.
15068         [__NR_ppoll]: Make code unconditional.
15069         [!__ASSUME_PPOLL]: Remove conditional code.
15071         * sysdeps/unix/sysv/linux/kernel-features.h
15072         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15073         (__ASSUME_ACCEPT4): Likewise.
15074         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15075         Define.
15076         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15077         Likewise.
15078         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15079         Likewise.
15080         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15081         Likewise.
15082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15083         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15084         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15085         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15086         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15087         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15088         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15089         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15090         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15092         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15093         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15094         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15096         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15097         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15098         Likewise.
15099         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15100         Likewise.
15101         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15102         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15103         0x040300].
15104         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15105         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15106         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15107         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15108         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15109         0x030300].
15110         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15111         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15112         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15113         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15114         0x040300].
15115         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15116         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15118         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15119         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15120         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15121         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15122         0x030300].
15123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15124         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15125         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15126         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15127         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15128         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15129         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15130         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15131         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15132         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15133         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15134         0x040300].
15135         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15136         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15137         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15138         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15141         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15142         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15145         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15146         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15147         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15149         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15150         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15151         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15152         Likewise.
15153         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15154         Likewise.
15156 2016-03-15  Andreas Schwab  <schwab@suse.de>
15158         [BZ #19257]
15159         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15160         statp->_u._ext.nscount as loop count.
15162 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15164         * math/test-signgam-finite-c99.c: Also #undef
15165         __LIBC_INTERNAL_MATH_INLINES.
15166         * math/test-signgam-main.c: Likewise.
15168 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15170         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15171         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15172         (MADV_FREE): Likewise.
15173         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15174         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15175         EPOLLEXCLUSIVE.
15177 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15179         * timezone/README: Remove mention of checktab.awk. Mention wiki
15180         SharedSourceFiles.
15182 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15184         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15185         WUNTRACED.
15187 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15189         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15190         order to match the type of p when calling atomic_exchange_acq().
15192 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15194         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15195         cfi_offset calls.
15196         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15197         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15198         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15199         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15200         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15202 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15204         * timezone/checktab.awk: Removed.
15206 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15208         * manual/math.texi (Errors in Math Functions): Document relaxed
15209         accuracy goals for IBM long double.
15210         * math/libm-test.inc (test_exceptions): Always allow spurious
15211         "underflow" and "inexact" exceptions for IBM long double.
15213 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15215         [BZ #19762]
15216         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15217         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15218         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15219         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15220         (bit_arch_*): This for feature array.
15221         (bit_*): Renamed to ...
15222         (bit_cpu_*): This for cpu array.
15223         (index_*): Renamed to ...
15224         (index_arch_*): This for feature array.
15225         (index_*): Renamed to ...
15226         (index_cpu_*): This for cpu array.
15227         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15228         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15229         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15230         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15231         bit_##name with index_cpu_##name and bit_cpu_##name.
15232         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15233         bit_##name with index_arch_##name and bit_arch_##name.
15235 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15237         [BZ #19792]
15238         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15239         Terminate FDE before return label.
15241 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15243         [BZ #19790]
15244         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15245         (rintl): Define as macro.
15246         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15247         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15248         of fesetround.  Ensure results are evaluated before end of scope.
15249         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15250         USE_AS_NEARBYINTL and include s_rintl.c.
15251         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15252         Disable exception traps in new environment.
15253         (libc_feholdsetround_ppc_ctx): Likewise.
15255 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15257         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15258         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15259         (tst_audit10_aux) [__AVX512F__]: ... here.
15261 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15263         * include/sys/auxv.h: New file.
15265 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15267         [BZ #19759]
15268         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15270 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15272         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15273         operand modifier.
15274         (feclearexcept): Likewise.
15276 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15279         to reflect the entire 32-bit HWCAP.
15280         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15281         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15283 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15285         [BZ #19783]
15286         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15287         $(test-via-rtld-prefix).
15288         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15290 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15292         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15293         union wait.  Report any non-zero exit status as error.
15295 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15297         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15298         configured with --enable-hardcoded-path-in-tests.
15300 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15302         [BZ #19677]
15303         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15304         (__ieee754_remainderl): Put zero low parts in canonical form.
15305         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15306         file.  Based on
15307         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15308         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15309         with wrapper round test-fmodrem-ldbl-128ibm.c.
15310         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15311         file.
15312         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15313         Likewise.
15314         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15315         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15317 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15319         [BZ #19610]
15320         * elf/ldconfig.c (opt_link): Update comment.
15321         (options): Update help string for option -X.
15322         (search_dir): Unlink stale symbolic link only if updating symbolic
15323         links.
15324         * elf/tst-ldconfig-X.sh: New file.
15325         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15326         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15328 2016-03-07  Andreas Schwab  <schwab@suse.de>
15330         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15331         needed arguments.
15333 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15335         [BZ #15333]
15336         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15337         to lstat64.
15339 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15341         * libio/filedoalloc.c (isatty): Remove.
15342         (local_isatty): Add comment.  Call __isatty directly.
15343         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15344         * libio/wfiledoalloc.c (isatty): Remove.
15345         (_IO_wfile_doallocate): Update comment.
15347 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15349         [BZ #19269]
15350         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15351         tst-audit4-aux.o.
15352         (tst-audit10): Depend on tst-audit10-aux.o.
15353         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15354         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15355         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15356         instead of inline AVX code.
15357         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15358         instead of inline AVX512 code.
15359         * sysdeps/x86_64/tst-audit4-aux.c: New file
15360         * sysdeps/x86_64/tst-audit10-aux.c: New file
15362         [BZ #19648]
15363         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15365 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15367         [BZ #14750]
15368         [BZ #10354]
15369         [BZ #18433]
15370         * include/sched.h (__clone): Add hidden prototype.
15371         (__clone2): Likewise.
15372         * include/unistd.h (__dup): Likewise.
15373         * posix/Makefile (tests): Add tst-spawn2.
15374         * posix/tst-spawn2.c: New file.
15375         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15376         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15377         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15378         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15379         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15380         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15381         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15382         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15383         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15384         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15385         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15387         Likewise.
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15389         Likewise.
15390         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15391         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15392         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15393         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15394         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15395         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15396         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15397         * sysdeps/unix/sysv/linux/nptl-signals.h
15398         (____nptl_is_internal_signal): New function.
15399         * sysdeps/unix/sysv/linux/spawni.c: New file.
15401         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15402         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15403         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15404         * posix/tst-execvp2.c (do_test): Likewise.
15405         * posix/tst-execvp3.c (do_test): Likewise.
15406         * posix/tst-execvp4.c (do_test): Likewise.
15407         * posix/tst-execvpe1.c: New file.
15408         * posix/tst-execvpe2.c: Likewise.
15409         * posix/tst-execvpe3.c: Likewise.
15410         * posix/tst-execvpe4.c: Likewise.
15411         * posix/tst-execvpe5.c: Likewise.
15412         * posix/tst-execvpe6.c: Likewise.
15414         [BZ #19534]
15415         * posix/execl.c (execl): Remove dynamic memory allocation.
15416         * posix/execle.c (execle): Likewise.
15417         * posix/execlp.c (execlp): Likewise.
15419 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15421         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15422         Replace .text with .text.avx512.
15423         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15424         Likewise.
15426 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15428         * sysdeps/generic/libnsl.abilist: New file.
15429         * sysdeps/generic/libutil.abilist: New file.
15431 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15433         [BZ #19762]
15434         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15435         HAS_ARCH_FEATURE with Fast_Rep_String.
15436         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15437         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15438         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15439         Likewise.
15440         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15441         Likewise.
15442         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15443         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15444         Likewise.
15445         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15446         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15447         Likewise.
15449 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15451         [BZ #19745]
15452         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15453         with *%rax in call.
15455 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15457         [BZ #19745]
15458         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15459         with *__libc_start_main@GOTPCREL(%rip) in call.
15461 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15463         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15464         inside conditional for nonempty $(CXX).
15466         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15467         nonempty.
15469         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15470         to test for empty $(CXX) rather than $(CXX) of "no".
15472 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15474         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15476 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15477             H.J. Lu  <hongjiu.lu@intel.com>
15479         [BZ #18880]
15480         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15481         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15482         enable __memcpy_ssse3_back.
15484 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15486         [BZ #19758]
15487         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15488         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15490 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15492         [BZ #19490]
15493         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15494         (__fentry__): Likewise.
15496 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15498         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15499         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15501 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15503         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15504         __mcount_internal directly.
15505         (C_LABEL(__fentry__)): Likewise.
15506         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15507         directly.
15509 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15511         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15512         (__start_context): Call __setcontext directly.
15514 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15517         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15518         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15519         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15520         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15521         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15522         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15523         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15524         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15525         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15526         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15527         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15529         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15530         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15531         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15532         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15534         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15535         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15536         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15537         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15538         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15539         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15540         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15541         Remove conditional code.
15542         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15543         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15544         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15545         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15546         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15547         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15548         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15549         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15550         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15551         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15553         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15555 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15557         * NEWS (2.23): Fix typo in bug 19048 text.
15559 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15561         [BZ #14259]
15562         * Makeconfig: Rename msgcatdir to localedir.
15563         Rename inst_msgcatdir to inst_localedir.
15564         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15565         * config.make.in: Add localedir.
15566         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15567         (ldd-rewrite): Likewise.
15568         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15569         (install-others): Use inst_localedir.
15570         (CPPFLAGS): Use localedir.
15571         * locale/Makefile (locale-CPPFLAGS): Likewise.
15572         * po/Makefile (mo-installed): Use inst_localedir.
15574         [BZ #19575]
15575         * localedata/charmaps/GB18030: Update comments regarding PAU to
15576         non-PUA mappings.
15578 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15580         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15581         test for header.
15582         * sysdeps/unix/sysv/linux/configure: Regenerated.
15583         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15584         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15585         Remove conditional code.
15586         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15588         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15589         Define to 3.2.0.
15590         (arch_minimum_kernel): Likewise.
15591         * sysdeps/unix/sysv/linux/configure: Regenerated.
15592         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15593         Define to 2.6.32.
15594         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15595         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15596         (arch_minimum_kernel): Define to 2.6.32.
15597         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15598         * README: Document Linux 3.2 requirement.
15599         * manual/install.texi (Linux): Document Linux 3.2 headers
15600         requirement.
15601         * INSTALL: Regenerated.
15603 2016-02-24  Andreas Schwab  <schwab@suse.de>
15605         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15606         if !NO_LONG_DOUBLE.
15608 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15610         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15611         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15613 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15615         [BZ #19512]
15616         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15618 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15620         * posix/tst-dir.c: Include libc-internal.h.
15622 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15624         [BZ #19056]
15625         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15626         * manual/filesys.texi (Reading/Closing Directory): Mention
15627         deprecaion.
15628         * posix/tst-dir.c (main): Disable deprecation warning in test.
15630 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15632         [BZ #19679]
15633         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15634         Renamed to ...
15635         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15636         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15637         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15638         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15639         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15640         * sysdeps/x86_64/dl-trampoline.h
15641         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15642         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15644 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15646         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15648 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15650         * elf/elf.h (R_386_GOT32X): New.
15651         (R_386_NUM): Update.
15652         (R_X86_64_GOTPCRELX: New.
15653         (R_X86_64_REX_GOTPCRELX): New.
15654         (R_X86_64_NUM): Update.
15656 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15658         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15660 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15662         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15663         assign attr->stackaddr to it, and adjust it down when
15664         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15665         [_STACK_GROWS_UP]: Delete assert.
15666         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15667         Implement stack grows up logic.
15668         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15669         stack grows up logic.
15671 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15673         * NEWS: Update with 2.24 template.
15675 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15677         [BZ #19678]
15678         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15679         Ensure +0.0 is returned when taking the next value below the least
15680         positive value.
15682 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15684         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15685         available.  Do not define NO_THREADS.
15686         * malloc/malloc.c: Do not check NO_THREADS.
15687         * malloc/arena.c: Likewise.
15689 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15691         * malloc/malloc.c (__libc_mallinfo): Update comment.
15692         (struct malloc_par): Remove max_total_mem member, it was always 0.
15693         (int_mallinfo): Store 0 into usmblks (no functional change).
15694         * malloc/hooks.c (struct malloc_state): Document that
15695         max_total_mem is always 0.
15696         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15697         always 0.
15698         * manual/memory.texi (Statistics of Malloc): Likewise.
15700 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15702         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15703         * malloc/arena.c (arena_max): Remove.
15704         (heap_trim, _int_new_arena): Do not update arena_max.
15706 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15708         * resolv/res_init.c (res_ninit): Update comment.
15710 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15712         [BZ #19505]
15713         * posix/spawn_int.h: Add headers and include guard.
15714         (__spawn_valid_fd): New function.
15715         * posix/spawn_faction_addopen.c
15716         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15717         * posix/spawn_faction_addclose.c
15718         (posix_spawn_file_actions_addclose): Likewise.
15719         * posix/spawn_faction_adddup2.c
15720         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15721         second file descriptor.
15722         * posix/spawn_valid_fd.c: New file.
15723         * posix/tst-posix_spawn-fd.c: New file.
15724         * posix/Makefile (routines): Add spawn_valid_fd.
15725         (tests): Add tst-posix_spawn-fd.
15727 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15729         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15730         (do_test): Limit the number of arenas, so that we can use fewer
15731         outer threads.  Limit timeout to 3 seconds, in preparation for a
15732         larger TIMEOUT value.
15734 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15736         [BZ #19674]
15737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15738         sign in overflowing and underflowing results when overflow or
15739         underflow is detected early.  Include sign in result before rather
15740         than after scaling.
15742         [BZ #19603]
15743         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15744         (__ieee754_remainderl): Adjust sign of integer version of low part
15745         when taking absolute value of high part.
15746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15747         * math/libm-test.inc (remainder_test_data): Add another test.
15748         (remquo_test_data): Likewise.
15750 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15752         [BZ #19602]
15753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15754         equal high parts and both low parts zero specially.
15755         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15756         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15757         Add test-fmodl-ldbl-128ibm.
15759         [BZ #19595]
15760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15761         common logic for all cases of shifting subnormal results.  Do not
15762         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15763         exponent to ldbl_insert_mantissa in subnormal case.
15765         [BZ #19594]
15766         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15767         on high and low parts then adjust result and use
15768         ldbl_canonicalize_int if needed.
15770         [BZ #19593]
15771         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15772         on high part and __floor or __ceil on low part then use
15773         ldbl_canonicalize_int if needed.
15775         [BZ #19592]
15776         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15777         high and low parts then use ldbl_canonicalize_int if needed.
15779         [BZ #17899]
15780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15781         New function.
15782         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15783         on high and low parts then use ldbl_canonicalize_int if needed.
15785 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15787         * configure: Regenerated.
15789         * po/libc.pot: Regenerated.
15791         * po/be.po: Updated translation.
15792         * po/bg.po: Likewise.
15793         * po/ca.po: Likewise.
15794         * po/cs.po: Likewise.
15795         * po/da.po: Likewise.
15796         * po/el.po: Likewise.
15797         * po/eo.po: Likewise.
15798         * po/es.po: Likewise.
15799         * po/fi.po: Likewise.
15800         * po/fr.po: Likewise.
15801         * po/gl.po: Likewise.
15802         * po/hr.po: Likewise.
15803         * po/hu.po: Likewise.
15804         * po/ia.po: Likewise.
15805         * po/id.po: Likewise.
15806         * po/it.po: Likewise.
15807         * po/ja.po: Likewise.
15808         * po/lt.po: Likewise.
15809         * po/nb.po: Likewise.
15810         * po/nl.po: Likewise.
15811         * po/pt_BR.po: Likewise.
15812         * po/rw.po: Likewise.
15813         * po/sk.po: Likewise.
15814         * po/sl.po: Likewise.
15815         * po/sv.po: Likewise.
15816         * po/tr.po: Likewise.
15817         * po/zh_CN.po: Likewise.
15818         * po/zh_TW.po: Likewise.
15820         * version.h (RELEAES): Set to "development".
15821         (VERSION): Set to 2.23.90.
15823         * version.h (RELEASE): Set to "stable".
15824         (VERSION): Set to 2.23.
15825         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15827         * NEWS: Updated fixed bugs.
15829 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15830             Wilco Dijkstra  <wdijkstr@arm.com>
15832         [BZ #19462]
15833         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15834         (_STRING_INLINE_unaligned): This.
15835         * include/string.h: Include <string_private.h>.
15836         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15837         _STRING_INLINE_unaligned.
15838         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15839         (_STRING_INLINE_unaligned): New.
15840         * sysdeps/aarch64/string_private.h: New file.
15841         * sysdeps/generic/string_private.h: Likewise.
15842         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15843         * sysdeps/s390/string_private.h: Likewise.
15844         * sysdeps/x86/string_private.h: Likewise.
15845         * sysdeps/m68k/m680x0/m68020/bits/string.h
15846         (_STRING_ARCH_unaligned): Renamed to ...
15847         (_STRING_INLINE_unaligned): This.
15848         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15849         to ...
15850         (_STRING_INLINE_unaligned): This.
15851         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15852         to ...
15853         (_STRING_INLINE_unaligned): This.
15854         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15855         to ...
15856         (_STRING_INLINE_unaligned): This.
15858 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15859             H.J. Lu  <hongjiu.lu@intel.com>
15861         [BZ #19590]
15862         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15863         relocation.
15865 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15867         [BZ #18665]
15868         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15869         *herrno_p.
15870         (gaih_getanswer): Document functional behviour. Return tryagain
15871         if any result is tryagain.
15872         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15873         when freed.
15874         * resolv/res_send.c: Add copyright text.
15875         (__libc_res_nsend): Document that MAXPACKET is expected.
15876         (send_vc): Document. Remove buffer reuse.
15877         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15878         size of the buffer. Add Dprint for truncated UDP buffer.
15880 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15882         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15883         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15884         * INSTALL: Regenerate.
15886 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15887             Jonathan Wakely  <jwakely@redhat.com>
15888             Carlos O'Donell  <carlos@redhat.com>
15890         [BZ 19439]
15891         * math/Makefile (tests): Add test-math-isinff.
15892         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15893         * math/bits/mathcalls.h [__USE_MISC]: Use
15894         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15895         functions not in C++11 and which don't conflict e.g. isinff,
15896         isinfl etc.
15897         * math/test-math-isinff.cc: New file.
15899 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15901         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15903 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15905         [BZ #19529]
15906         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15908 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15910         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15912 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15914         [BZ #19550]
15915         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15916         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15917         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15918         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15919         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15920         New syscall entry.
15921         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15922         New syscall entry.
15923         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15924         syscall entry.
15926 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15928         [BZ #18240]
15929         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15930         unsigned int wraparound.
15932 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15934         [BZ #18240]
15935         * misc/bug18240.c: New test.
15936         * misc/Makefile (tests): Add it.
15938 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15939             Joseph Myers  <joseph@codesourcery.com>
15941         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15942         load in branch delay slot when less than a word of input left.
15944 2016-01-27  Andreas Schwab  <schwab@suse.de>
15946         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15947         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15948         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15949         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15951 2016-01-26  David S. Miller  <davem@davemloft.net>
15953         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15955 2016-01-25  David S. Miller  <davem@davemloft.net>
15957         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15958         __sqrtl_finite.
15959         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15960         instead using versioned_symbol.
15961         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15962         of entries.
15964         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15965         __sqrtl_finite to GLIBC_2.23
15967 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15969         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15971 2016-01-25  Andreas Schwab  <schwab@suse.de>
15973         [BZ #17514]
15974         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15975         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15976         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15977         * nptl/tst-mutex-errorcheck.c: New file.
15979 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15981         [BZ #18560]
15982         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15983         (IPCOP_semop): Likewise.
15984         (IPCOP_semget): Likewise.
15985         (IPCOP_semctl): Likewise.
15986         (IPCOP_msgsnd): Likewise.
15987         (IPCOP_msgrcv): Likewise.
15988         (IPCOP_msgget): Likewise.
15989         (IPCOP_msgctl): Likewise.
15990         (IPCOP_shmat): Likewise.
15991         (IPCOP_shmdt): Likewise.
15992         (IPCOP_shmget): Likewise.
15993         (IPCOP_shmctl): Likewise.
15995 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15997         * string/tst-endian.c: Include <libc-internal.h>.
15998         (do_test): Ignore tautological-compare warnings around
15999         "htobeXX (beXXtoh (i)) != i" and
16000         "htoleXX (leXXtoh (i)) != i" if-statements.
16002 2016-01-24  David S. Miller  <davem@davemloft.net>
16004         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16005         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16006         alias.
16007         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16008         __sqrtl_finite.
16010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16012 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16014         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16015         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16016         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16018 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16020         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16021         (thread_func): Use new function to simplify barrier check.
16022         (do_test): Use new function to simplify checking barrier exit
16023         code, and actually join the child thread.
16025 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16027         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16028         semicolon.
16029         (__libc_tend): Likewise.
16030         (__libc_tabort): Likewise.
16032 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16034         * sysdeps/nios2/libm-test-ulps: Update.
16035         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16036         (__gtsf2): Likewise.
16037         (__unorddf2): Likewise.
16038         (__unordsf2): Likewise.
16039         (__ledf2): Likewise.
16041 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16043         * nis/nis_table.c (__follow_path): Disable diagnostic for
16044         uninitialized variable that is a false positive for gcc 4.7.
16045         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16047 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16049         * sysdeps/nacl/lowlevellock-futex.h
16050         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16051         Always evaluate PRIVATE argument.
16053 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16055         [BZ #19490]
16056         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16057         (pthread_cond_broadcast): Use ENTRY/END
16058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16059         (pthread_cond_signal): Likewise.
16060         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16061         Likewise.
16062         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16063         Likewise.
16064         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16065         Likewise.
16067 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16069         * sysdeps/ieee754/dbl-64/s_finite.c
16070         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16071         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16072         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16073         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16074         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16077         (__gtsf2): Add as optional for libc.so.
16078         (__unordsf2): Likewise.
16079         (__signbit): Remove for libc.so.
16080         (__signbitl): Likewise.
16082 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16084         * iconvdata/bug-iconv11.c (test_ibm93x):
16085         Use %zu printf format specifier for size_t argument.
16087 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16089         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16090         already-recorded ulps.
16091         * sysdeps/arm/libm-test-ulps: Regenerated.
16092         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16093         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16094         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16096 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16097             Paul Pluzhnikov  <ppluzhnikov@google.com>
16099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16100         assembler not supporting AVX-512.
16102 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16104         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16106 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16108         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16109         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16111         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16113         * sysdeps/arm/libm-test-ulps: Regenerated.
16115 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16117         [BZ #19451]
16118         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16120 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16122         [BZ #19486]
16123         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16124         * sysdeps/generic/fix-fp-int-convert-overflow.h
16125         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16126         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16127         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16128         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16129         Likewise.
16130         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16131         Avoid conversions to long int where inexact exceptions
16132         could be raised.
16133         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16134         Likewise.
16135         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16136         Avoid conversions to long long int where inexact exceptions
16137         could be raised.
16138         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16139         Likewise.
16141 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16143         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16144         * configure: Regenerated.
16146 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16148         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16150 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16152         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16153         outside of comment.
16155 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16157         * nptl/tst-barrier1.c: Add description on first line.
16158         * nptl/tst-barrier2.c: Likewise.
16159         * nptl/tst-barrier3.c: Likewise.
16160         * nptl/tst-barrier4.c: Likewise.
16161         * nptl/tst-barrier5.c: Likewise.
16163 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16165         [BZ #18868]
16166         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16168 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16172         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16173         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16174         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16175         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16176         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16177         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16178         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16179         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16180         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16182 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16184         [BZ #13065]
16185         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16186         new implementation.
16187         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16188         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16189         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16190         (BARRIER_IN_THRESHOLD): New macro.
16191         * nptl/pthread_barrierattr_setpshared.c
16192         (pthread_barrierattr_setpshared): Clean up.
16193         * nptl/tst-barrier4.c: Correct comment.
16194         * nptl/tst-barrier5.c: New file.
16195         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16196         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16197         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16198         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16199         * nptl/lowlevelbarrier.sym: Remove.
16200         * nptl/DESIGN-barrier.txt: Remove.
16201         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16202         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16203         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16204         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16205         error.
16206         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16207         implementation.
16209 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16211         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16212         (do_child): Mask SIGRTMIN while thr is running.
16214 2016-01-15  Martin Sebor  <msebor@redhat.com>
16216         [BZ #19432]
16217         * iconvdata/Makefile: Add bug-iconv11.
16218         * iconvdata/bug-iconv11.c: New test.
16219         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16220         * iconvdata/ibm933.c: Same.
16221         * iconvdata/ibm935.c: Same.
16222         * iconvdata/ibm937.c: Same.
16223         * iconvdata/ibm939.c: Same.
16225 2016-01-15  Martin Sebor  <msebor@redhat.com>
16227         [BZ #19443]
16228         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16229         [DEBUG] (_ufc_set_bits): Declare used.
16230         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16231         [DEBUG] (print_all): Declare used.
16232         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16233         operands of the ternary ?: expression to target type.
16234         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16235         calling the undeclared abort.
16236         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16238 2016-01-15  Martin Sebor  <msebor@redhat.com>
16240         [BZ #18755]
16241         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16242         warnings.
16243         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16244         (__gai_create_helper_thread): Same.
16245         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16246         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16247         to suppress -Wmaybe-uninitialized warnings.
16249 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16251         [BZ #19465]
16252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16253         inside if.
16254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16255         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16256         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16258 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16260         [BZ #19466]
16261         * time/tst-mktime2.c (time_t_max): Removed.
16262         (time_t_min): Likewise.
16263         (TYPE_SIGNED): New.
16264         (TYPE_MINIMUM): Likewise.
16265         (TYPE_MAXIMUM): Likewise.
16266         (TIME_T_MIN): Likewise.
16267         (TIME_T_MAX): Likewise.
16268         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16269         and TIME_T_MIN.
16270         (do_test): Likewise.
16272 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16274         [BZ #19467]
16275         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16276         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16278 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16280         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16282 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16284         * benchtests/Makefile (PYTHON): Define.
16285         (bench-func): Use $(PYTHON) to run python scripts.
16286         ($(objpfx)bench-%.c): Likewise.
16288 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16290         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16291         leading slash when `file_name' is "/".
16293 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16295         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16296         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16297         Likewise.
16298         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16299         Likewise.
16300         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16301         Likewise.
16302         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16303         enum constant and macro.
16304         (PTRACE_SETSIGMASK): Likewise.
16305         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16306         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16307         (PTRACE_GETSIGMASK): Likewise.
16308         (PTRACE_SETSIGMASK): Likewise.
16309         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16310         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16311         Likewise.
16312         (PTRACE_SETSIGMASK): Likewise.
16313         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16315         (PTRACE_GETSIGMASK): Likewise.
16316         (PTRACE_SETSIGMASK): Likewise.
16317         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16318         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16319         Likewise.
16320         (PTRACE_SETSIGMASK): Likewise.
16321         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16322         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16323         Likewise.
16324         (PTRACE_SETSIGMASK): Likewise.
16325         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16326         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16327         Likewise.
16328         (PTRACE_SETSIGMASK): Likewise.
16329         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16331 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16332             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16334         [BZ #19439]
16335         * math/bits/mathcalls.h
16336         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16337         prototype.
16338         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16340 2016-01-11  Andreas Schwab  <schwab@suse.de>
16342         [BZ #19253]
16343         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16344         cache when TZDEFRULES was used.
16345         * time/tst-tzname.c: New file.
16346         * time/Makefile (test): Add tst-tzname.
16347         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16348         * timezone/Makefile (test-zones): Add $(posixrules-file).
16349         ($(testdata)/$(posixrules-file)): New rule.
16351 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16353         Fix doc quoting problems with Texinfo 5
16354         Without this change, in the info file output, Texinfo 5 quotes code
16355         in text with undirected single quotes 'like this' and generates
16356         code examples that with many PDF readers cannot be cut out of PDFs
16357         and pasted into code.
16358         * manual/libc.texinfo: Configure the libc manual like the GNU
16359         Emacs manual, by using @documentencoding and setting
16360         txicodequoteundirected and txicodequotebacktick.  This way,
16361         Texinfo 5 quotes code in text with directed single quotes ‘like
16362         this’ and produces examples that can be cut out of PDFs.  This
16363         change causes Texinfo 5 to generate info files that contain UTF-8
16364         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16365         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16367 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16369         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16370         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16371         barriers to their respective compiler built-ins.
16372         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16373         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16374         * sysdeps/powerpc/sysdep.h: Likewise.
16375         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16376         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16377         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16379 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16381         * scripts/config.guess: Revert previous shebang change.
16382         * scripts/config.sub: Likewise.
16383         * scripts/mkinstalldirs: Likewise.
16385 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16387         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16388         PPC_FEATURE2_HAS_IEEE128.
16389         * sysdeps/powerpc/dl-procinfo.c:
16390         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16392 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16394         [BZ #19415]
16395         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16396         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16397         (_dl_lookup_address): Rewrite using function resolver trampoline.
16398         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16399         two bits in address.
16401 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16403         * longlong.h: Change !__SHMEDIA__ to
16404         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16405         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16407 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16408             Joseph Myers  <joseph@codesourcery.com>
16409             Mark Shinwell  <shinwell@codesourcery.com>
16410             Andrew Stubbs  <ams@codesourcery.com>
16411             Rich Felker <dalias@libc.org>
16413         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16415 2016-01-07  Richard Henderson  <rth@redhat.com>
16417         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16419 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16421         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16422         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16423         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16424         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16425         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16427 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16428             Joseph Myers  <joseph@codesourcery.com>
16430         * timezone/private.h: Update from tzcode 2015g.
16431         * timezone/tzfile.h: Likewise.
16432         * timezone/tzselect.ksh: Likewise.
16433         * timezone/zdump.c: Likewise.
16434         * timezone/zic.c: Likewise.
16435         * timezone/ialloc.c: Remove file.
16436         * timezone/scheck.c: Likewise.
16437         * timezone/Makefile (extra-objs): Remove variable.
16438         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16439         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16440         -Wno-maybe-uninitialized.
16441         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16442         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16443         (CFLAGS-ialloc.c): Remove variable.
16444         (CFLAGS-scheck.c): Likewise.
16445         * timezone/README: Update list of files from tzcode.
16447 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16449         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16450         instead of __fxprintf when _LIBC is undefined.
16452 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16454         * catgets/test-gencat.sh: Remove space after shebang.
16455         * conform/GlibcConform.pm: Likewise.
16456         * conform/check-header-lists.sh: Likewise.
16457         * conform/conformtest.pl: Likewise.
16458         * conform/linknamespace.pl: Likewise.
16459         * conform/list-header-symbols.pl: Likewise.
16460         * debug/catchsegv.sh: Likewise.
16461         * elf/genrtldtbl.awk: Likewise.
16462         * elf/tst-pathopt.sh: Likewise.
16463         * elf/tst-rtld-load-self.sh: Likewise.
16464         * grp/tst_fgetgrent.sh: Likewise.
16465         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16466         * iconvdata/gen-8bit-gap.sh: Likewise.
16467         * iconvdata/gen-8bit.sh: Likewise.
16468         * iconvdata/run-iconv-test.sh: Likewise.
16469         * intl/tst-gettext.sh: Likewise.
16470         * intl/tst-gettext2.sh: Likewise.
16471         * intl/tst-gettext4.sh: Likewise.
16472         * intl/tst-gettext6.sh: Likewise.
16473         * intl/tst-translit.sh: Likewise.
16474         * io/ftwtest-sh: Likewise.
16475         * libio/test-freopen.sh: Likewise.
16476         * locale/gen-translit.pl: Likewise.
16477         * malloc/tst-mtrace.sh: Likewise.
16478         * manual/check-safety.sh: Likewise.
16479         * manual/libc-texinfo.sh: Likewise.
16480         * manual/tsort.awk: Likewise.
16481         * manual/xtract-typefun.awk: Likewise.
16482         * nptl/tst-cancel-wrappers.sh: Likewise.
16483         * nptl/tst-tls6.sh: Likewise.
16484         * posix/globtest.sh: Likewise.
16485         * posix/tst-getconf.sh: Likewise.
16486         * posix/wordexp-tst.sh: Likewise.
16487         * scripts/check-c++-types.sh: Likewise.
16488         * scripts/check-local-headers.sh: Likewise.
16489         * scripts/config.guess: Likewise.
16490         * scripts/config.sub: Likewise.
16491         * scripts/cpp: Likewise.
16492         * scripts/cross-test-ssh.sh: Likewise.
16493         * scripts/documented.sh: Likewise.
16494         * scripts/evaluate-test.sh: Likewise.
16495         * scripts/gen-libc-abis: Likewise.
16496         * scripts/gen-sorted.awk: Likewise.
16497         * scripts/list-fixed-bugs.py: Likewise.
16498         * scripts/merge-test-results.sh: Likewise.
16499         * scripts/mkinstalldirs: Likewise.
16500         * scripts/rellns-sh: Likewise.
16501         * scripts/test-installation.pl: Likewise.
16502         * scripts/update-copyrights: Likewise.
16503         * stdio-common/tst-printf.sh: Likewise.
16504         * stdio-common/tst-unbputc.sh: Likewise.
16505         * stdlib/tst-fmtmsg.sh: Likewise.
16506         * stdlib/tst-setcontext3.sh: Likewise.
16507         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16508         * sysdeps/unix/make-syscalls.sh: Likewise.
16510 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16512         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16513         asm stw with atomic_exchange_rel.  Add explanatory comment.
16514         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16515         Likewise.
16517 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16519         [BZ #19122]
16520         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16521         * sysdeps/generic/dl-unistd.h: New file.
16522         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16524 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16526          [BZ #19122]
16527          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16528          * sysdeps/generic/dl-mman.h: New file.
16529          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16531 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16533         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16534         trailing whitespace removed.
16535         * scripts/config.guess: Update to version 2016-01-01.
16536         * scripts/config.sub: Update to version 2016-01-01.
16537         * scripts/move-if-change: Update from gnulib.
16539 2016-01-04  Anton Blanchard  <anton@samba.org>
16541         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16542         for array indices.
16543         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16545 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16547         * NEWS: Update copyright dates.
16548         * catgets/gencat.c (print_version): Likewise.
16549         * csu/version.c (banner): Likewise.
16550         * debug/catchsegv.sh: Likewise.
16551         * debug/pcprofiledump.c (print_version): Likewise.
16552         * debug/xtrace.sh (do_version): Likewise.
16553         * elf/ldconfig.c (print_version): Likewise.
16554         * elf/ldd.bash.in: Likewise.
16555         * elf/pldd.c (print_version): Likewise.
16556         * elf/sotruss.sh: Likewise.
16557         * elf/sprof.c (print_version): Likewise.
16558         * iconv/iconv_prog.c (print_version): Likewise.
16559         * iconv/iconvconfig.c (print_version): Likewise.
16560         * locale/programs/locale.c (print_version): Likewise.
16561         * locale/programs/localedef.c (print_version): Likewise.
16562         * login/programs/pt_chown.c (print_version): Likewise.
16563         * malloc/memusage.sh (do_version): Likewise.
16564         * malloc/memusagestat.c (print_version): Likewise.
16565         * malloc/mtrace.pl: Likewise.
16566         * manual/libc.texinfo: Likewise.
16567         * nptl/version.c (banner): Likewise.
16568         * nscd/nscd.c (print_version): Likewise.
16569         * nss/getent.c (print_version): Likewise.
16570         * nss/makedb.c (print_version): Likewise.
16571         * posix/getconf.c (main): Likewise.
16572         * scripts/test-installation.pl: Likewise.
16573         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16575         * All files with FSF copyright notices: Update copyright dates
16576         using scripts/update-copyrights.
16577         * intl/plural.c: Regenerated.
16578         * locale/programs/charmap-kw.h: Likewise.
16579         * locale/programs/locfile-kw.h: Likewise.
16581 2016-01-02  Helge Deller  <deller@gmx.de>
16583         [BZ #19285]
16584         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16585         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16586         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16587         (MADV_xxK_PAGES): Remove.
16589 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16591         [BZ #15421]
16592         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16593         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16594         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16595         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16597 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16599         [BZ #19408]
16600         * sysdeps/unix/sysv/linux/personality.c: New file.
16601         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16602         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16603         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16604         (sysdep_routines): Add personality.
16605         (tests): Add tst-personality.
16606         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16608         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16609         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16610         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16611         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16612         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16613         Likewise.
16614         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16615         Likewise.
16616         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16617         Likewise.
16618         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16619         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16620         Likewise.
16622 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16624         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16625         (PATH_ARM_SYSTYPE): Remove.
16626         (PATH_CPUINFO): Likewise.
16627         (IO_BASE_FOOTBRIDGE): Likewise.
16628         (IO_SHIFT_FOOTBRIDGE): Likewise.
16629         (struct platform): Likewise.
16630         (init_iosys): Remove compatibility code for 2.4 kernels.
16631         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16633 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16635         * malloc/tst-malloc-thread-fail.c: New file.
16636         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16637         (tst-malloc-thread-fail): Link against libpthread.
16639 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16641         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16642         (get_parser): New function.
16643         (main): New function.
16645 2015-12-29  Rob Wu  <rob@robwu.nl>
16647         [BZ #19369]
16648         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16650 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16652         [BZ #19270]
16653         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16655 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16657         [BZ #15421]
16658         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16660 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16662         [BZ #13690]
16663         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16664         after releasing it.
16665         (__lll_robust_unlock): Likewise.
16666         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16667         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16668         (lll_robust_unlock): Likewise.
16669         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16670         Prevent warnings in callers.
16672 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16674         * malloc/arena.c (list_lock): Update comment.
16676 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16678         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16679         __parse_hwcap_and_convert_at_platform to libc.a.
16681 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16683         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16684         platform and feature support for POWER9.
16685         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16686         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16687         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16688         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16689         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16690         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16691         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16692         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16694 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16696         Harmonize generic stdio-lock support with nptl
16698         This fixes build when _IO_funlockfile is a macro, fixes build where
16699         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16700         stack unwind.
16702         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16703         _IO_release_lock ): Use cleanup attribute on new
16704         _IO_acquire_lock_file variable instead of assuming that
16705         _IO_release_lock will be called.
16706         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16707         _IO_acquire_lock_needs_exceptions_enabled.
16708         (_IO_acquire_lock_clear_flags2): New macro.
16710 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16712         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16714 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16716         [BZ #19182]
16717         * malloc/arena.c (list_lock): Document lock ordering requirements.
16718         (free_list_lock): New lock.
16719         (ptmalloc_lock_all): Comment on free_list_lock.
16720         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16721         (detach_arena): Update comment.  free_list_lock is now needed.
16722         (_int_new_arena): Use free_list_lock around detach_arena call.
16723         Acquire arena lock after list_lock.  Add comment, including FIXME
16724         about incorrect synchronization.
16725         (get_free_list): Switch to free_list_lock.
16726         (reused_arena): Acquire free_list_lock around detach_arena call
16727         and attached threads counter update.  Add two FIXMEs about
16728         incorrect synchronization.
16729         (arena_thread_freeres): Switch to free_list_lock.
16730         * malloc/malloc.c (struct malloc_state): Update comments to
16731         mention free_list_lock.
16733 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16735         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16736         Remove functions.
16737         (sloww, sloww1): Accept argument to offset quadrant.
16738         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16739         quadrant.
16740         (__sin, __cos): Consolidate common code into new functions.
16741         (reduce_sincos_1, do_sincos_1): New functions.
16742         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16744         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16745         code to new functions.
16746         (reduce_sincos_2, do_sincos_2): New functions.
16747         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16749         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16750         common code for sincos.
16751         (__cos) [!IN_SINCOS]: Likewise.
16752         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16753         New function.
16754         (__sincos): Use it.
16756 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16758         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16759         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16760         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16762 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16764         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16767         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16768         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16769         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16770         index_Prefer_No_VZEROUPPER): New feature.
16771         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16772         Prefer_No_VZEROUPPER for Knights Landing.
16774 015-12-18  Torvald Riegel  <triegel@redhat.com>
16776         * math/atest-exp2.c (mp_exp_m1): Remove.
16778 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16780         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16781         syscalls.
16782         (__SYSCALL0): New macro.
16783         (__SYSCALL1): Likewise.
16784         (__SYSCALL2): Likewise.
16785         (__SYSCALL3): Likewise.
16786         (__SYSCALL4): Likewise.
16787         (__SYSCALL5): Likewise.
16788         (__SYSCALL6): Likewise.
16789         (__SYSCALL_CONCAT_X): Likewise.
16790         (__SYSCALL_CONCAT): Likewise.
16791         (__SYSCALL_DIST): Likewise.
16792         (__SYSCALL_CALL): Likewise.
16794 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16796         [BZ #19363]
16797         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16799 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16801         [BZ #19375]
16802         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16803         negative subnormals.
16805 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16808         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16809         (INTERNAL_SYSCALL_NCS): Use it.
16810         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16812 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16814         [BZ #19243]
16815         * malloc/arena.c (get_free_list): Remove assert and adjust
16816         reference count handling.  Add comment about reused_arena
16817         interaction.
16818         (reused_arena): Add comments abount get_free_list interaction.
16819         * malloc/tst-malloc-thread-exit.c: New file.
16820         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16821         (tst-malloc-thread-exit): Link against libpthread.
16823 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16825         [BZ #19367]
16826         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16827         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16828         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16829         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16830         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16832 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16834         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16835         Silvermont optimizations for Knights Landing.
16837 2015-12-15  Andreas Schwab  <schwab@suse.de>
16839         [BZ #17197]
16840         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16841         immediately after emitting SI.
16842         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16843         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16844         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16845         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16846         * iconvdata/bug-iconv10.c: New file.
16847         * iconvdata/Makefile (tests): Add bug-iconv10.
16848         ($(objpfx)bug-iconv10.out): New rule.
16850 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16852         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16853         aliasing violation.
16855 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16857         [BZ #18472]
16858         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16859         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16860         conditionals for them.
16861         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16862         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16863         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16864         sys/kdaemon.h.
16865         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16866         compat-only syscall, obsoleted in glibc 2.23.
16867         (create_module): Likewise.
16868         (get_kernel_syms): Likewise.
16869         (query_module): Likewise.
16870         (uselib): Likewise.
16871         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16873 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16875         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16876         <linux/version.h>.
16877         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16878         conditional code.
16879         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16880         and ioshift_name initialization.
16882 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16884         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16885         Fix indentation.
16887 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16889         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16891 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16893         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16895 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16896             Jakub Wilk  <jwilk@debian.org>
16898         [BZ #19347]
16899         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16900         to change the group of the device to the tty group.
16902 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16904         Split large string section; add truncation advice
16905         * manual/examples/strncat.c: Remove.
16906         This example was misleading, as the code would have undefined
16907         behavior if "hello" was longer than SIZE.  Anyway, the manual
16908         shouldn't encourage strncpy+strncat for this sort of thing.
16909         * manual/string.texi (Copying Strings and Arrays): Split into
16910         three sections Copying Strings and Arrays, Concatenating Strings,
16911         and Truncating Strings, as this section was way too long.  All
16912         cross-referenced changed.  Add advice about string-truncation
16913         functions.  Remove misleading strncat example.
16915 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16917         * manual/nss.texi (NSS Modules Interface): Document
16918         NSS_STATUS_NOTFOUND and SUCCESS.
16920 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16922         [BZ 18568]
16923         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16924         201505L, for Unicode 8.
16926 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16928         * locale/C-translit.h: Regenerate.
16930 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16932         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16933         and U+0153.
16935 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16937         [BZ #19351]
16938         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16939         expanding log(1+z), compare z rather than its square with epsilon
16940         to determine when to avoid evaluating the expansion.
16942         [BZ #19350]
16943         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16944         Increase overflow threshold.
16946         [BZ #19349]
16947         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16948         when small.
16950         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16952         New macro.
16953         [__LINUX_KERNEL_VERSION >= 0x040300]
16954         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16955         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16956         Likewise.
16957         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16958         Likewise.
16959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16960         Likewise.
16961         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16962         Likewise.
16963         [__LINUX_KERNEL_VERSION >= 0x040300]
16964         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16965         [__LINUX_KERNEL_VERSION >= 0x040300]
16966         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16967         [__LINUX_KERNEL_VERSION >= 0x040300]
16968         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16969         [__LINUX_KERNEL_VERSION >= 0x040300]
16970         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16971         [__LINUX_KERNEL_VERSION >= 0x040300]
16972         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16974         Likewise.
16975         [__LINUX_KERNEL_VERSION >= 0x040300]
16976         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16978         Likewise.
16979         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16980         Likewise.
16981         [__LINUX_KERNEL_VERSION >= 0x040300]
16982         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16984         Likewise.
16985         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16986         Likewise.
16987         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16989         Likewise.
16990         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16991         Likewise.
16992         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16993         Likewise.
16994         [__LINUX_KERNEL_VERSION >= 0x040300]
16995         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16996         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16997         Likewise.
16998         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16999         Likewise.
17000         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17001         Likewise.
17002         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17003         Likewise.
17004         [__LINUX_KERNEL_VERSION >= 0x040300]
17005         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17006         [__LINUX_KERNEL_VERSION >= 0x040300]
17007         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17008         [__LINUX_KERNEL_VERSION >= 0x040300]
17009         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17010         [__LINUX_KERNEL_VERSION >= 0x040300]
17011         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17012         [__LINUX_KERNEL_VERSION >= 0x040300]
17013         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17014         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17015         Likewise.
17016         [__LINUX_KERNEL_VERSION >= 0x040300]
17017         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17018         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17019         Likewise.
17020         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17021         Likewise.
17022         [__LINUX_KERNEL_VERSION >= 0x040300]
17023         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17024         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17025         Likewise.
17026         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17027         Likewise.
17028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17029         (__ASSUME_SOCKET_SYSCALL): Likewise.
17030         (__ASSUME_BIND_SYSCALL): Likewise.
17031         (__ASSUME_CONNECT_SYSCALL): Likewise.
17032         (__ASSUME_LISTEN_SYSCALL): Likewise.
17033         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17034         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17035         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17036         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17037         (__ASSUME_SEND_SYSCALL): Likewise.
17038         (__ASSUME_SENDTO_SYSCALL): Likewise.
17039         (__ASSUME_RECV_SYSCALL): Likewise.
17040         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17041         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17042         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17043         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17044         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17045         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17046         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17047         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17048         Likewise.
17049         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17050         Likewise.
17051         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17052         Likewise.
17053         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17054         Likewise.
17055         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17056         Likewise.
17057         [__LINUX_KERNEL_VERSION >= 0x020625]
17058         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17059         [__LINUX_KERNEL_VERSION >= 0x020625]
17060         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17061         [__LINUX_KERNEL_VERSION >= 0x020625]
17062         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17063         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17064         Likewise.
17065         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17066         Likewise.
17067         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17068         Likewise.
17069         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17070         Likewise.
17071         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17072         Likewise.
17073         [__LINUX_KERNEL_VERSION >= 0x020625]
17074         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17075         [__LINUX_KERNEL_VERSION >= 0x020625]
17076         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17077         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17078         Likewise.
17079         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17080         Likewise.
17082 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17084         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17085         record the current if the current ABI and CPU support the FP64
17086         extension.
17087         (has-modd-spreg): Define to record the current if the current ABI and
17088         CPU support 32-bit floating point values in odd FPU registers.
17089         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17090         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17091         $(has-modd-spreg) equals yes.
17092         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17093         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17094         $(has-modd-spreg) equal yes.
17096 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17098         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17099         basename.
17101 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17103         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17104         (bench-string): ... here.
17105         (bench): Add bench-string.
17106         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17107         to *-benchset to reflect what they are.
17108         (benchset): Adjust.
17110         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17111         cos-inputs.
17113 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17115         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17116         __attribute__ ((__simd__)) for vector math function declarations.
17118 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17120         Fix typo in strncat, wcsncat manual entries
17121         * manual/string.texi (Copying and Concatenation): Fix typos in
17122         sample implementations of strncat and wcsncat, by having them use
17123         the old value of the destination length, not the new one.
17125 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17127         [BZ #16961]
17128         [BZ #16962]
17129         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17130         string on the stack for strtod.
17131         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17132         a string on the stack for strtof.
17133         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17134         constructing a string on the stack for strtold.
17135         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17136         __strtold_nan to GLIBC_PRIVATE.
17137         * math/test-nan-overflow.c: New file.
17138         * math/test-nan-payload.c: Likewise.
17139         * math/Makefile (tests): Add test-nan-overflow and
17140         test-nan-payload.
17142 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17144         Consistency about byte vs character in string.texi
17145         * manual/string.texi (String and Array Utilities):
17146         Distinguish more carefully among bytes, multibyte characters,
17147         and wide characters.  Use "byte" when talking about C 'char',
17148         to distinguish it more clearly from multibyte characters.
17149         Say "wide character" or "multibyte character" instead of
17150         "character", when a wide or multibyte character is intended.
17151         Similarly for "multibyte string" versus "string".
17152         Define these terms more carefully.
17154 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17156         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17157         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17158         Likewise.
17159         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17160         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17161         * sysdeps/sh/math_private.h: New file.
17162         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17163         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17164         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17165         long double function name.
17166         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17167         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17168         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17169         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17170         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17172         Remove __finitel, __isinfl, and __isnanl.
17173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17174         Likewise.
17175         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17177         Remove __finitel.
17178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17179         Likewise.
17180         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17182 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17184         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17185         installed libmvec_nonshared.a.
17187 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17189         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17190         (sysdep_routines): Likewise.
17191         (sysdep-rtld-routines): Likewise.
17192         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17193         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17194         * sysdeps/powerpc/Versions: Added new
17195         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17196         * sysdeps/powerpc/hwcapinfo.c: New file.
17197         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17198         and parse hwcap, hwcap2 and platform number information.
17199         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17200         to store HWCAP+HWCAP2 and platform number.
17201         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17202         for HWCAP+HWCAP2 and platform number in the TCB.
17203         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17204         the HWCAP, HWCAP2 and platform number in the TCB.
17205         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17206         (TLS_INIT_TP): Included calls to add the hwcap and
17207         at_platform values in the TCB in TP initialization.
17208         (TLS_DEFINE_INIT_TP): Likewise.
17209         (THREAD_GET_HWCAP): New macro.
17210         (THREAD_SET_HWCAP): Likewise.
17211         (THREAD_GET_AT_PLATFORM): Likewise.
17212         (THREAD_SET_AT_PLATFORM): Likewise.
17213         * sysdeps/powerpc/powerpc32/dl-machine.h:
17214         (dl_platform_init): New function that calls
17215         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17216         powerpc32.
17217         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17218         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17219         this functionality, static linking case.
17220         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17221         linking case.
17222         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17223         __parse_hwcap_and_convert_at_platform for the static linking case.
17224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17225         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17226         ABI list for GLIBC 2.23.
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17228         Likewise.
17229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17230         Likewise.
17232 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17234         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17235         * configure: Regenerate.
17236         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17237         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17239 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17241         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17242         * iconvdata/ibm933.c: Likewise.
17243         * iconvdata/ibm935.c: Likewise.
17244         * iconvdata/ibm937.c: Likewise.
17245         * iconvdata/ibm939.c: Likewise.
17247 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17249         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17250         pthread_join.
17251         * nptl/tst-cancel21.c (tf): Likewise.
17253 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17255         [BZ #19313]
17256         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17257         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17258         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17259         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17260         Likewise.
17261         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17262         Likewise.
17263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17264         Likewise.
17265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17266         Likewise.
17267         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17268         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17269         unsigned long int with __CPU_MASK_TYPE.
17271 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17273         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17275 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17277         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17278         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17279         t512.x.
17280         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17282 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17284         [BZ #19214]
17285         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17286         argument to return extended model.  Update family and model
17287         with extended family and model when family == 0x0f.
17288         (init_cpu_features): Updated.
17290 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17292         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17293         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17295         * sysdeps/mach/hurd/mmap64.c: New file.
17297 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17299         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17300         rights for its main user thread in NEWTASK.
17302 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17304         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17305         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17307 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17309         [BZ #14259]
17310         * Makeconfig: Rename localedir to complocaledir.
17311         Rename inst_localedir to inst_complocaledir.
17312         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17313         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17314         * configure.ac: Use libc_cv_complocaledir.
17315         * configure: Regenerate.
17316         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17317         -DCOMPLOCALEDIR.
17318         * locale/findlocale.c: Use COMPLOCALEDIR.
17319         * locale/loadarchive.c: Likewise.
17320         * locale/programs/locale.c: Likewise.
17321         * locale/programs/localedef.c: Likewise.
17322         * locale/programs/locarchive.c: Likewise.
17323         * localedata/Makefile: Use inst_complocaledir.
17324         * sysdeps/gnu/configure: Regenerate.
17325         * sysdeps/hppa/configure: Regenerate.
17326         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17327         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17329         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17330         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17331         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17332         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17334 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17336         [BZ #19058]
17337         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17338         AS_NEEDED.
17339         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17340         workaround.
17341         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17342         libmvec-static-only-routines): Added new file.
17343         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17345 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17347         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17348         of interrupted RPC instead of restoring it.
17350         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17351         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17352         libc_hidden_def.
17353         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17354         into initialized data instead of common. Define rtld_hidden_data_def.
17355         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17356         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17357         libc_hidden_def.
17358         (if_freenameindex): Add libc_hidden_weak.
17359         (if_nameindex): Add libc_hidden_weak.
17360         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17361         __open64.
17362         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17363         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17364         * sysdeps/mach/nanosleep.c: Include <time.h>
17365         (__nanosleep): Rename to __libc_nanosleep.
17366         (__nanosleep): Add weak_alias.
17367         (nanosleep): Update alias.
17369 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17371         * stdlib/strtod_nan.c: New file.
17372         * stdlib/strtod_nan_double.h: Likewise.
17373         * stdlib/strtod_nan_float.h: Likewise.
17374         * stdlib/strtod_nan_main.c: Likewise.
17375         * stdlib/strtod_nan_narrow.h: Likewise.
17376         * stdlib/strtod_nan_wide.h: Likewise.
17377         * stdlib/strtof_nan.c: Likewise.
17378         * stdlib/strtold_nan.c: Likewise.
17379         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17380         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17381         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17382         * wcsmbs/wcstod_nan.c: Likewise.
17383         * wcsmbs/wcstof_nan.c: Likewise.
17384         * wcsmbs/wcstold_nan.c: Likewise.
17385         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17386         strtold_nan.
17387         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17388         wcstof_nan.
17389         * include/stdlib.h (__strtof_nan): Declare and use
17390         libc_hidden_proto.
17391         (__strtod_nan): Likewise.
17392         (__strtold_nan): Likewise.
17393         (__wcstof_nan): Likewise.
17394         (__wcstod_nan): Likewise.
17395         (__wcstold_nan): Likewise.
17396         * include/wchar.h (____wcstoull_l_internal): Declare.
17397         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17398         (____strtoull_l_internal): Remove declaration.
17399         (STRTOF_NAN): Define macro.
17400         (SET_MANTISSA): Remove macro.
17401         (STRTOULL): Likewise.
17402         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17403         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17404         (STRTOF_NAN): Define macro.
17405         (SET_MANTISSA): Remove macro.
17406         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17407         (SET_MANTISSA): Remove macro.
17408         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17409         macro.
17410         (SET_MANTISSA): Remove macro.
17411         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17412         macro.
17413         (SET_MANTISSA): Remove macro.
17414         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17415         (SET_MANTISSA): Remove macro.
17416         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17417         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17418         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17420         [BZ #19266]
17421         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17422         upper case and lower case letters inside NAN(), not using TOLOWER.
17423         * stdlib/tst-strtod-nan-locale-main.c: New file.
17424         * stdlib/tst-strtod-nan-locale.c: Likewise.
17425         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17426         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17427         Depend on $(gen-locales).
17428         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17429         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17430         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17431         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17432         Depend on $(gen-locales).
17433         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17435 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17437         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17439         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17441         __finitel, __isinfl, and __isnanl.
17442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17443         Likewise.
17444         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17446         __finitel.
17447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17448         Likewise.
17449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17451 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17453         * malloc/memusage.c (me): Remove redundant getenv call.
17455 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17457         [BZ #19143]
17458         [BZ #19164]
17459         * nptl/check-cpuset.h: Remove.
17460         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17461         Remove CPU set size check.
17462         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17463         Likewise.
17464         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17465         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17466         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17467         (__pthread_setaffinity_new): Remove CPU set size check.
17468         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17469         (__kernel_cpumask_size): Remove.
17470         (__sched_setaffinity_new): Remove CPU set size check.
17471         * manual/threads.texi (Default Thread Attributes): Remove stale
17472         reference to check_cpuset_attr, determine_cpumask_size in comment.
17473         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17474         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17475         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17476         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17477         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17478         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17479         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17480         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17481         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17482         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17483         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17484         skeleton test file.
17485         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17486         tst-affinity-pid.
17488 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17490         * scripts/update-abilist.sh: New file.
17491         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17492         * Makerules (update-all-abi-%, update-all-abi)
17493         (subdir_update-all-abi): New targets.
17494         * elf/Makefile (update-all-abi): New target.
17496 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17498         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17499         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17500         (__libc_lock_define_initialized): Use it.
17501         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17502         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17503         * malloc/malloc.c (main_arena): Likewise.
17504         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17505         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17507 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17509         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17510         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17511         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17512         (PTRACE_O_MASK): Update value.
17513         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17514         New value in enum __ptrace_setoptions.
17515         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17516         (PTRACE_O_MASK): Update value.
17517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17518         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17519         (PTRACE_O_MASK): Update value.
17520         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17521         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17522         (PTRACE_O_MASK): Update value.
17523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17524         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17525         (PTRACE_O_MASK): Update value.
17526         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17527         New value in enum __ptrace_setoptions.
17528         (PTRACE_O_MASK): Update value.
17529         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17530         New value in enum __ptrace_setoptions.
17531         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17532         (PTRACE_O_MASK): Update value.
17534         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17535         New macro.
17536         (PACKET_AUXDATA): Likewise.
17537         (PACKET_ORIGDEV): Likewise.
17538         (PACKET_VERSION): Likewise.
17539         (PACKET_HDRLEN): Likewise.
17540         (PACKET_RESERVE): Likewise.
17541         (PACKET_TX_RING): Likewise.
17542         (PACKET_LOSS): Likewise.
17543         (PACKET_VNET_HDR): Likewise.
17544         (PACKET_TX_TIMESTAMP): Likewise.
17545         (PACKET_TIMESTAMP): Likewise.
17546         (PACKET_FANOUT): Likewise.
17547         (PACKET_TX_HAS_OFF): Likewise.
17548         (PACKET_QDISC_BYPASS): Likewise.
17549         (PACKET_ROLLOVER_STATS): Likewise.
17550         (PACKET_FANOUT_DATA): Likewise.
17551         (PACKET_MR_UNICAST): Likewise.
17553         [BZ #19242]
17554         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17555         (TOUPPER): Likewise.
17556         * stdlib/tst-strtol-locale-main.c: New file.
17557         * stdlib/tst-strtol-locale.c: Likewise.
17558         * stdlib/Makefile (tests): Add tst-strtol-locale.
17559         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17560         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17561         Depend on $(gen-locales).
17562         * wcsmbs/tst-wcstol-locale.c: New file.
17563         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17564         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17565         tr_TR.ISO-8859-9.
17566         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17567         Depend on $(gen-locales).
17569 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17571         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17572         __glibc_likely instead of __builtin_expect.  After falling back to
17573         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17574         system interface to register the code pages as occupied.
17576 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17578         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17579         [!ARM_MATH_PRIVATE_H].
17580         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17581         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17582         [!HPPA_MATH_PRIVATE_H].
17583         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17584         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17585         to [!I386_MATH_PRIVATE_H].
17586         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17587         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17588         Change guard to [!M68K_MATH_PRIVATE_H].
17589         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17590         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17591         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17592         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17593         macro.
17594         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17595         [!MIPS_MATH_PRIVATE_H].
17596         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17597         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17598         [!NIO2_MATH_PRIVATE_H].
17599         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17600         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17601         [!TILE_MATH_PRIVATE_H].
17602         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17604         [BZ #15421]
17605         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17606         initialize with 0 and define as weak alias of __signgam.
17607         * include/math.h [!_ISOMAC] (__signgam): Declare.
17608         * math/Makefile (libm-calls): Add w_lgamma_compat.
17609         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17610         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17611         test-signgam-ullong-init.
17612         (tests-static): Add test-signgam-uchar-static,
17613         test-signgam-uchar-init-static, test-signgam-uint-static,
17614         test-signgam-uint-init-static, test-signgam-ullong-static and
17615         test-signgam-ullong-init-static.
17616         (CFLAGS-test-signgam-uchar.c): New variable.
17617         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17618         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17619         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17620         (CFLAGS-test-signgam-uint.c): Likewise.
17621         (CFLAGS-test-signgam-uint-init.c): Likewise.
17622         (CFLAGS-test-signgam-uint-static.c): Likewise.
17623         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17624         (CFLAGS-test-signgam-ullong.c): Likewise.
17625         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17626         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17627         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17628         * math/Versions (libm): Add GLIBC_2.23.
17629         * math/lgamma-compat.h: New file.
17630         * math/test-signgam-main.c: Likewise.
17631         * math/test-signgam-uchar-init-static.c: Likewise.
17632         * math/test-signgam-uchar-init.c: Likewise.
17633         * math/test-signgam-uchar-static.c: Likewise.
17634         * math/test-signgam-uchar.c: Likewise.
17635         * math/test-signgam-uint-init-static.c: Likewise.
17636         * math/test-signgam-uint-init.c: Likewise.
17637         * math/test-signgam-uint-static.c: Likewise.
17638         * math/test-signgam-uint.c: Likewise.
17639         * math/test-signgam-ullong-init-static.c: Likewise.
17640         * math/test-signgam-ullong-init.c: Likewise.
17641         * math/test-signgam-ullong-static.c: Likewise.
17642         * math/test-signgam-ullong.c: Likewise.
17643         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17644         wrapper of w_lgamma_main.c.
17645         * math/w_lgamma_compat.c: New file.
17646         * math/w_lgamma_compatf.c: Likewise.
17647         * math/w_lgamma_compatl.c: Likewise.
17648         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17649         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17650         defining compatibility symbols.
17651         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17652         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17653         wrapper of w_lgammaf_main.c.
17654         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17655         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17656         defining compatibility symbols.
17657         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17658         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17659         wrapper of w_lgammal_main.c.
17660         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17661         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17662         defining compatibility symbols.
17663         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17664         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17665         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17666         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17667         <lgamma-compat.h>.
17668         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17669         (__ieee754_gamma): Define as alias.
17670         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17671         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17672         <lgamma-compat.h>.
17673         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17674         (__ieee754_gammaf): Define as alias.
17675         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17676         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17677         <lgamma-compat.h>.
17678         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17679         (__ieee754_gammal): Define as alias.
17680         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17681         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17682         <math/w_lgamma_compat.c>.
17683         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17684         Define as alias of __lgamma_compat and use in defining lgammal.
17685         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17686         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17687         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17688         (USE_AS_COMPAT): New macro.
17689         (LGAMMA_OLD_VER): Undefine and redefine.
17690         (lgammal): Do not define here.
17691         (gammal): Only define here if [GAMMA_ALIAS].
17692         * conform/linknamespace.pl (@whitelist): Remove signgam.
17693         * sysdeps/nacl/libm.abilist: Update.
17694         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17695         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17696         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17697         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17698         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17699         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17700         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17701         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17702         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17703         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17704         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17705         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17707         Likewise.
17708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17709         Likewise.
17710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17711         Likewise.
17712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17713         Likewise.
17714         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17715         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17716         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17717         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17718         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17720         Likewise.
17721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17722         Likewise.
17723         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17724         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17725         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17727 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17729         [BZ #16364]
17730         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17731         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17733 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17735         * sysdeps/s390/fpu/bits/mathinline.h:
17736         Use __asm__ [__volatile__] instead of asm [volatile].
17737         * sysdeps/s390/abort-instr.h: Likewise.
17738         * sysdeps/s390/atomic-machine.h: Likewise.
17739         * sysdeps/s390/bits/string.h: Likewise.
17740         * sysdeps/s390/dl-tls.h: Likewise.
17741         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17742         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17743         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17744         * sysdeps/s390/fpu/fesetround.c: Likewise.
17745         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17746         * sysdeps/s390/fpu/s_fma.c: Likewise.
17747         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17748         * sysdeps/s390/memusage.h: Likewise.
17749         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17750         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17751         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17752         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17753         * sysdeps/s390/nptl/tls.h: Likewise.
17754         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17755         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17756         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17757         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17758         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17759         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17760         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17761         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17762         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17763         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17764         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17765         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17766         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17767         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17768         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17769         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17770         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17771         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17772         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17774         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17776         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17778 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17779             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17781         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17782         Add lwarx hint, and use macro for acquire instruction.
17783         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17784         Likewise.
17785         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17786         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17787         update to use new atomic macros.
17789 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17791         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17792         (__lll_trylock_elision): Fix setting of adapt_count.
17793         * sysdeps/unix/sysv/linux/powerpc/htm.h
17794         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17795         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17796         (_ABORT_SYSCALL): Renumber, and clarify definition.
17797         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17799 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17801         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17802         after system headers to prevent MIN/MAX redefinition.  Define
17803         HAVE_ALLOCA to preserve builtin alloca usage.
17805 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17808         static and don't set or restore rounding.
17809         (__cos)[IN_SINCOS]: Likewise.
17810         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17811         (__sincos): Set and restore rounding mode.  Remove check for infinite
17812         or NaN input.
17814         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17816         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17817         as used.
17819 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17821         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17823 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17825         * config.make.in (have-glob-dat-reloc): New.
17826         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17827         target supports GLOB_DAT relocaton. AC_SUBST.
17828         * configure: Regenerated.
17829         * elf/Makefile (tests): Add tst-prelink.
17830         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17831         (tst-prelink-ENV): New.
17832         ($(objpfx)tst-prelink-conflict.out): Likewise.
17833         ($(objpfx)tst-prelink-cmp.out): Likewise.
17834         * sysdeps/x86/tst-prelink.c: Moved to ...
17835         * elf/tst-prelink.c: Here.
17836         * sysdeps/x86/tst-prelink.exp: Moved to ...
17837         * elf/tst-prelink.exp: Here.
17838         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17839         (tst-prelink-ENV): Removed.
17840         ($(objpfx)tst-prelink-conflict.out): Likewise.
17841         ($(objpfx)tst-prelink-cmp.out): Likewise.
17842         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17844 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17846         [BZ #14551]
17847         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17848         (__mpn_construct_long_double): If high part overflows to infinity,
17849         set errno and recompute overflowed result of the correct sign.
17850         * sysdeps/ieee754/ldbl-128ibm/Makefile
17851         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17852         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17853         $(libm).
17854         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17856 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17858         [BZ #15479]
17859         [BZ #19238]
17860         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17861         floating-point state after first operation on input.  Restore full
17862         state rather than just rounding mode.
17863         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17864         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17865         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17867         [BZ #19235]
17868         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17869         add 0.5 to integer arguments.
17870         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17871         Likewise.
17872         (.LC2): New object.
17874 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17876         * scripts/pylintrc (reports): Set to no.
17878 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17880         * elf/dl-load.c (open_verify): Take new argument FD.
17881         Skip __open call if passed FD is not -1.
17882         (_dl_map_object, open_path): Update callers.
17883         * elf/dl-sysdep-open.h: New file.
17884         * elf/dl-load.c: Include it.
17885         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17886         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17887         * sysdeps/nacl/dl-sysdep-open.h: New file.
17888         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17889         from libc to rtld.
17891 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17893         [BZ #19228]
17894         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17895         and restore full floating-point state.
17896         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17897         Likewise.
17898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17899         Likewise.
17900         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17901         Likewise.
17902         * math/test-nearbyint-except-2.c: New file.
17903         * math/Makefile (tests): Add test-nearbyint-except-2.
17905 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17907         [BZ #19178]
17908         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17909         (tst-prelink-ENV): New.
17910         ($(objpfx)tst-prelink-conflict.out): Likewise.
17911         ($(objpfx)tst-prelink-cmp.out): Likewise.
17912         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17913         * sysdeps/x86/tst-prelink.c: New file.
17914         * sysdeps/x86/tst-prelink.exp: Likewise.
17916 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17918         * math/auto-libm-test-in: Add another test of pow.
17919         * math/auto-libm-test-out: Regenerated.
17920         * math/libm-test.inc (pow_test_data): Add another test.
17922 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17924         [BZ #19219]
17925         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17926         weak_alias to nearbyintl.
17928 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17930         * sysdeps/aarch64/bits/string.h: New file.
17931         (_STRING_ARCH_unaligned): Define.
17933 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17935         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17936         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17937         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17938         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17941 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17943         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17944         for original name of the DSO.  Add it to the name list of the DSO
17945         if it is actually given.
17946         (_dl_map_object): Keep track of whether an audit module rewrote
17947         the file name.  If yes, pass the original name to
17948         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17949         debugging is enabled, log the change of the file name.
17950         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17951         _dl_map_object_from_fd.
17952         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17953         * elf/tst-audit11.c: New file
17954         * elf/tst-auditmod11.c: New file.
17955         * elf/tst-audit11mod1.c: New file.
17956         * elf/tst-audit11mod2.c: New file.
17957         * elf/tst-audit11mod2.map: New file.
17958         * elf/tst-audit12.c: New file
17959         * elf/tst-auditmod12.c: New file.
17960         * elf/tst-audit12mod1.c: New file.
17961         * elf/tst-audit12mod2.c: New file.
17962         * elf/tst-audit12mod2.map: New file.
17963         * elf/tst-audit12mod3.c: New file.
17965 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17967         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17968         Don't create weak aliases,
17969         because versioned symbols are created later.
17970         * sysdeps/s390/s390-32/setjmp.S
17971         (setjmp, _setjmp): Remove weak and rename to an unique name
17972         in SHARED case due to existing versioned symbols.
17973         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17974         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17975         (getcontext): Create weak alias only in non SHARED case.
17976         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17978 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17980         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17981         (__ASSUME_*_SYSCALL) Define new macros.
17982         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17983         Remove socketcall syscalls.
17984         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17985         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17986         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17987         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17988         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17989         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17991 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17993         [BZ #12926]
17994         Terminate process on invalid netlink response.
17995         * sysdeps/unix/sysv/linux/netlinkaccess.h
17996         (__netlink_assert_response): Declare.
17997         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17998         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17999         (sysdep_routines): Add netlink_assert_response.
18000         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18001         __netlink_assert_response.
18002         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18003         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18004         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18005         __netlink_assert_response.
18007 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18009         [BZ #19178]
18010         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18011         (RTYPE_CLASS_PLT): Likewise.
18012         (RTYPE_CLASS_COPY): Likewise.
18013         (RTYPE_CLASS_TLS): Likewise.
18014         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18015         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18016         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18017         DL_DEBUG_PRELINK.
18019 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18021         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18022         calls with argument -0.5.
18023         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18025         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18026         (libc_cv_z_nodlopen): Likewise.
18027         (libc_cv_z_initfirst): Likewise.
18028         * configure: Regenerated.
18030 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18032         Simplify abilist format to be line-based.
18033         * scripts/abilist.awk: Collect descriptors in the descs variable.
18034         (emit): Write descs variable and sort it
18035         externally, with sort.
18036         * sysdeps/**/*.abilist: Convert to new format.
18038 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18040         [BZ #11460]
18041         * io/Makefile (routines): Add fts64.
18042         (tests): Add tst-fts and tst-fts-lfs.
18043         (CFLAGS-fts64.c): New.
18044         * io/Versions (GLIBC_2.23): New.
18045         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18046         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18047         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18048         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18049         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18050         (FTSENT64): Likewise.
18051         (fts64_children): Likewise.
18052         (fts64_close): Likewise.
18053         (fts64_open): Likewise.
18054         (fts64_read): Likewise.
18055         (fts64_set): Likewise.
18056         * io/fts64.c: New file.
18057         * io/tst-fts.c: New test.
18058         * io/tst-fts-lfs.c: Likewise.
18059         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18060         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18061         fts64_set.
18062         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18063         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18064         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18065         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18066         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18067         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18068         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18069         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18070         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18071         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18072         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18073         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18074         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18076         Likewise.
18077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18078         Likewise.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18081         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18082         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18083         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18084         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18085         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18088         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18089         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18090         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18091         * sysdeps/wordsize-64/fts.c: New file.
18092         * sysdeps/wordsize-64/fts64.c: Likewise.
18093         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18094         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18095         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18096         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18098 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18100         * math/libm-test.inc (NON_FINITE): New macro.
18101         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18102         * math/gen-libm-test.pl (show_exceptions): Add argument
18103         $non_finite.
18104         (parse_args): Update call to show_exceptions.
18105         * math/test-math-finite.h: New file.
18106         * math/test-math-no-finite.h: Likewise.
18107         * math/test-double-finite.c: Likewise.
18108         * math/test-float-finite.c: Likewise.
18109         * math/test-ldouble-finite.c: Likewise.
18110         * math/test-double.c: Include "test-math-no-finite.h".
18111         * math/test-float.c: Include "test-math-no-finite.h".
18112         * math/test-ldouble.c: Include "test-math-no-finite.h".
18113         * math/test-math-inline.h (TEST_FINITE): New macro.
18114         * math/test-math-vector.h (TEST_FINITE): Likewise.
18115         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18116         (libm-tests): Add test-float-finite and test-double-finite.
18117         ($(objpfx)test-float-finite.o): New dependency on
18118         $(objpfx)libm-test.stmp.
18119         ($(objpfx)test-double-finite.o): Likewise.
18120         ($(objpfx)test-ldouble-finite.o): Likewise.
18121         (libm-test-no-inline-cflags): New variable.
18122         (libm-test-finite-cflags): Likewise.
18123         (CFLAGS-test-float-finite.c): Likewise.
18124         (CFLAGS-test-double-finite.c): Likewise.
18125         (CFLAGS-test-ldouble-finite.c): Likewise.
18126         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18127         (CFLAGS-test-double.c): Likewise.
18128         (CFLAGS-test-ldouble.c): Likewise.
18130 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18132         * io/fcntl.c (__fcntl): Add ... to prototype.
18133         * misc/ioctl.c (__ioctl): Likewise.
18134         * misc/syscall.c (syscall): Likewise.
18136 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18138         * scripts/list-fixed-bugs.py: New file.
18140         [BZ #19213]
18141         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18142         returned for argument 1.
18143         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18144         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18145         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18146         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18147         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18148         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18150         [BZ #19211]
18151         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18152         __USE_XOPEN], not if [!__USE_ISOC99].
18153         (lgammaf): Likewise.
18154         (lgammal): Likewise.
18155         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18156         (gammaf): Likewise.
18157         (gammal): Likewise.
18158         * math/test-signgam-finite-c11.c: New file.
18159         * math/test-signgam-finite-c99.c: Likewise.
18160         * math/test-signgam-finite.c: Likewise.
18161         * math/Makefile (tests): Add test-signgam-finite,
18162         test-signgam-finite-c99 and test-signgam-finite-c11.
18163         (CFLAGS-test-signgam-finite.c): New variable.
18164         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18165         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18167         [BZ #19212]
18168         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18169         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18170         500].
18171         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18172         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18173         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18174         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18175         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18176         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18177         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18178         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18179         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18180         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18182         [BZ #19209]
18183         * math/bits/math-finite.h (ldexp): Remove declaration.
18184         (ldexpf): Likewise.
18185         (ldexpl): Likewise.
18187         [BZ #19205]
18188         * math/bits/math-finite.h (acosf): Condition declaration on
18189         [__USE_ISOC99].
18190         (acosl): Likewise.
18191         (acoshf): Likewise.
18192         (acoshl): Likewise.
18193         (asinf): Likewise.
18194         (asinl): Likewise.
18195         (atan2f): Likewise.
18196         (atan2l): Likewise.
18197         (atanhf): Likewise.
18198         (atanhl): Likewise.
18199         (coshf): Likewise.
18200         (coshl): Likewise.
18201         (expf): Likewise.
18202         (expl): Likewise.
18203         (fmodf): Likewise.
18204         (fmodl): Likewise.
18205         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18206         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18207         (j0l): Likewise.
18208         (y0f): Likewise.
18209         (y0l): Likewise.
18210         (j1f): Likewise.
18211         (j1l): Likewise.
18212         (y1f): Likewise.
18213         (y1l): Likewise.
18214         (jnf): Likewise.
18215         (jnl): Likewise.
18216         (ynf): Likewise.
18217         (ynl): Likewise.
18218         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18219         (lgammal_r): Likewise.
18220         (__lgamma_r_finite): New declaration.
18221         (__lgammaf_r_finite): Likewise.
18222         (__lgammal_r_finite): Likewise.
18223         (lgamma): Use __lgamma_r_finite.
18224         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18225         __lgammaf_r_finite.
18226         (lgammal): Condition definition on [__USE_ISOC99].  Use
18227         __lgammal_r_finite.
18228         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18229         __lgamma_r_finite.
18230         (gammaf): Condition definition on [__USE_ISOC99].  Use
18231         __lgammaf_r_finite.
18232         (gammal): Condition definition on [__USE_ISOC99].  Use
18233         __lgammal_r_finite.
18234         (logf): Condition declaration on [__USE_ISOC99].
18235         (logl): Likewise.
18236         (log10f): Likewise.
18237         (log10l): Likewise.
18238         (ldexpf): Likewise.
18239         (ldexpl): Likewise.
18240         (powf): Likewise.
18241         (powl): Likewise.
18242         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18243         __USE_ISOC99].
18244         (remainderf): Condition declaration on [__USE_ISOC99].
18245         (remainderl): Likewise.
18246         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18247         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18248         (scalbl): Likewise.
18249         (sinhf): Condition declaration on [__USE_ISOC99].
18250         (sinhl): Likewise.
18251         (sqrtf): Likewise.
18252         (sqrtl): Likewise.
18254 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18256         * sysdeps/arm/atomic-machine.h
18257         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18258         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18259         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18260         Remove conditional code.
18261         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18262         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18263         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18264         Change conditional to [__ASSEMBLER__].
18265         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18266         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18267         [!__ASSEMBLER__].
18268         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18269         code.
18270         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18271         conditional macro definitions.
18272         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18273         (__arch_compare_and_exchange_val_16_acq): Likewise.
18274         (__arch_compare_and_exchange_val_32_acq): Likewise.
18275         (atomic_exchange_and_add): Likewise.
18276         (atomic_add): Likewise.
18277         (atomic_add_negative): Likewise.
18278         (atomic_add_zero): Likewise.
18279         (atomic_bit_set): Likewise.
18280         (atomic_bit_test_set): Likewise.
18281         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18282         code unconditional.
18283         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18285         * math/test-math-errno.h: New file.
18286         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18287         empty.
18288         (TEST_ERRNO): New macro.
18289         (TEST_EXCEPTIONS): Likewise.
18290         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18291         (TEST_EXCEPTIONS): Likewise.
18292         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18293         * math/test-double.c: Include "test-math-errno.h".
18294         * math/test-float.c: Likewise.
18295         * math/test-ldouble.c: Likewise.
18296         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18297         code unconditional.
18298         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18299         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18300         unconditional.
18301         (test_errno): Only run code if TEST_ERRNO.
18302         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18304 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18306         * nptl/tst-once5.cc: Remove attribution.
18308 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18310         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18311         sqrt, tan, tanh, y0, y1 and yn.
18312         * math/auto-libm-test-out: Regenerated.
18313         * math/libm-test.inc (scalb_test_data): Add more tests.
18314         (scalbn_test_data): Likewise.
18315         (scalbln_test_data): Likewise.
18316         (signbit_test_data): Likewise.
18317         (sin_test_data): Likewise.
18318         (sincos_test_data): Likewise.
18319         (sinh_test_data): Likewise.
18320         (sqrt_test_data): Likewise.
18321         (tan_test_data): Likewise.
18322         (tanh_test_data): Likewise.
18323         (tgamma_test_data): Likewise.
18324         (y0_test_data): Likewise.
18325         (y1_test_data): Likewise.
18326         (yn_test_data): Likewise.
18327         (significand_test_data): Likewise.
18328         * sysdeps/i386/fpu/libm-test-ulps: Update.
18330 2015-11-03  David Kastrup  <dak@gnu.org>
18332         [BZ #18604]
18333         * assert/assert.h (assert): Don't macro-expand failed assertion
18334         expression in error message.
18335         * malloc/malloc.c (assert): Likewise.
18337 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18339         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18340         test.
18341         * configure: Regenerated.
18343 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18345         * math/libm-test.inc (modf_test_data): Add more tests.
18346         (nearbyint_test_data): Likewise.
18347         (nextafter_test_data): Likewise.
18348         (nexttoward_test_data): Likewise.
18349         (pow_test_data): Likewise.
18350         (remainder_test_data): Likewise.
18351         (remquo_test_data): Likewise.
18352         (rint_test_data): Likewise.
18354         [BZ #19201]
18355         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18356         Check for zero remainder in case of large exponents and ensure
18357         correct sign of result in that case.
18358         * math/libm-test.inc (remainder_test_data): Add more tests.
18360         [BZ #6799]
18361         * math/s_nextafter.c: Include <errno.h>.
18362         (__nextafter): Set errno on overflow and underflow.
18363         * math/s_nexttowardf.c: Include <errno.h>.
18364         (__nexttowardf): Set errno on overflow and underflow.
18365         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18366         (__nextafterl): Set errno on overflow and underflow.
18367         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18368         (__nexttoward): Set errno on overflow and underflow.
18369         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18370         (__nexttowardf): Set errno on overflow and underflow.
18371         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18372         (__nextafterf): Set errno on overflow and underflow.
18373         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18374         (__nextafterl): Set errno on overflow and underflow.
18375         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18376         (__nexttoward): Set errno on overflow and underflow.
18377         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18378         (__nexttowardf): Set errno on overflow and underflow.
18379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18380         (__nextafterl): Set errno on overflow and underflow.
18381         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18382         (__nexttoward): Set errno on overflow and underflow.
18383         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18384         (__nexttowardf): Set errno on overflow and underflow.
18385         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18386         (__nexttoward): Set errno on overflow and underflow.
18387         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18388         (__nexttowardf): Set errno on overflow and underflow.
18389         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18390         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18391         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18392         (__nextafterl): Set errno on overflow and underflow.
18393         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18394         setting to be missing on overflow.  Add more tests.
18395         (nexttoward_test_data): Likewise.
18397         * configure.ac (libc_cv_initfini_array): Remove configure test.
18398         * configure: Regenerated.
18400 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18402         [BZ #19189]
18403         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18404         non-finite argument handle arguments with negative sign.
18406         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18407         result from infinite argument.
18408         (j1_test_data): Likewise.
18409         (jn_test_data): Likewise.
18410         (y0_test_data): Likewise.
18411         (y1_test_data): Likewise.
18412         (yn_test_data): Likewise.
18414         [BZ #16171]
18415         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18416         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18417         * math/w_remainderf.c (dremf): Define as weak alias of
18418         __remainderf.
18419         * math/w_remainderl.c (dreml): Define as weak alias of
18420         __remainderl.
18421         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18422         __remainder.
18423         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18424         __remainderf.
18425         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18426         __remainderl.
18427         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18428         weak alias of remainderl.
18429         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18430         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18431         alias of __remainder.
18432         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18433         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18434         strong alias of __remainderl.
18435         (dreml): Use long_double_symbol.
18436         * math/Makefile (libm-calls): Remove w_drem.
18437         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18438         (CFLAGS-nldbl-drem.c): Remove variable.
18439         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18440         * math/w_drem.c: Remove file.
18441         * math/w_dremf.c: Likewise.
18442         * math/w_dreml.c: Likewise.
18443         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18444         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18445         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18447         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18448         * sysdeps/i386/configure: Regenerated.
18449         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18450         * sysdeps/x86_64/configure: Regenerated.
18452         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18453         test.
18454         (libc_cv_visibility_attribute): Likewise.
18455         (libc_cv_protected_data): Test unconditionally.
18456         (libc_cv_broken_visibility_attribute): Remove configure test.
18457         (libc_cv_have_sdata_section): Test unconditionally.
18458         * configure: Regenerated.
18460         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18461         * include/scratch_buffer.h: Include <stddef.h> instead of
18462         <libc-internal.h>.
18463         (struct scratch_buffer): Use max_align_t instead of
18464         libc_max_align_t.
18466 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18468         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18469         instead of extend_alloca.  Change control flow to avoid a goto.
18470         Remove assert which is trivially always true.
18472 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18474         [BZ #16068]
18475         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18476         (FE_ALL_EXCEPT_X86): New macro.
18477         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18478         FE_ALL_EXCEPT.  Ensure precision control is included in
18479         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18480         handle "denormal operand exception" and clear FZ and DAZ bits.
18481         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18482         (FE_ALL_EXCEPT_X86): New macro.
18483         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18484         FE_ALL_EXCEPT.  Ensure precision control is included in
18485         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18486         handle "denormal operand exception" and clear FZ and DAZ bits.
18487         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18488         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18489         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18490         test-fenv-x87 and test-fenv-sse-2.
18491         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18493         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18494         * math/test-double.h (BUILD_COMPLEX): New macro.
18495         * math/test-float.h (BUILD_COMPLEX): Likewise.
18496         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18498         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18499         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18500         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18502         instead of DBL_DENORM_MIN in comment.
18503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18504         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18506         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18508         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18510 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18512         [BZ# 19048]
18513         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18514         attached_threads member.
18515         (main_arena): Initialize attached_threads.
18516         * malloc/arena.c (list_lock): Update comment.
18517         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18518         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18519         (deattach_arena): New function.
18520         (_int_new_arena): Initialize arena reference count and deattach
18521         replaced arena.
18522         (get_free_list, reused_arena): Update reference count and deattach
18523         replaced arena.
18524         (arena_thread_freeres): Update arena reference count and only put
18525         unreferenced arenas on the free list.
18527 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18529         [BZ #19181]
18530         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18531         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18532         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18533         * math/test-fenv-clear-main.c: New file.
18534         * math/test-fenv-clear.c: Likewise.
18535         * math/Makefile (tests): Add test-fenv-clear.
18536         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18537         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18538         test-fenv-clear-sse.
18539         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18541         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18542         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18543         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18545 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18547         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18548         static libc.
18550 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18552         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18553         test.
18554         * sysdeps/i386/configure: Regenerated.
18555         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18556         test.
18557         * sysdeps/x86_64/configure: Regenerated.
18558         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18560         memset-avx2 unconditionally instead of conditionally on
18561         [$(config-cflags-avx2) = yes].
18562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18563         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18564         unconditional.
18565         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18566         * sysdeps/x86_64/multiarch/memset_chk.S
18567         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18568         to [IS_IN (libc) && SHARED].
18570 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18572         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18573         configure test.
18574         * sysdeps/arm/configure: Regenerated.
18575         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18576         Define variable if not already defined.
18578         [BZ #17404]
18579         * sysdeps/mips/atomic-machine.h
18580         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18581         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18582         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18584         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18585         unconditional.
18586         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18587         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18588         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18589         unconditional.
18590         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18591         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18592         unconditional.
18593         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18594         * stdlib/setenv.c
18595         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18596         code unconditional.
18597         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18598         Remove conditional code.
18599         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18600         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18601         unconditional.
18602         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18603         code.
18604         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18605         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18606         unconditional.
18607         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18608         code.
18609         * sysdeps/ieee754/ldbl-128/k_tanl.c
18610         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18611         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18612         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18613         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18614         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18615         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18616         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18617         unconditional.
18618         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18619         code.
18620         * sysdeps/ieee754/ldbl-96/k_tanl.c
18621         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18622         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18624         * nptl/tst-initializers1-c11.c: New file.
18625         * nptl/tst-initializers1-gnu11.c: Likewise.
18626         * nptl/Makefile (tests): Add these new tests.
18627         (CFLAGS-tst-initializers1-c11.c): New variable.
18628         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18630         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18631         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18632         instead of -std=gnu99.
18633         * configure.ac (systemtap): Test with -std=gnu11 instead of
18634         -std=gnu99.
18635         * configure: Regenerated.
18636         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18637         in compilation command in comment.
18639         * sysdeps/nptl/configure.ac: Remove file.
18640         * sysdeps/nptl/configure: Remove generated file.
18641         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18642         * configure: Regenerated.
18643         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18644         * config.make.in (have-forced-unwind): Remove variable.
18645         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18646         unconditional.
18647         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18648         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18649         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18650         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18651         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18652         unconditional.
18654 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18656         [BZ #19174]
18657         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18658         .skip_lock_out_of_tbegin_retries.
18659         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18660         (__lll_lock_elision): Likewise, and respect a value of
18661         try_tbegin <= 0.
18663 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18665         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18666         statement.
18668 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18670         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18671         variable.
18672         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18673         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18675         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18676         of -std=c1x -D_ISOC11_SOURCE.
18678         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18679         * configure: Regenerated.
18680         * manual/install.texi (Tools for Compilation): Document
18681         requirement for GCC 4.7 or later.
18682         * INSTALL: Regenerated.
18684 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18686         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18687         on CNT to a conditional jump to 'puntdata'.
18689 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18691         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18692         (libc_cv_gcc_tls_model_attr): Likewise.
18693         * configure: Regenerated.
18695         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18696         * configure: Regenerated.
18697         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18699 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18701         * configure.ac (old_glibc_headers): Remove configure test.
18702         * configure: Regenerated.
18703         * config.make.in (old-glibc-headers): Remove variable.
18704         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18705         (install): Remove dependency on remove-old-headers.
18706         (headers2_0): Remove variable.
18707         (remove-old-headers): Remove rule.
18709         * configure.ac (libc_cv_dot_text): Remove configure test.
18710         (libc_cv_asm_set_directive): Use .text instead of
18711         ${libc_cv_dot_text} in configure test.
18712         * configure: Regenerated.
18714 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18716         [BZ #19168]
18717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18719 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18721         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18722         not support static linking.
18723         * configure: Regenerate.
18725 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18727         * math/libm-test.inc (check_float_internal): Do not special-case
18728         errors up to 0.5 ulp.
18730         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18731         log2.
18732         * math/auto-libm-test-out: Regenerated.
18733         * math/libm-test.inc (MAX_EXP): New macro.
18734         (ilogb_test_data): Add more tests.
18735         (isfinite_test_data): Likewise.
18736         (isgreater_test_data): Likewise.
18737         (isgreaterequal_test_data): Likewise.
18738         (isinf_test_data): Likewise.
18739         (isless_test_data): Likewise.
18740         (islessequal_test_data): Likewise.
18741         (islessgreater_test_data): Likewise.
18742         (isnan_test_data): Likewise.
18743         (isnormal_test_data): Likewise.
18744         (issignaling_test_data): Likewise.
18745         (isunordered_test_data): Likewise.
18746         (j0_test_data): Likewise.
18747         (j1_test_data): Likewise.
18748         (jn_test_data): Likewise.
18749         (lgamma_test_data): Likewise.
18750         (log_test_data): Likewise.
18751         (log10_test_data): Likewise.
18752         (log1p_test_data): Likewise.
18753         (log2_test_data): Likewise.
18754         (logb_test_data): Likewise.
18755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18757         [BZ #18611]
18758         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18759         avoid excess range and precision on underflow.
18760         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18761         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18762         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18763         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18764         underflow.
18765         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18766         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18767         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18768         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18769         * math/auto-libm-test-in: Do not allow missing errno setting for
18770         tests of j1 and jn.
18771         * math/auto-libm-test-out: Regenerated.
18773 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #15491]
18776         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18777         floating-point environment instead of clearing all exceptions.
18778         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18779         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18780         merging in "invalid" exceptions from frndint.
18781         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18782         * math/test-nearbyint-except.c: New file.
18783         * math/Makefile (tests): Add test-nearbyint-except.
18785 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18787         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18789         * sysdeps/tile/libm-test-ulps: Regenerated.
18791 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18794         (__NR_sync_file_range2): Assume it is always defined.
18795         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18796         (__NR_sync_file_range): Assume it is always defined.
18798 2015-10-22  Andreas Schwab  <schwab@suse.de>
18800         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18801         INTERNAL_SYSCALL_ERRNO.
18802         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18803         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18804         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18805         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18806         Likewise.
18807         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18809 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18811         * io/tst-fcntl.c (fd): New static variable.
18812         (do_prepare): Open temporary file here....
18813         (do_test): ...not here.
18815         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18817 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18819         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18820         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18821         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18822         Moved before "#ifdef __ASSEMBLER__".
18824 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18826         [BZ #19156]
18827         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18828         arguments very close to 0.
18830 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18832         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18833         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18835 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18837         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18838         New.  Defined for GCC 5 and above when not compiling for
18839         profiling.
18840         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18842         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18843         Renamed to ...
18844         (CFLAGS-epoll_pwait.o): This.
18845         (CFLAGS-mmap.c): Renamed to ...
18846         (CFLAGS-mmap.o): This.
18847         (CFLAGS-mmap64.c): Renamed to ...
18848         (CFLAGS-mmap64.o): This.
18849         (CFLAGS-epoll_pwait.os): New.
18850         (CFLAGS-mmap.os): Likewise.
18851         (CFLAGS-mmap64.os): Likewise.
18852         (CFLAGS-semtimedop.os): Likewise.
18853         (CFLAGS-semtimedop.c): Renamed to ...
18854         (CFLAGS-semtimedop.o): This.
18856 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18858         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18859         warning message.
18861 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18863         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18864         * Makefile ($(objpfx)c++-types-check.out): Filter out
18865         $(+gccwarn-c) instead of -Wstrict-prototypes.
18867         * io/fts.c (fts_open): Convert to prototype-style function
18868         definition.
18869         * malloc/mcheck.c (mcheck): Likewise.
18870         (mcheck_pedantic): Likewise.
18871         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18872         internal_function.
18873         (re_search_internal): Likewise.
18874         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18875         prototype-style function definition.
18876         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18877         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18878         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18879         (xdr_utmpptr): Likewise.
18880         (xdr_utmparr): Likewise.
18881         (xdr_utmpidle): Likewise.
18882         (xdr_utmpidleptr): Likewise.
18883         (xdr_utmpidlearr): Likewise.
18885         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18886         log, log10 and log2.
18887         * math/auto-libm-test-out: Regenerated.
18888         * math/libm-test.inc (fmod_test_data): Add more tests.
18889         (fpclassify_test_data): Likewise.
18890         (frexp_test_data): Likewise.
18891         (hypot_test_data): Likewise.
18892         (ilogb_test_data): Likewise.
18894 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18896         * debug/fortify_fail.c (__fortify_fail): Convert to
18897         prototype-style function definition.  Use internal_function.
18898         * libio/genops.c (save_for_backup): Convert to prototype-style
18899         function definition.
18900         * libio/wgenops.c (save_for_wbackup): Likewise.
18901         * login/grantpt.c (grantpt): Likewise.
18902         * login/ptsname.c (ptsname): Likewise.
18903         (__ptsname_r): Likewise.
18904         * login/unlockpt.c (unlockpt): Likewise.
18905         * mach/msgserver.c (__mach_msg_server): Likewise.
18906         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18907         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18908         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18909         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18910         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18911         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18912         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18913         Likewise.
18914         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18915         internal_function.
18916         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18917         prototype-style function definition.
18918         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18919         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18920         (__pthread_create_2_0): Likewise.
18921         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18922         * nptl/register-atfork.c (__register_atfork): Likewise.
18923         * posix/glob.c (glob): Likewise.
18924         * posix/regcomp.c (re_comp): Likewise.
18925         * posix/regexec.c (re_exec): Likewise.
18926         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18927         [!__STDC__]: Remove conditional code.
18928         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18929         [!__STDC__]: Remove conditional code.
18930         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18931         [!__STDC__]: Remove conditional code.
18932         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18933         [!__STDC__]: Remove conditional code.
18934         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18935         [!__STDC__]: Remove conditional code.
18936         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18937         [!__STDC__]: Remove conditional code.
18938         * stdlib/mul.c [__STDC__]: Make code unconditional.
18939         [!__STDC__]: Remove conditional code.
18940         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18941         [!__STDC__]: Remove conditional code.
18942         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18943         [!__STDC__]: Remove conditional code.
18944         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18945         function definition.
18946         (STRTOF): Likewise.
18947         * stdlib/strtod_l.c (__STRTOF): Likewise.
18948         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18949         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18950         (__strtol_l): Likewise.
18951         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18952         [!__STDC__]: Remove conditional code.
18953         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18954         definition.
18955         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18956         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18957         type.
18958         (__strcasecmp): Convert to prototype-style function definition.
18959         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18960         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18961         type.
18962         (__strncasecmp): Convert to prototype-style function definition.
18963         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18964         * sunrpc/xdr.c (xdr_union): Likewise.
18965         * sunrpc/xdr_array.c (xdr_array): Likewise.
18966         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18967         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18968         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18969         Likewise.
18970         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18971         Likewise.
18972         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18973         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18974         Likewise.
18975         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18976         (LOCALE_PARAM_PROTO): Likewise.
18977         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18978         argument type.
18979         (ut_argument_spec): Remove macro.
18980         (ut_argument_spec_iso): Rename to ut_argument_spec.
18981         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18982         prototype-style function definition.
18983         (memcpy_uppcase): Likewise.
18984         (__strftime_internal): Likewise.
18985         (my_strftime): Likewise.
18986         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18987         (LOCALE_PARAM_DECL): Likewise.
18988         [_LIBC] (LOCALE_PARAM): Include argument type.
18989         (__strptime_internal): Convert to prototype-style function
18990         definition.
18991         (strptime): Likewise.
18992         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18993         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18994         type.
18995         (__wcscasecmp): Convert to prototype-style function definition.
18996         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18997         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18998         type.
18999         (__wcsncasecmp): Convert to prototype-style function definition.
19001         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19002         function definition.
19003         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19004         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19005         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19006         * elf/dl-minimal.c (_itoa): Likewise.
19007         * hurd/hurdmalloc.c (malloc): Likewise.
19008         (free): Likewise.
19009         (realloc): Likewise.
19010         * inet/inet6_option.c (inet6_option_space): Likewise.
19011         (inet6_option_init): Likewise.
19012         (inet6_option_append): Likewise.
19013         (inet6_option_alloc): Likewise.
19014         (inet6_option_next): Likewise.
19015         (inet6_option_find): Likewise.
19016         * io/ftw.c (FTW_NAME): Likewise.
19017         (NFTW_NAME): Likewise.
19018         (NFTW_NEW_NAME): Likewise.
19019         (NFTW_OLD_NAME): Likewise.
19020         * libio/iofwide.c (_IO_fwide): Likewise.
19021         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19022         (_IO_str_init_static): Likewise.
19023         (_IO_str_init_readonly): Likewise.
19024         (_IO_str_overflow): Likewise.
19025         (_IO_str_underflow): Likewise.
19026         (_IO_str_count): Likewise.
19027         (_IO_str_seekoff): Likewise.
19028         (_IO_str_pbackfail): Likewise.
19029         (_IO_str_finish): Likewise.
19030         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19031         (_IO_wstr_overflow): Likewise.
19032         (_IO_wstr_underflow): Likewise.
19033         (_IO_wstr_count): Likewise.
19034         (_IO_wstr_seekoff): Likewise.
19035         (_IO_wstr_pbackfail): Likewise.
19036         (_IO_wstr_finish): Likewise.
19037         * locale/programs/localedef.c (normalize_codeset): Likewise.
19038         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19039         (add_locales_to_archive): Likewise.
19040         (delete_locales_from_archive): Likewise.
19041         * malloc/malloc.c (__libc_mallinfo): Likewise.
19042         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19043         * misc/tsearch.c (__tfind): Likewise.
19044         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19045         * nptl/pthread_attr_getdetachstate.c
19046         (__pthread_attr_getdetachstate): Likewise.
19047         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19048         Likewise.
19049         * nptl/pthread_attr_getinheritsched.c
19050         (__pthread_attr_getinheritsched): Likewise.
19051         * nptl/pthread_attr_getschedparam.c
19052         (__pthread_attr_getschedparam): Likewise.
19053         * nptl/pthread_attr_getschedpolicy.c
19054         (__pthread_attr_getschedpolicy): Likewise.
19055         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19056         Likewise.
19057         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19058         Likewise.
19059         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19060         Likewise.
19061         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19062         Likewise.
19063         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19064         (__pthread_attr_init_2_0): Likewise.
19065         * nptl/pthread_attr_setdetachstate.c
19066         (__pthread_attr_setdetachstate): Likewise.
19067         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19068         Likewise.
19069         * nptl/pthread_attr_setinheritsched.c
19070         (__pthread_attr_setinheritsched): Likewise.
19071         * nptl/pthread_attr_setschedparam.c
19072         (__pthread_attr_setschedparam): Likewise.
19073         * nptl/pthread_attr_setschedpolicy.c
19074         (__pthread_attr_setschedpolicy): Likewise.
19075         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19076         Likewise.
19077         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19078         Likewise.
19079         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19080         Likewise.
19081         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19082         Likewise.
19083         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19084         Likewise.
19085         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19086         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19087         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19088         use internal_function.
19089         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19090         prototype-style function definition.
19091         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19092         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19093         internal_function.
19094         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19095         Convert to prototype-style function definition.
19096         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19097         Likewise.
19098         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19099         Likewise.
19100         (__pthread_mutex_unlock): Likewise.
19101         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19102         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19103         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19104         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19105         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19106         * nss/makedb.c (process_input): Likewise.
19107         * posix/fnmatch.c (__strchrnul): Likewise.
19108         (__wcschrnul): Likewise.
19109         (fnmatch): Likewise.
19110         * posix/fnmatch_loop.c (FCT): Likewise.
19111         * posix/glob.c (globfree): Likewise.
19112         (__glob_pattern_type): Likewise.
19113         (__glob_pattern_p): Likewise.
19114         * posix/regcomp.c (re_compile_pattern): Likewise.
19115         (re_set_syntax): Likewise.
19116         (re_compile_fastmap): Likewise.
19117         (regcomp): Likewise.
19118         (regerror): Likewise.
19119         (regfree): Likewise.
19120         * posix/regexec.c (regexec): Likewise.
19121         (re_match): Likewise.
19122         (re_search): Likewise.
19123         (re_match_2): Likewise.
19124         (re_search_2): Likewise.
19125         (re_search_stub): Likewise.  Use internal_function
19126         (re_copy_regs): Likewise.
19127         (re_set_registers): Convert to prototype-style function
19128         definition.
19129         (prune_impossible_nodes): Likewise.  Use internal_function.
19130         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19131         prototype-style function definition.
19132         (inet_net_pton_ipv4): Likewise.
19133         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19134         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19135         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19136         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19137         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19138         Make variadic.
19139         * time/strptime_l.c (localtime_r): Convert to prototype-style
19140         function definition.
19141         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19142         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19143         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19144         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19146         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19147         definition.
19148         (_ufc_doit_r): Likewise.
19149         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19150         (_ufc_output_conversion_r): Likewise.
19151         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19152         * inet/rcmd.c (rcmd_af): Likewise.
19153         (rcmd): Likewise.
19154         (ruserok_af): Likewise.
19155         (ruserok): Likewise.
19156         (ruserok2_sa): Likewise.
19157         (ruserok_sa): Likewise.
19158         (iruserok_af): Likewise.
19159         (iruserok): Likewise.
19160         (__ivaliduser): Likewise.
19161         (__validuser2_sa): Likewise.
19162         * inet/rexec.c (rexec_af): Likewise.
19163         (rexec): Likewise.
19164         * inet/ruserpass.c (ruserpass): Likewise.
19165         * locale/programs/xmalloc.c (xcalloc): Likewise.
19166         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19167         * math/w_drem.c (__drem): Likewise.
19168         * math/w_dremf.c (__dremf): Likewise.
19169         * math/w_dreml.c (__dreml): Likewise.
19170         * misc/daemon.c (daemon): Likewise.
19171         * resolv/res_debug.c (p_fqnname): Likewise.
19172         * stdlib/div.c (div): Likewise.
19173         * string/memcmp.c (memcmp_bytes): Likewise.
19174         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19175         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19177         * crypt/cert.c (main): Convert to prototype-style function
19178         definition.
19179         * io/pipe.c (__pipe): Likewise.
19180         * io/pipe2.c (__pipe2): Likewise.
19181         * misc/futimesat.c (futimesat): Likewise.
19182         * misc/utimes.c (__utimes): Likewise.
19183         * posix/execve.c (__execve): Likewise.
19184         * posix/execvp.c (execvp): Likewise.
19185         * posix/execvpe.c (__execvpe): Likewise.
19186         * posix/fexecve.c (fexecve): Likewise.
19187         * socket/socketpair.c (socketpair): Likewise.
19188         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19189         * stdlib/erand48.c (erand48): Likewise.
19190         * stdlib/erand48_r.c (__erand48_r): Likewise.
19191         * stdlib/jrand48.c (jrand48): Likewise.
19192         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19193         * stdlib/lcong48.c (lcong48): Likewise.
19194         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19195         * stdlib/nrand48.c (nrand48): Likewise.
19196         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19197         * stdlib/seed48.c (seed48): Likewise.
19198         * stdlib/seed48_r.c (__seed48_r): Likewise.
19199         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19200         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19201         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19203 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19205         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19206         * configure: Regenerated.
19207         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19208         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19209         unconditional.
19210         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19211         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19212         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19213         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19214         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19215         unconditional.
19216         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19218         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19219         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19221         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19222         function definition.
19223         * crypt/crypt_util.c (__encrypt_r): Likewise.
19224         * libio/genops.c (_IO_no_init): Likewise.
19225         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19226         (_IO_old_fopencookie): Likewise.
19227         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19228         * libio/iogetline.c (_IO_getline): Likewise.
19229         (_IO_getline_info): Likewise.
19230         * libio/iogetwline.c (_IO_getwline): Likewise.
19231         (_IO_getwline_info): Likewise.
19232         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19233         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19234         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19235         (find_entry): Likewise.
19236         (iterate_table): Likewise.
19237         (lookup): Likewise.
19238         * login/forkpty.c (forkpty): Likewise.
19239         * misc/hsearch_r.c (__hsearch_r): Likewise.
19240         * misc/select.c (__select): Likewise.
19241         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19242         Likewise.
19243         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19244         Likewise.
19245         * nptl/old_pthread_cond_timedwait.c
19246         (__pthread_cond_timedwait_2_0): Likewise.
19247         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19248         * nptl/pthread_barrierattr_getpshared.c
19249         (pthread_barrierattr_getpshared): Likewise.
19250         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19251         Likewise.
19252         * nptl/pthread_mutex_setprioceiling.c
19253         (pthread_mutex_setprioceiling): Likewise.
19254         * nptl/pthread_mutexattr_getprioceiling.c
19255         (pthread_mutexattr_getprioceiling): Likewise.
19256         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19257         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19258         Likewise.
19259         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19260         Likewise.
19261         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19262         Likewise.
19263         * socket/recvfrom.c (__recvfrom): Likewise.
19264         * socket/sendto.c (__sendto): Likewise.
19265         * socket/setsockopt.c (__setsockopt): Likewise.
19266         * stdio-common/_itoa.c (_itoa): Likewise.
19267         * stdio-common/_itowa.c (_itowa): Likewise.
19268         * stdio-common/reg-printf.c (__register_printf_specifier):
19269         Likewise.
19270         (__register_printf_function): Likewise.
19271         * stdio-common/tempname.c (__path_search): Likewise.
19272         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19273         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19274         * stdlib/random_r.c (__initstate_r): Likewise.
19275         * stdlib/setenv.c (__add_to_environ): Likewise.
19276         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19277         * streams/getpmsg.c (getpmsg): Likewise.
19278         * streams/putmsg.c (putmsg): Likewise.
19279         * streams/putpmsg.c (putpmsg): Likewise.
19280         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19281         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19282         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19283         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19284         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19285         * sunrpc/svc_udp.c (cache_get): Likewise.
19286         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19287         * sysdeps/mach/hurd/getcwd.c
19288         (__canonicalize_directory_name_internal): Likewise.
19289         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19290         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19291         * sysdeps/mach/hurd/select.c (__select): Likewise.
19292         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19293         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19294         * sysdeps/sparc/nptl/pthread_barrier_init.c
19295         (__pthread_barrier_init): Likewise.
19296         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19297         (__pthread_cond_timedwait): Likewise.
19298         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19299         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19300         Likewise.
19301         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19302         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19303         Likewise.
19304         * sysvipc/semtimedop.c (semtimedop): Likewise.
19305         * time/setitimer.c (__setitimer): Likewise.
19306         * time/strftime_l.c (emacs_strftime): Likewise.
19308 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19310         * config.make.in (have-ssp): Delete.
19311         (stack-protector): New variable.
19312         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19313         cache test for -fstack-protector-strong.  Export stack_protector to
19314         the best ssp flag.
19315         * configure: Regenerated.
19316         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19317         * nscd/Makefile (CFLAGS-nscd): Likewise.
19318         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19320 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19322         [BZ #19122]
19323         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19324         attribute_hidden.
19326 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19328         [BZ #18743]
19329         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19330         code to...
19331         (ELIDE_LOCK): ...here.
19332         (__get_new_count): New function with part of the code from
19333         __elide_lock that updates the value of adapt_count after a
19334         transaction abort.
19335         (__elided_trylock): Moved this code to...
19336         (ELIDE_TRYLOCK): ...here.
19338 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19340         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19341         * configure: Regenerate.
19342         * INSTALL: Regenerate.
19343         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19344         and tweak grammar.
19346 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19348         * login/programs/pt_chown.c: Include signal.h
19349         (main): Clear any signal mask from the parent process.
19351 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19353         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19354         * configure: Regenerated.
19355         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19356         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19357         $(gnu89-inline-CFLAGS).
19359         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19360         test.
19361         (libc_cv_asm_weakext_directive): Likewise.
19362         * configure: Regenerated.
19363         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19364         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19365         * include/libc-symbols.h
19366         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19367         #error.
19368         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19369         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19371         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19372         prototype-style function definition.
19373         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19374         * sysdeps/i386/ffs.c (__ffs): Likewise.
19375         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19376         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19377         Likewise.
19378         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19379         Likewise.
19380         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19382         Likewise.
19383         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19384         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19385         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19386         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19387         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19388         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19389         * sysdeps/mach/hurd/access.c (__access): Likewise.
19390         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19391         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19392         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19393         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19394         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19395         (cthread_getspecific): Likewise.
19396         (cthread_setspecific): Likewise.
19397         (__libc_getspecific): Likewise.
19398         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19399         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19400         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19401         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19402         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19403         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19404         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19405         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19406         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19407         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19408         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19409         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19410         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19411         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19412         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19413         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19414         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19415         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19416         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19417         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19418         * sysdeps/mach/hurd/link.c (__link): Likewise.
19419         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19420         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19421         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19422         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19423         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19424         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19425         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19426         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19427         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19428         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19429         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19430         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19431         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19432         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19433         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19434         * sysdeps/mach/hurd/send.c (__send): Likewise.
19435         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19436         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19437         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19438         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19439         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19440         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19441         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19442         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19443         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19444         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19445         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19446         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19447         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19448         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19449         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19450         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19451         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19452         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19453         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19454         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19455         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19456         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19457         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19458         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19459         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19460         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19461         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19462         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19463         * sysdeps/posix/alarm.c (alarm): Likewise.
19464         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19465         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19466         * sysdeps/posix/dup.c (__dup): Likewise.
19467         * sysdeps/posix/dup2.c (__dup2): Likewise.
19468         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19469         (main): Likewise.
19470         * sysdeps/posix/flock.c (__flock): Likewise.
19471         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19472         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19473         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19474         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19475         * sysdeps/posix/isatty.c (__isatty): Likewise.
19476         * sysdeps/posix/killpg.c (killpg): Likewise.
19477         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19478         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19479         * sysdeps/posix/raise.c (raise): Likewise.
19480         * sysdeps/posix/remove.c (remove): Likewise.
19481         * sysdeps/posix/rename.c (rename): Likewise.
19482         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19483         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19484         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19485         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19486         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19487         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19488         * sysdeps/posix/sigset.c (sigset): Likewise.
19489         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19490         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19491         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19492         * sysdeps/posix/time.c (time): Likewise.
19493         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19494         (ttyname): Likewise.
19495         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19496         * sysdeps/posix/utime.c (utime): Likewise.
19497         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19498         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19499         Likewise.
19500         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19501         (pthread_spin_trylock): Likewise.
19502         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19503         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19504         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19505         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19506         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19507         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19508         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19509         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19510         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19511         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19512         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19513         * sysdeps/s390/ffs.c (__ffs): Likewise.
19514         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19515         Likewise.
19516         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19517         Likewise.
19518         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19519         Likewise.
19520         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19521         (pthread_barrier_destroy): Likewise.
19522         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19523         (__pthread_barrier_wait): Likewise.
19524         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19525         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19526         (__pthread_barrier_wait): Likewise.
19527         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19528         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19529         (memcmp_not_common_alignment): Likewise.
19530         (MEMCMP): Likewise.
19531         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19532         (_wordcopy_fwd_dest_aligned): Likewise.
19533         (_wordcopy_bwd_aligned): Likewise.
19534         (_wordcopy_bwd_dest_aligned): Likewise.
19535         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19536         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19537         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19538         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19539         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19540         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19541         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19542         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19543         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19544         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19545         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19546         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19547         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19548         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19549         * sysdeps/unix/stime.c (stime): Likewise.
19550         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19551         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19552         Likewise.  Use internal_function.
19553         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19554         Convert to prototype-style function definition.
19555         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19556         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19557         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19558         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19559         Likewise.  Use internal_function.
19560         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19561         prototype-style function definition
19562         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19563         Likewise.
19564         (__getlogin_r): Likewise.
19565         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19566         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19567         (__pthread_cond_broadcast): Likewise.
19568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19569         (__pthread_cond_destroy): Likewise.
19570         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19571         (__pthread_cond_init): Likewise.
19572         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19573         (__pthread_cond_signal): Likewise.
19574         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19575         (__pthread_cond_wait): Likewise.
19576         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19577         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19578         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19579         Likewise.
19580         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19581         Likewise.
19582         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19583         Likewise.
19584         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19585         Likewise.
19586         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19588         (__ftruncate64): Likewise.
19589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19590         (truncate64): Likewise.
19591         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19592         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19593         (pthread_getcpuclockid): Likewise.
19594         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19595         Likewise.
19596         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19597         Likewise.
19598         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19599         Likewise.
19600         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19601         Likewise.
19602         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19603         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19604         (__libc_sigaction): Likewise.
19605         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19606         Likewise.
19607         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19608         (__sigprocmask): Likewise.
19609         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19610         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19611         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19612         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19613         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19614         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19615         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19616         Likewise.
19617         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19618         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19619         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19620         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19621         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19622         Likewise.
19623         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19624         (__sigprocmask): Likewise.
19625         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19626         (cfgetispeed): Likewise.
19627         (cfsetospeed): Likewise.
19628         (cfsetispeed): Likewise.
19629         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19630         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19631         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19632         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19633         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19634         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19635         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19636         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19639         Likewise.
19640         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19641         Likewise.
19642         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19643         Likewise.
19644         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19646 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19648         sunrpc: Rewrite with explicit TLS access using __thread.
19649         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19650         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19651         directly.
19652         (__rpc_thread_variables): Access thread_rpc_vars directly.
19653         Eliminate redundant assignment of the tvp variable.
19655 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19657         malloc: Rewrite with explicit TLS access using __thread.
19658         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19659         (tsd_setspecific, tsd_getspecific): Remove.
19660         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19661         (tsd_setspecific, tsd_getspecific): Likewise.
19662         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19663         (tsd_setspecific, tsd_getspecific): Likewise.
19664         * malloc/arena.c (thread_arena): New TLS variable.
19665         (arena_key): Remove variable.
19666         (arena_get): Use thread_arena.
19667         (arena_lookup): Remove macro.
19668         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19669         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19670         (_int_new_arena, get_free_list, reused_arena)
19671         (arena_thread_freeres): Use thread_arena.
19672         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19673         tsd_getspecific, tsd_setspecific from safety annotations.
19674         (Allocating Cleared Space): Remove arena_lookup from safety
19675         annotations.
19677 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19679         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19680         struct scratch_buffer instead of extend_alloca.
19682 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19684         * sysdeps/unix/sysv/linux/kernel-features.h
19685         (__ASSUME_SOCK_CLOEXEC): Remove.
19686         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19687         (__have_paccept): Remove unused macro.
19688         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19689         * misc/syslog.c (openlog_internal): Remove fallback code for
19690         !__ASSUME_SOCK_CLOEXEC.
19691         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19692         missing SOCK_CLOEXEC.
19693         * nscd/connections.c (have_sock_cloexec): Remove definition.
19694         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19695         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19696         !__ASSUME_SOCK_CLOEXEC.
19697         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19698         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19699         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19700         definition.
19701         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19702         code for !__ASSUME_SOCK_CLOEXEC.
19704 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19706         [BZ #18982]
19707         * manual/stdio.texi (Variable Arguments Output): Add portability
19708         note, explaining that vfprintf clobbers the va_list pointer.
19710 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19712         * math/libm-test.inc (fabs_test_data): Add more tests.
19713         (fdim_test_data): Likewise.
19714         (fma_test_data): Likewise.
19715         (fmax_test_data): Likewise.
19716         (fmin_test_data): Likewise.
19717         (fmod_test_data): Likewise.
19719 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19721         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19722         data.
19724 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19726         * math/libm-test.inc (ceil_test_data): Add more tests and more
19727         expectations for "inexact".
19728         (floor_test_data): Add more tests.
19729         (round_test_data): Likewise.
19730         (trunc_test_data): Likewise.
19732         * crypt/cert.c (good_bye): Convert to prototype-style function
19733         definition.
19734         (get8): Likewise.
19735         (put8): Likewise.
19736         * crypt/crypt-entry.c (crypt): Likewise.
19737         (__fcrypt): Likewise.
19738         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19739         (_ufc_set_bits): Likewise.
19740         (_ufc_clearmem): Likewise.
19741         (__init_des_r): Likewise.
19742         (shuffle_sb): Likewise.
19743         (shuffle_sb): Likewise.
19744         (_ufc_setup_salt_r): Likewise.
19745         (_ufc_mk_keytab_r): Likewise.
19746         (_ufc_dofinalperm_r): Likewise.
19747         (encrypt): Likewise.
19748         (__setkey_r): Likewise.
19749         (setkey): Likewise.
19750         * crypt/md5.c (md5_init_ctx): Likewise.
19751         (md5_read_ctx): Likewise.
19752         (md5_finish_ctx): Likewise.
19753         (md5_stream): Likewise.
19754         (md5_buffer): Likewise.
19755         (md5_process_bytes): Likewise.
19756         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19757         (__sha256_finish_ctx): Likewise.
19758         (__sha256_process_bytes): Likewise.
19759         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19760         (__sha512_finish_ctx): Likewise.
19761         (__sha512_process_bytes): Likewise.
19762         * ctype/isctype.c (__isctype): Likewise.
19763         * debug/backtrace.c (__backtrace): Likewise.
19764         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19765         * debug/fgets_chk.c (__fgets_chk): Likewise.
19766         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19767         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19768         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19769         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19770         * debug/memset_chk.c (__memset_chk): Likewise.
19771         * debug/strcat_chk.c (__strcat_chk): Likewise.
19772         * debug/strncat_chk.c (__strncat_chk): Likewise.
19773         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19774         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19775         * dirent/dirfd.c (dirfd): Likewise.
19776         * dirent/getdents.c (__getdirentries): Likewise.
19777         * dirent/getdents64.c (getdirentries64): Likewise.
19778         * dirent/rewinddir.c (__rewinddir): Likewise.
19779         * dirent/seekdir.c (seekdir): Likewise.
19780         * dirent/telldir.c (telldir): Likewise.
19781         * elf/sln.c (makesymlinks): Likewise.
19782         (makesymlink): Likewise.
19783         * gmon/gmon.c (__moncontrol): Likewise.
19784         (__monstartup): Likewise.
19785         (write_hist): Likewise.
19786         (write_call_graph): Likewise.
19787         (write_bb_counts): Likewise.
19788         * grp/setgroups.c (setgroups): Likewise.
19789         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19790         * inet/inet_net.c (inet_network): Likewise.
19791         * inet/inet_netof.c (inet_netof): Likewise.
19792         * inet/rcmd.c (rresvport_af): Likewise.
19793         (rresvport): Likewise.
19794         * io/access.c (__access): Likewise.
19795         * io/chdir.c (__chdir): Likewise.
19796         * io/chmod.c (__chmod): Likewise.
19797         * io/chown.c (__chown): Likewise.
19798         * io/close.c (__close): Likewise.
19799         * io/creat.c (creat): Likewise.
19800         * io/creat64.c (creat64): Likewise.
19801         * io/dup.c (__dup): Likewise.
19802         * io/dup2.c (__dup2): Likewise.
19803         * io/dup3.c (__dup3): Likewise.
19804         * io/euidaccess.c (__euidaccess): Likewise.
19805         * io/faccessat.c (faccessat): Likewise.
19806         * io/fchmod.c (__fchmod): Likewise.
19807         * io/fchmodat.c (fchmodat): Likewise.
19808         * io/fchown.c (__fchown): Likewise.
19809         * io/fchownat.c (fchownat): Likewise.
19810         * io/fcntl.c (__fcntl): Likewise.
19811         * io/flock.c (__flock): Likewise.
19812         * io/fts.c (fts_load): Likewise.
19813         (fts_close): Likewise.
19814         (fts_read): Likewise.
19815         (fts_set): Likewise.
19816         (fts_children): Likewise.
19817         (fts_build): Likewise.
19818         (fts_stat): Likewise.
19819         (fts_sort): Likewise.
19820         (fts_alloc): Likewise.
19821         (fts_lfree): Likewise.
19822         (fts_palloc): Likewise.
19823         (fts_padjust): Likewise.
19824         (fts_maxarglen): Likewise.
19825         (fts_safe_changedir): Likewise.
19826         * io/getwd.c (getwd): Likewise.
19827         * io/isatty.c (__isatty): Likewise.
19828         * io/lchown.c (__lchown): Likewise.
19829         * io/link.c (__link): Likewise.
19830         * io/linkat.c (linkat): Likewise.
19831         * io/lseek.c (__libc_lseek): Likewise.
19832         * io/mkdir.c (__mkdir): Likewise.
19833         * io/mkdirat.c (mkdirat): Likewise.
19834         * io/mkfifo.c (mkfifo): Likewise.
19835         * io/mkfifoat.c (mkfifoat): Likewise.
19836         * io/open.c (__libc_open): Likewise.
19837         * io/open64.c (__libc_open64): Likewise.
19838         * io/readlink.c (__readlink): Likewise.
19839         * io/readlinkat.c (readlinkat): Likewise.
19840         * io/rmdir.c (__rmdir): Likewise.
19841         * io/symlink.c (__symlink): Likewise.
19842         * io/symlinkat.c (symlinkat): Likewise.
19843         * io/ttyname.c (ttyname): Likewise.
19844         * io/ttyname_r.c (__ttyname_r): Likewise.
19845         * io/umask.c (__umask): Likewise.
19846         * io/unlink.c (__unlink): Likewise.
19847         * io/unlinkat.c (unlinkat): Likewise.
19848         * io/utime.c (utime): Likewise.
19849         * libio/clearerr.c (clearerr): Likewise.
19850         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19851         * libio/feof.c (_IO_feof): Likewise.
19852         * libio/feof_u.c (feof_unlocked): Likewise.
19853         * libio/ferror.c (_IO_ferror): Likewise.
19854         * libio/ferror_u.c (ferror_unlocked): Likewise.
19855         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19856         * libio/fileno.c (__fileno): Likewise.
19857         * libio/fputc.c (fputc): Likewise.
19858         * libio/fputc_u.c (fputc_unlocked): Likewise.
19859         * libio/fputwc.c (fputwc): Likewise.
19860         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19861         * libio/freopen.c (freopen): Likewise.
19862         * libio/freopen64.c (freopen64): Likewise.
19863         * libio/fseek.c (fseek): Likewise.
19864         * libio/fseeko.c (fseeko): Likewise.
19865         * libio/fseeko64.c (fseeko64): Likewise.
19866         * libio/ftello.c (__ftello): Likewise.
19867         * libio/ftello64.c (ftello64): Likewise.
19868         * libio/fwide.c (fwide): Likewise.
19869         * libio/genops.c (_IO_un_link): Likewise.
19870         (_IO_link_in): Likewise.
19871         (_IO_least_marker): Likewise.
19872         (_IO_switch_to_main_get_area): Likewise.
19873         (_IO_switch_to_backup_area): Likewise.
19874         (_IO_switch_to_get_mode): Likewise.
19875         (_IO_free_backup_area): Likewise.
19876         (_IO_switch_to_put_mode): Likewise.
19877         (__overflow): Likewise.
19878         (__underflow): Likewise.
19879         (__uflow): Likewise.
19880         (_IO_setb): Likewise.
19881         (_IO_doallocbuf): Likewise.
19882         (_IO_default_underflow): Likewise.
19883         (_IO_default_uflow): Likewise.
19884         (_IO_default_xsputn): Likewise.
19885         (_IO_sgetn): Likewise.
19886         (_IO_default_xsgetn): Likewise.
19887         (_IO_sync): Likewise.
19888         (_IO_default_setbuf): Likewise.
19889         (_IO_default_seekpos): Likewise.
19890         (_IO_default_doallocate): Likewise.
19891         (_IO_init): Likewise.
19892         (_IO_old_init): Likewise.
19893         (_IO_default_sync): Likewise.
19894         (_IO_default_finish): Likewise.
19895         (_IO_default_seekoff): Likewise.
19896         (_IO_sputbackc): Likewise.
19897         (_IO_sungetc): Likewise.
19898         (_IO_set_column): Likewise.
19899         (_IO_set_column): Likewise.
19900         (_IO_adjust_column): Likewise.
19901         (_IO_get_column): Likewise.
19902         (_IO_init_marker): Likewise.
19903         (_IO_remove_marker): Likewise.
19904         (_IO_marker_difference): Likewise.
19905         (_IO_marker_delta): Likewise.
19906         (_IO_seekmark): Likewise.
19907         (_IO_unsave_markers): Likewise.
19908         (_IO_nobackup_pbackfail): Likewise.
19909         (_IO_default_pbackfail): Likewise.
19910         (_IO_default_seek): Likewise.
19911         (_IO_default_stat): Likewise.
19912         (_IO_default_read): Likewise.
19913         (_IO_default_write): Likewise.
19914         (_IO_default_showmanyc): Likewise.
19915         (_IO_default_imbue): Likewise.
19916         (_IO_iter_next): Likewise.
19917         (_IO_iter_file): Likewise.
19918         * libio/getc.c (_IO_getc): Likewise.
19919         * libio/getwc.c (_IO_getwc): Likewise.
19920         * libio/iofclose.c (_IO_new_fclose): Likewise.
19921         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19922         * libio/iofflush.c (_IO_fflush): Likewise.
19923         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19924         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19925         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19926         * libio/iofgets.c (_IO_fgets): Likewise.
19927         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19928         * libio/iofgetws.c (fgetws): Likewise.
19929         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19930         * libio/iofopen64.c (_IO_fopen64): Likewise.
19931         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19932         (_IO_cookie_write): Likewise.
19933         (_IO_cookie_seek): Likewise.
19934         (_IO_cookie_close): Likewise.
19935         (_IO_cookie_seekoff): Likewise.
19936         (_IO_old_cookie_seek): Likewise.
19937         * libio/iofputs.c (_IO_fputs): Likewise.
19938         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19939         * libio/iofputws.c (fputws): Likewise.
19940         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19941         * libio/iofread.c (_IO_fread): Likewise.
19942         * libio/iofread_u.c (__fread_unlocked): Likewise.
19943         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19944         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19945         * libio/ioftell.c (_IO_ftell): Likewise.
19946         * libio/iofwrite.c (_IO_fwrite): Likewise.
19947         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19948         * libio/iogets.c (_IO_gets): Likewise.
19949         * libio/iopadn.c (_IO_padn): Likewise.
19950         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19951         (_IO_new_popen): Likewise.
19952         (_IO_new_proc_close): Likewise.
19953         * libio/ioputs.c (_IO_puts): Likewise.
19954         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19955         (_IO_seekoff): Likewise.
19956         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19957         (_IO_seekpos): Likewise.
19958         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19959         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19960         * libio/ioungetc.c (_IO_ungetc): Likewise.
19961         * libio/ioungetwc.c (ungetwc): Likewise.
19962         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19963         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19964         * libio/iowpadn.c (_IO_wpadn): Likewise.
19965         * libio/libc_fatal.c (__libc_fatal): Likewise.
19966         * libio/memstream.c (__open_memstream): Likewise.
19967         (_IO_mem_sync): Likewise.
19968         (_IO_mem_finish): Likewise.
19969         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19970         (_IO_old_file_close_it): Likewise.
19971         (_IO_old_file_finish): Likewise.
19972         (_IO_old_file_fopen): Likewise.
19973         (_IO_old_file_attach): Likewise.
19974         (_IO_old_file_setbuf): Likewise.
19975         (_IO_old_do_write): Likewise.
19976         (old_do_write): Likewise.
19977         (_IO_old_file_underflow): Likewise.
19978         (_IO_old_file_overflow): Likewise.
19979         (_IO_old_file_sync): Likewise.
19980         (_IO_old_file_seekoff): Likewise.
19981         (_IO_old_file_write): Likewise.
19982         (_IO_old_file_xsputn): Likewise.
19983         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19984         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19985         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19986         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19987         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19988         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19989         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19990         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19991         (_IO_old_popen): Likewise.
19992         (_IO_old_proc_close): Likewise.
19993         * libio/oldpclose.c (__old_pclose): Likewise.
19994         * libio/pclose.c (__new_pclose): Likewise.
19995         * libio/peekc.c (_IO_peekc_locked): Likewise.
19996         * libio/putc.c (_IO_putc): Likewise.
19997         * libio/putc_u.c (putc_unlocked): Likewise.
19998         * libio/putchar.c (putchar): Likewise.
19999         * libio/putchar_u.c (putchar_unlocked): Likewise.
20000         * libio/putwc.c (putwc): Likewise.
20001         * libio/putwc_u.c (putwc_unlocked): Likewise.
20002         * libio/putwchar.c (putwchar): Likewise.
20003         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20004         * libio/rewind.c (rewind): Likewise.
20005         * libio/setbuf.c (setbuf): Likewise.
20006         * libio/setlinebuf.c (setlinebuf): Likewise.
20007         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20008         * libio/vscanf.c (_IO_vscanf): Likewise.
20009         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20010         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20011         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20012         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20013         (_IO_switch_to_main_wget_area): Likewise.
20014         (_IO_switch_to_wbackup_area): Likewise.
20015         (_IO_wsetb): Likewise.
20016         (_IO_wdefault_pbackfail): Likewise.
20017         (_IO_wdefault_finish): Likewise.
20018         (_IO_wdefault_uflow): Likewise.
20019         (__woverflow): Likewise.
20020         (__wuflow): Likewise.
20021         (__wunderflow): Likewise.
20022         (_IO_wdefault_xsputn): Likewise.
20023         (_IO_wdefault_xsgetn): Likewise.
20024         (_IO_wdoallocbuf): Likewise.
20025         (_IO_wdefault_doallocate): Likewise.
20026         (_IO_switch_to_wget_mode): Likewise.
20027         (_IO_free_wbackup_area): Likewise.
20028         (_IO_switch_to_wput_mode): Likewise.
20029         (_IO_sputbackwc): Likewise.
20030         (_IO_sungetwc): Likewise.
20031         (_IO_adjust_wcolumn): Likewise.
20032         (_IO_init_wmarker): Likewise.
20033         (_IO_wmarker_delta): Likewise.
20034         (_IO_seekwmark): Likewise.
20035         (_IO_unsave_wmarkers): Likewise.
20036         * libio/wmemstream.c (open_wmemstream): Likewise.
20037         (_IO_wmem_sync): Likewise.
20038         (_IO_wmem_finish): Likewise.
20039         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20040         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20041         * locale/programs/simple-hash.c (init_hash): Likewise.
20042         (delete_hash): Likewise.
20043         (insert_entry): Likewise.
20044         (set_entry): Likewise.
20045         (next_prime): Likewise.
20046         (is_prime): Likewise.
20047         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20048         (xmalloc): Likewise.
20049         (xrealloc): Likewise.
20050         * locale/programs/xstrdup.c (xstrdup): Likewise.
20051         * localedata/collate-test.c (xstrcoll): Likewise.
20052         * localedata/xfrm-test.c (xstrcmp): Likewise.
20053         * login/getlogin_r.c (__getlogin_r): Likewise.
20054         * login/getpt.c (__posix_openpt): Likewise.
20055         * login/login_tty.c (login_tty): Likewise.
20056         * login/setlogin.c (setlogin): Likewise.
20057         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20058         (mach_msg_destroy_port): Likewise.
20059         (mach_msg_destroy_memory): Likewise.
20060         * malloc/mcheck.c (flood): Likewise.
20061         * misc/acct.c (acct): Likewise.
20062         * misc/brk.c (__brk): Likewise.
20063         * misc/chflags.c (chflags): Likewise.
20064         * misc/chroot.c (chroot): Likewise.
20065         * misc/fchflags.c (fchflags): Likewise.
20066         * misc/fstab.c (getfsspec): Likewise.
20067         (getfsfile): Likewise.
20068         * misc/fsync.c (fsync): Likewise.
20069         * misc/ftruncate.c (__ftruncate): Likewise.
20070         * misc/ftruncate64.c (__ftruncate64): Likewise.
20071         * misc/getdomain.c (getdomainname): Likewise.
20072         (getdomainname): Likewise.
20073         * misc/gethostname.c (__gethostname): Likewise.
20074         * misc/getpass.c (getpass): Likewise.
20075         * misc/getttyent.c (skip): Likewise.
20076         (value): Likewise.
20077         * misc/gtty.c (gtty): Likewise.
20078         * misc/hsearch.c (hsearch): Likewise.
20079         (hcreate): Likewise.
20080         * misc/hsearch_r.c (__hcreate_r): Likewise.
20081         (__hdestroy_r): Likewise.
20082         * misc/ioctl.c (__ioctl): Likewise.
20083         * misc/mkdtemp.c (mkdtemp): Likewise.
20084         * misc/mkostemp.c (mkostemp): Likewise.
20085         * misc/mkostemp64.c (mkostemp64): Likewise.
20086         * misc/mkostemps.c (mkostemps): Likewise.
20087         * misc/mkostemps64.c (mkostemps64): Likewise.
20088         * misc/mkstemp.c (mkstemp): Likewise.
20089         * misc/mkstemp64.c (mkstemp64): Likewise.
20090         * misc/mkstemps.c (mkstemps): Likewise.
20091         * misc/mkstemps64.c (mkstemps64): Likewise.
20092         * misc/mktemp.c (__mktemp): Likewise.
20093         * misc/preadv.c (preadv): Likewise.
20094         * misc/preadv64.c (preadv64): Likewise.
20095         * misc/pwritev.c (pwritev): Likewise.
20096         * misc/pwritev64.c (pwritev64): Likewise.
20097         * misc/readv.c (__readv): Likewise.
20098         * misc/revoke.c (revoke): Likewise.
20099         * misc/setdomain.c (setdomainname): Likewise.
20100         * misc/setegid.c (setegid): Likewise.
20101         * misc/seteuid.c (seteuid): Likewise.
20102         * misc/sethostid.c (sethostid): Likewise.
20103         * misc/sethostname.c (sethostname): Likewise.
20104         * misc/setregid.c (__setregid): Likewise.
20105         * misc/setreuid.c (__setreuid): Likewise.
20106         * misc/sstk.c (sstk): Likewise.
20107         * misc/stty.c (stty): Likewise.
20108         * misc/syscall.c (syscall): Likewise.
20109         * misc/syslog.c (setlogmask): Likewise.
20110         * misc/truncate.c (__truncate): Likewise.
20111         * misc/truncate64.c (truncate64): Likewise.
20112         * misc/ualarm.c (ualarm): Likewise.
20113         * misc/usleep.c (usleep): Likewise.
20114         * misc/ustat.c (ustat): Likewise.
20115         * misc/writev.c (__writev): Likewise.
20116         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20117         * nptl/old_pthread_cond_broadcast.c
20118         (__pthread_cond_broadcast_2_0): Likewise.
20119         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20120         Likewise.
20121         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20122         Likewise.
20123         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20124         Likewise.
20125         * nptl/pt-raise.c (raise): Likewise.
20126         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20127         Likewise.
20128         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20129         * nptl/pthread_barrierattr_destroy.c
20130         (pthread_barrierattr_destroy): Likewise.
20131         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20132         Likewise.
20133         * nptl/pthread_barrierattr_setpshared.c
20134         (pthread_barrierattr_setpshared): Likewise.
20135         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20136         Likewise.
20137         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20138         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20139         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20140         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20141         Likewise.
20142         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20143         Likewise.
20144         * nptl/pthread_condattr_getpshared.c
20145         (pthread_condattr_getpshared): Likewise.
20146         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20147         Likewise.
20148         * nptl/pthread_condattr_setpshared.c
20149         (pthread_condattr_setpshared): Likewise.
20150         * nptl/pthread_detach.c (pthread_detach): Likewise.
20151         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20152         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20153         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20154         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20155         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20156         Likewise.
20157         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20158         Likewise.
20159         * nptl/pthread_mutex_getprioceiling.c
20160         (pthread_mutex_getprioceiling): Likewise.
20161         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20162         Likewise.
20163         * nptl/pthread_mutexattr_getprotocol.c
20164         (pthread_mutexattr_getprotocol): Likewise.
20165         * nptl/pthread_mutexattr_getpshared.c
20166         (pthread_mutexattr_getpshared): Likewise.
20167         * nptl/pthread_mutexattr_getrobust.c
20168         (pthread_mutexattr_getrobust): Likewise.
20169         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20170         Likewise.
20171         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20172         Likewise.
20173         * nptl/pthread_mutexattr_setprioceiling.c
20174         (pthread_mutexattr_setprioceiling): Likewise.
20175         * nptl/pthread_mutexattr_setprotocol.c
20176         (pthread_mutexattr_setprotocol): Likewise.
20177         * nptl/pthread_mutexattr_setpshared.c
20178         (pthread_mutexattr_setpshared): Likewise.
20179         * nptl/pthread_mutexattr_setrobust.c
20180         (pthread_mutexattr_setrobust): Likewise.
20181         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20182         Likewise.
20183         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20184         Likewise.
20185         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20186         Likewise.
20187         * nptl/pthread_rwlockattr_getkind_np.c
20188         (pthread_rwlockattr_getkind_np): Likewise.
20189         * nptl/pthread_rwlockattr_getpshared.c
20190         (pthread_rwlockattr_getpshared): Likewise.
20191         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20192         Likewise.
20193         * nptl/pthread_rwlockattr_setkind_np.c
20194         (pthread_rwlockattr_setkind_np): Likewise.
20195         * nptl/pthread_rwlockattr_setpshared.c
20196         (pthread_rwlockattr_setpshared): Likewise.
20197         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20198         Likewise.
20199         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20200         Likewise.
20201         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20202         Likewise.
20203         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20204         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20205         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20206         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20207         * nptl/sem_close.c (sem_close): Likewise.
20208         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20209         * nptl/sem_init.c (__old_sem_init): Likewise.
20210         * nptl/sigaction.c (__sigaction): Likewise.
20211         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20212         * posix/_exit.c (_exit): Likewise.
20213         * posix/alarm.c (alarm): Likewise.
20214         * posix/confstr.c (confstr): Likewise.
20215         * posix/fpathconf.c (__fpathconf): Likewise.
20216         * posix/getgroups.c (__getgroups): Likewise.
20217         * posix/getpgid.c (__getpgid): Likewise.
20218         * posix/group_member.c (__group_member): Likewise.
20219         * posix/pathconf.c (__pathconf): Likewise.
20220         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20221         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20222         * posix/setgid.c (__setgid): Likewise.
20223         * posix/setpgid.c (__setpgid): Likewise.
20224         * posix/setuid.c (__setuid): Likewise.
20225         * posix/sleep.c (__sleep): Likewise.
20226         * posix/sysconf.c (__sysconf): Likewise.
20227         * posix/times.c (__times): Likewise.
20228         * posix/uname.c (__uname): Likewise.
20229         * posix/waitid.c (__waitid): Likewise.
20230         * pwd/getpw.c (__getpw): Likewise.
20231         * resolv/base64.c (b64_pton): Likewise.
20232         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20233         * resolv/gethnamaddr.c (Dprintf): Likewise.
20234         (gethostbyname): Likewise.
20235         (gethostbyname2): Likewise.
20236         (gethostbyaddr): Likewise.
20237         (_sethtent): Likewise.
20238         (_gethtbyname): Likewise.
20239         (_gethtbyname2): Likewise.
20240         (_gethtbyaddr): Likewise.
20241         (map_v4v6_address): Likewise.
20242         (map_v4v6_hostent): Likewise.
20243         (addrsort): Likewise.
20244         (ht_sethostent): Likewise.
20245         (ht_gethostbyname): Likewise.
20246         (ht_gethostbyaddr): Likewise.
20247         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20248         (inet_net_ntop_ipv4): Likewise.
20249         * resolv/inet_neta.c (inet_neta): Likewise.
20250         * resolv/inet_ntop.c (inet_ntop): Likewise.
20251         (inet_ntop4): Likewise.
20252         (inet_ntop6): Likewise.
20253         * resolv/inet_pton.c (__inet_pton): Likewise.
20254         (inet_pton4): Likewise.
20255         (inet_pton6): Likewise.
20256         * resolv/res_debug.c (loc_aton): Likewise.
20257         (loc_ntoa): Likewise.
20258         * resource/getpriority.c (__getpriority): Likewise.
20259         * resource/getrusage.c (__getrusage): Likewise.
20260         * resource/nice.c (nice): Likewise.
20261         * resource/setpriority.c (__setpriority): Likewise.
20262         * resource/setrlimit64.c (setrlimit64): Likewise.
20263         * resource/vlimit.c (vlimit): Likewise.
20264         * resource/vtimes.c (vtimes): Likewise.
20265         * rt/aio_error.c (aio_error): Likewise.
20266         * rt/aio_return.c (aio_return): Likewise.
20267         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20268         * signal/kill.c (__kill): Likewise.
20269         * signal/killpg.c (killpg): Likewise.
20270         * signal/raise.c (raise): Likewise.
20271         * signal/sigaction.c (__sigaction): Likewise.
20272         * signal/sigaddset.c (sigaddset): Likewise.
20273         * signal/sigaltstack.c (sigaltstack): Likewise.
20274         * signal/sigandset.c (sigandset): Likewise.
20275         * signal/sigblock.c (__sigblock): Likewise.
20276         * signal/sigdelset.c (sigdelset): Likewise.
20277         * signal/sigempty.c (sigemptyset): Likewise.
20278         * signal/sigfillset.c (sigfillset): Likewise.
20279         * signal/sighold.c (sighold): Likewise.
20280         * signal/sigignore.c (sigignore): Likewise.
20281         * signal/sigintr.c (siginterrupt): Likewise.
20282         * signal/sigisempty.c (sigisemptyset): Likewise.
20283         * signal/sigismem.c (sigismember): Likewise.
20284         * signal/signal.c (signal): Likewise.
20285         * signal/sigorset.c (sigorset): Likewise.
20286         * signal/sigpause.c (__sigpause): Likewise.
20287         * signal/sigpending.c (sigpending): Likewise.
20288         * signal/sigprocmask.c (__sigprocmask): Likewise.
20289         * signal/sigrelse.c (sigrelse): Likewise.
20290         * signal/sigreturn.c (__sigreturn): Likewise.
20291         * signal/sigset.c (sigset): Likewise.
20292         * signal/sigsetmask.c (__sigsetmask): Likewise.
20293         * signal/sigstack.c (sigstack): Likewise.
20294         * signal/sigsuspend.c (__sigsuspend): Likewise.
20295         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20296         * signal/sysv_signal.c (__sysv_signal): Likewise.
20297         * socket/accept.c (accept): Likewise.
20298         * socket/accept4.c (__libc_accept4): Likewise.
20299         * socket/bind.c (__bind): Likewise.
20300         * socket/connect.c (__connect): Likewise.
20301         * socket/getpeername.c (getpeername): Likewise.
20302         * socket/getsockname.c (__getsockname): Likewise.
20303         * socket/getsockopt.c (getsockopt): Likewise.
20304         * socket/listen.c (__listen): Likewise.
20305         * socket/recv.c (__recv): Likewise.
20306         * socket/recvmsg.c (__recvmsg): Likewise.
20307         * socket/send.c (__send): Likewise.
20308         * socket/sendmsg.c (__sendmsg): Likewise.
20309         * socket/shutdown.c (shutdown): Likewise.
20310         * socket/sockatmark.c (sockatmark): Likewise.
20311         * socket/socket.c (__socket): Likewise.
20312         * stdio-common/ctermid.c (ctermid): Likewise.
20313         * stdio-common/cuserid.c (cuserid): Likewise.
20314         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20315         * stdio-common/remove.c (remove): Likewise.
20316         * stdio-common/rename.c (rename): Likewise.
20317         * stdio-common/renameat.c (renameat): Likewise.
20318         * stdio-common/tempname.c (__gen_tempname): Likewise.
20319         * stdio-common/xbug.c (InitBuffer): Likewise.
20320         (AppendToBuffer): Likewise.
20321         (ReadFile): Likewise.
20322         * stdlib/a64l.c (a64l): Likewise.
20323         * stdlib/drand48_r.c (drand48_r): Likewise.
20324         * stdlib/getcontext.c (getcontext): Likewise.
20325         * stdlib/getenv.c (getenv): Likewise.
20326         * stdlib/l64a.c (l64a): Likewise.
20327         * stdlib/llabs.c (llabs): Likewise.
20328         * stdlib/lldiv.c (lldiv): Likewise.
20329         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20330         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20331         * stdlib/putenv.c (putenv): Likewise.
20332         * stdlib/random.c (__srandom): Likewise.
20333         (__initstate): Likewise.
20334         (__setstate): Likewise.
20335         * stdlib/random_r.c (__srandom_r): Likewise.
20336         (__setstate_r): Likewise.
20337         (__random_r): Likewise.
20338         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20339         * stdlib/setcontext.c (setcontext): Likewise.
20340         * stdlib/setenv.c (setenv): Likewise.
20341         (unsetenv): Likewise.
20342         * stdlib/srand48.c (srand48): Likewise.
20343         * stdlib/srand48_r.c (__srand48_r): Likewise.
20344         * stdlib/swapcontext.c (swapcontext): Likewise.
20345         * stdlib/system.c (__libc_system): Likewise.
20346         * stdlib/tst-strtod.c (expand): Likewise.
20347         * stdlib/tst-strtol.c (expand): Likewise.
20348         * stdlib/tst-strtoll.c (expand): Likewise.
20349         * streams/fattach.c (fattach): Likewise.
20350         * streams/fdetach.c (fdetach): Likewise.
20351         * streams/getmsg.c (getmsg): Likewise.
20352         * streams/isastream.c (isastream): Likewise.
20353         * string/ffs.c (__ffs): Likewise.
20354         * string/ffsll.c (ffsll): Likewise.
20355         * string/memcmp.c (memcmp_common_alignment): Likewise.
20356         (memcmp_not_common_alignment): Likewise.
20357         (MEMCMP): Likewise.
20358         * string/memcpy.c (memcpy): Likewise.
20359         * string/memmove.c (MEMMOVE): Likewise.
20360         * string/memset.c (memset): Likewise.
20361         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20362         * string/strchrnul.c (STRCHRNUL): Likewise.
20363         * string/strerror.c (strerror): Likewise.
20364         * string/strndup.c (__strndup): Likewise.
20365         * string/strverscmp.c (__strverscmp): Likewise.
20366         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20367         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20368         (clnttcp_freeres): Likewise.
20369         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20370         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20371         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20372         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20373         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20374         (xdr_callhdr): Likewise.
20375         * sunrpc/rpcinfo.c (udpping): Likewise.
20376         (tcpping): Likewise.
20377         (pstatus): Likewise.
20378         (pmapdump): Likewise.
20379         (brdcst): Likewise.
20380         (deletereg): Likewise.
20381         (getprognum): Likewise.
20382         (getvers): Likewise.
20383         (get_inet_address): Likewise.
20384         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20385         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20386         (svcudp_stat): Likewise.
20387         (svcudp_recv): Likewise.
20388         (svcudp_reply): Likewise.
20389         (svcudp_getargs): Likewise.
20390         (svcudp_freeargs): Likewise.
20391         (svcudp_destroy): Likewise.
20392         * sunrpc/xdr.c (xdr_bytes): Likewise.
20393         (xdr_netobj): Likewise.
20394         (xdr_string): Likewise.
20395         (xdr_wrapstring): Likewise.
20396         * sunrpc/xdr_float.c (xdr_float): Likewise.
20397         (xdr_double): Likewise.
20398         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20399         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20400         * sysvipc/ftok.c (ftok): Likewise.
20401         * sysvipc/msgctl.c (msgctl): Likewise.
20402         * sysvipc/msgget.c (msgget): Likewise.
20403         * sysvipc/msgrcv.c (msgrcv): Likewise.
20404         * sysvipc/msgsnd.c (msgsnd): Likewise.
20405         * sysvipc/semget.c (semget): Likewise.
20406         * sysvipc/semop.c (semop): Likewise.
20407         * sysvipc/shmat.c (shmat): Likewise.
20408         * sysvipc/shmctl.c (shmctl): Likewise.
20409         * sysvipc/shmdt.c (shmdt): Likewise.
20410         * sysvipc/shmget.c (shmget): Likewise.
20411         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20412         * termios/speed.c (cfgetospeed): Likewise.
20413         (cfgetispeed): Likewise.
20414         (cfsetospeed): Likewise.
20415         (cfsetispeed): Likewise.
20416         * termios/tcflow.c (tcflow): Likewise.
20417         * termios/tcflush.c (tcflush): Likewise.
20418         * termios/tcgetattr.c (__tcgetattr): Likewise.
20419         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20420         * termios/tcgetsid.c (tcgetsid): Likewise.
20421         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20422         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20423         * time/adjtime.c (__adjtime): Likewise.
20424         * time/dysize.c (dysize): Likewise.
20425         * time/ftime.c (ftime): Likewise.
20426         * time/getitimer.c (__getitimer): Likewise.
20427         * time/gettimeofday.c (__gettimeofday): Likewise.
20428         * time/gmtime.c (__gmtime_r): Likewise.
20429         (gmtime): Likewise.
20430         * time/localtime.c (__localtime_r): Likewise.
20431         (localtime): Likewise.
20432         * time/offtime.c (__offtime): Likewise.
20433         * time/settimeofday.c (__settimeofday): Likewise.
20434         * time/stime.c (stime): Likewise.
20435         * time/strftime_l.c (tm_diff): Likewise.
20436         (iso_week_days): Likewise.
20437         * time/strptime.c (strptime): Likewise.
20438         * time/time.c (time): Likewise.
20439         * time/timespec_get.c (timespec_get): Likewise.
20440         * time/tzset.c (tzset_internal): Likewise.
20441         (compute_change): Likewise.
20442         (__tz_compute): Likewise.
20443         * wcsmbs/btowc.c (__btowc): Likewise.
20444         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20445         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20446         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20447         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20448         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20449         * wcsmbs/wcscat.c (__wcscat): Likewise.
20450         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20451         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20452         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20453         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20454         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20455         * wcsmbs/wcslen.c (__wcslen): Likewise.
20456         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20457         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20458         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20459         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20460         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20461         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20462         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20463         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20464         * wcsmbs/wcstok.c (wcstok): Likewise.
20465         * wcsmbs/wctob.c (wctob): Likewise.
20466         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20467         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20468         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20469         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20470         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20471         * wcsmbs/wmemset.c (__wmemset): Likewise.
20472         * wctype/wcfuncs.c (__towlower): Likewise.
20473         (__towupper): Likewise.
20475         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20476         (lll_unlock_elision): Add adapt_count parameter.
20478 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20480         * sysdeps/nptl/configure.ac: Do not give errors based on the
20481         results of top-level configure tests.
20482         * sysdeps/nptl/configure: Regenerated.
20484         * configure.ac (libc_cv_Bgroup): Remove configure test.
20485         * configure: Regenerated.
20486         * config.make.in (have-Bgroup): Remove variable.
20488         * configure.ac (sizeof_long_double): Remove configure test.
20489         * configure: Regenerated.
20490         * config.make.in (sizeof-long-double): Remove variable.
20492         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20493         * configure: Regenerated.
20494         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20495         variable.
20496         (exceptions): Likewise.
20497         * sysdeps/arm/configure: Regenerated.
20498         * config.make.in (exceptions): Remove variable.
20499         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20500         $(exceptions).
20501         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20502         (CFLAGS-vdprintf_chk.c): Likewise.
20503         (CFLAGS-printf_chk.c): Likewise.
20504         (CFLAGS-fprintf_chk.c): Likewise.
20505         (CFLAGS-vprintf_chk.c): Likewise.
20506         (CFLAGS-vfprintf_chk.c): Likewise.
20507         (CFLAGS-gets_chk.c): Likewise.
20508         (CFLAGS-fgets_chk.c): Likewise.
20509         (CFLAGS-fgets_u_chk.c): Likewise.
20510         (CFLAGS-fread_chk.c): Likewise.
20511         (CFLAGS-fread_u_chk.c): Likewise.
20512         (CFLAGS-wprintf_chk.c): Likewise.
20513         (CFLAGS-fwprintf_chk.c): Likewise.
20514         (CFLAGS-vwprintf_chk.c): Likewise.
20515         (CFLAGS-vfwprintf_chk.c): Likewise.
20516         (CFLAGS-fgetws_chk.c): Likewise.
20517         (CFLAGS-fgetws_u_chk.c): Likewise.
20518         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20519         (CFLAGS-fputc.c): Likewise.
20520         (CFLAGS-fputwc.c): Likewise.
20521         (CFLAGS-freopen64.c): Likewise.
20522         (CFLAGS-freopen.c): Likewise.
20523         (CFLAGS-fseek.c): Likewise.
20524         (CFLAGS-fseeko64.c): Likewise.
20525         (CFLAGS-fseeko.c): Likewise.
20526         (CFLAGS-ftello64.c): Likewise.
20527         (CFLAGS-ftello.c): Likewise.
20528         (CFLAGS-fwide.c): Likewise.
20529         (CFLAGS-genops.c): Likewise.
20530         (CFLAGS-getc.c): Likewise.
20531         (CFLAGS-getchar.c): Likewise.
20532         (CFLAGS-getwc.c): Likewise.
20533         (CFLAGS-getwchar.c): Likewise.
20534         (CFLAGS-iofclose.c): Likewise.
20535         (CFLAGS-iofflush.c): Likewise.
20536         (CFLAGS-iofgetpos64.c): Likewise.
20537         (CFLAGS-iofgetpos.c): Likewise.
20538         (CFLAGS-iofgets.c): Likewise.
20539         (CFLAGS-iofgetws.c): Likewise.
20540         (CFLAGS-iofputs.c): Likewise.
20541         (CFLAGS-iofputws.c): Likewise.
20542         (CFLAGS-iofread.c): Likewise.
20543         (CFLAGS-iofsetpos64.c): Likewise.
20544         (CFLAGS-iofsetpos.c): Likewise.
20545         (CFLAGS-ioftell.c): Likewise.
20546         (CFLAGS-iofwrite.c): Likewise.
20547         (CFLAGS-iogetdelim.c): Likewise.
20548         (CFLAGS-iogetline.c): Likewise.
20549         (CFLAGS-iogets.c): Likewise.
20550         (CFLAGS-iogetwline.c): Likewise.
20551         (CFLAGS-ioputs.c): Likewise.
20552         (CFLAGS-ioseekoff.c): Likewise.
20553         (CFLAGS-ioseekpos.c): Likewise.
20554         (CFLAGS-iosetbuffer.c): Likewise.
20555         (CFLAGS-iosetvbuf.c): Likewise.
20556         (CFLAGS-ioungetc.c): Likewise.
20557         (CFLAGS-ioungetwc.c): Likewise.
20558         (CFLAGS-oldfileops.c): Likewise.
20559         (CFLAGS-oldiofclose.c): Likewise.
20560         (CFLAGS-oldiofgetpos64.c): Likewise.
20561         (CFLAGS-oldiofgetpos.c): Likewise.
20562         (CFLAGS-oldiofsetpos64.c): Likewise.
20563         (CFLAGS-oldiofsetpos.c): Likewise.
20564         (CFLAGS-peekc.c): Likewise.
20565         (CFLAGS-putc.c): Likewise.
20566         (CFLAGS-putchar.c): Likewise.
20567         (CFLAGS-putwc.c): Likewise.
20568         (CFLAGS-putwchar.c): Likewise.
20569         (CFLAGS-rewind.c): Likewise.
20570         (CFLAGS-wfileops.c): Likewise.
20571         (CFLAGS-wgenops.c): Likewise.
20572         (CFLAGS-oldiofopen.c): Likewise.
20573         (CFLAGS-iofopen.c): Likewise.
20574         (CFLAGS-iofopen64.c): Likewise.
20575         (CFLAGS-oldtmpfile.c): Likewise.
20576         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20577         (CFLAGS-fprintf.c): Likewise.
20578         (CFLAGS-printf.c): Likewise.
20579         (CFLAGS-vfwprintf.c): Likewise.
20580         (CFLAGS-vfscanf.c): Likewise.
20581         (CFLAGS-vfwscanf.c): Likewise.
20582         (CFLAGS-fscanf.c): Likewise.
20583         (CFLAGS-scanf.c): Likewise.
20584         (CFLAGS-isoc99_vfscanf.c): Likewise.
20585         (CFLAGS-isoc99_vscanf.c): Likewise.
20586         (CFLAGS-isoc99_fscanf.c): Likewise.
20587         (CFLAGS-isoc99_scanf.c): Likewise.
20588         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20589         (CFLAGS-isoc99_fwscanf.c): Likewise.
20590         (CFLAGS-isoc99_vwscanf.c): Likewise.
20591         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20593         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20594         after mkstemp64.
20595         * login/tst-utmp.c (do_prepare): Likewise.
20596         * rt/tst-aio.c (do_prepare): Likewise.
20597         * rt/tst-aio64.c (do_prepare): Likewise.
20599 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20601         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20602         (__lll_lock_elision): Remove adapt_count decrement...
20603         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20604         (__lll_trylock_elision): Likewise.
20605         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20606         (__lll_unlock_elision): ... to here. And utilize
20607         new adapt_count parameter.
20608         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20609         (__lll_unlock_elision): Update to include adapt_count
20610         parameter.
20611         (lll_unlock_elision): Pass pointer to adapt_count
20612         variable.
20614 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20616         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20617         Add elision adapt_count parameter to list of arguments.
20618         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20619         (lll_unlock_elision): Update with new parameter list
20620         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20621         (lll_unlock_elision): Likewise.
20622         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20623         (lll_unlock_elision): Likewise.
20625 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20627         [BZ #19122]
20628         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20629         attribute_hidden.
20631         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20632         attribute_hidden.
20633         [IS_IN (rtld)] (__strdup): Likewise.
20634         [IS_IN (rtld)] (__strerror_r): Likewise.
20635         [IS_IN (rtld)] (__strsep_g): Likewise.
20636         [IS_IN (rtld)] (memchr): Likewise.
20637         [IS_IN (rtld)] (memcmp): Likewise.
20638         [IS_IN (rtld)] (memcpy): Likewise.
20639         [IS_IN (rtld)] (memmove): Likewise.
20640         [IS_IN (rtld)] (memset): Likewise.
20641         [IS_IN (rtld)] (rawmemchr): Likewise.
20642         [IS_IN (rtld)] (stpcpy): Likewise.
20643         [IS_IN (rtld)] (strchr): Likewise.
20644         [IS_IN (rtld)] (strcmp): Likewise.
20645         [IS_IN (rtld)] (strlen): Likewise.
20646         [IS_IN (rtld)] (strnlen): Likewise.
20647         [IS_IN (rtld)] (strsep): Likewise.
20649         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20650         attribute_hidden.
20651         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20653         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20654         attribute_hidden.
20655         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20657         * include/setjmp.h (__longjmp): Add attribute_hidden.
20658         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20660         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20661         Add attribute_hidden.
20663         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20664         [IS_IN (rtld)] (__open): Likewise.
20665         [IS_IN (rtld)] (__fcntl): Likewise.
20667         * include/dirent.h (__opendirat): Add attribute_hidden.
20668         (__getdents): Likewise.
20669         (__getdents64): Likewise.
20670         (__alloc_dir): Likewise.
20671         [IS_IN (rtld)] (__closedir): Likewise.
20672         [IS_IN (rtld)] (__fdopendir): Likewise.
20673         [IS_IN (rtld)] (__readdir): Likewise.
20674         [IS_IN (rtld)] (__readdir64): Likewise.
20675         [IS_IN (rtld)] (__rewinddir): Likewise.
20677         * include/dlfcn.h (_dl_catch_error): Moved to ...
20678         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20679         attribute_hidden.
20681         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20682         (_itoa_word): Likewise.
20684         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20685         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20686         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20687         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20688         (_dl_higher_prime_number): Likewise.
20689         (_dl_debug_printf_c): Likewise.
20690         (_dl_signal_cerror): Likewise.
20691         (_dl_receive_error): Likewise.
20692         (_dl_reloc_bad_type): Likewise.
20693         (_dl_resolve_conflicts): Likewise.
20694         (_dl_check_all_versions): Likewise.
20695         (_dl_check_map_versions): Likewise.
20696         (_dl_sort_fini): Likewise.
20697         (_dl_debug_initialize): Likewise.
20698         (_dl_init_paths): Likewise.
20699         (_dl_show_auxv): Likewise.
20700         (_dl_next_ld_env_entry): Likewise.
20701         (_dl_important_hwcaps): Likewise.
20702         (_dl_load_cache_lookup): Likewise.
20703         (_dl_update_slotinfo): Likewise.
20704         (_dl_show_scope): Likewise.
20706         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20707         attribute_hidden.
20708         (_wordcopy_fwd_dest_aligned): Likewise.
20709         (_wordcopy_bwd_aligned): Likewise.
20710         (_wordcopy_bwd_dest_aligned): Likewise.
20712         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20713         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20714         Likewise.
20715         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20716         Likewise.
20717         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20719 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20722         GCC 5 requirement.
20724 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20726         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20727         test.
20728         * sysdeps/i386/configure: Regenerated.
20729         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20730         code unconditional.
20732         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20733         test.
20734         (libc_cv_asm_popsection_directive): Likewise.
20735         * configure: Regenerated.
20736         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20737         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20738         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20739         (__make_section_unallocated): Make definition unconditional.
20740         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20741         Remove conditional definition.
20742         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20743         (__make_section_unallocated): Likewise.
20745         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20746         * configure: Regenerated.
20747         * config.make.in (static-libgcc): Remove variable.
20748         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20749         $(static-libgcc).
20750         (build-module-helper): Likewise.
20752         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20753         * configure: Regenerated.
20755 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20757         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20758         (struct char_buffer): New type.
20759         (char_buffer_start, char_buffer_size, char_buffer_error)
20760         (char_buffer_rewind, char_buffer_add): New functions.
20761         (ADDW): Remove macro, replaced by the char_buffer_add function.
20762         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20763         of extend_alloca.  Make control flow more explicit.
20765 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20767         [BZ #19137]
20768         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20769         Add -fomit-frame-pointer.
20770         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20772 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20774         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20775         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20777         only if !__GNUC_PREREQ (5,0).
20778         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20779         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20780         (INTERNAL_SYSCALL_NCS): Likewise.
20781         (LOADREGS_0): New macro for GCC 5.
20782         (ASMARGS_0): Likewise.
20783         (LOADREGS_1): Likewise.
20784         (ASMARGS_1): Likewise.
20785         (LOADREGS_2): Likewise.
20786         (ASMARGS_2): Likewise.
20787         (LOADREGS_3): Likewise.
20788         (ASMARGS_3): Likewise.
20789         (LOADREGS_4): Likewise.
20790         (ASMARGS_4): Likewise.
20791         (LOADREGS_5): Likewise.
20792         (ASMARGS_5): Likewise.
20793         (LOADREGS_6): Likewise.
20794         (ASMARGS_6): Likewise.
20796 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20798         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20799         -fomit-frame-pointer.
20800         (CFLAGS-mmap64.c): Likewise.
20801         (CFLAGS-semtimedop.c): Likewise.
20802         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20803         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20804         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20805         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20807 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20809         [BZ #18928]
20810         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20811         _dl_pointer_guard member.
20812         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20813         initializer.
20814         (security_init): Always set up pointer guard.
20815         (process_envvars): Do not process LD_POINTER_GUARD.
20817 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20819         [BZ #19134]
20820         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20821         (.LC2): Likewise.
20822         (.LC3): Likewise.
20823         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20825 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20827         [BZ #19129]
20828         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20829         r0 and r1.
20831 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20833         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20835 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20837         * include/stap-probe.h: Fix macro definition formatting.
20839 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20841         [BZ #19074]
20842         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20843         load and store num_ifs.
20845 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20847         [BZ #18822]
20848         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20849         (__sched_getaffinity_new): Add libc_hidden_proto and
20850         libc_hidden_def.
20852 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20854         [BZ #19007]
20855         * scripts/localplt.awk: Also allow GOT references.
20856         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20857         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20858         with "+ REL R_386_GLOB_DAT".
20859         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20860         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20862 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20864         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20865         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20866         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20867         Likewise.
20868         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20869         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20870         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20871         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20872         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20873         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20874         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20875         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20876         Likewise.
20877         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20879 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20881         [BZ #19125]
20882         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20883         <math_private.h> and <stdint.h>.
20884         (__llround): Avoid conversions to and from long long int, and
20885         subtractions, where those might raise spurious exceptions.
20886         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20887         <math_private.h> and <stdint.h>.
20888         (__llroundf): Avoid conversions to and from long long int, and
20889         subtractions, where those might raise spurious exceptions.
20891 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20893         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20894         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20895         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20896         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20897         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20898         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20899         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20900         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20901         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20902         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20903         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20904         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20905         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20906         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20907         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20908         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20909         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20910         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20911         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20912         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20913         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20914         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20915         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20916         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20917         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20918         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20919         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20920         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20921         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20922         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20923         (__xstat64_conv): Likewise.
20924         (__xstat32_conv): Likewise.
20926 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20928         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20929         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20930         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20931         <sysdeps/unix/sysv/linux/sysdep.h>.
20932         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20933         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20934         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20935         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20936         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20937         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20938         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20939         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20940         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20945         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20946         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20947         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20948         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20949         (sysdep-dl-routines): Add sysdep.
20950         [$(subdir) == nptl] (libpthread-routines): Likewise.
20951         [$(subdir) == rt] (librt-routines): Likewise.
20952         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20953         PIC when branching to SYSCALL_ERROR_LABEL.
20954         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20955         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20956         <sysdeps/unix/sysv/linux/sysdep.h>.
20957         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20958         (SYSCALL_ERROR_ERRNO): Removed.
20959         (SYSCALL_ERROR_HANDLER): Changed to empty.
20960         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20961         (__syscall_error): New prototype.
20962         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20963         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20965 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20967         [BZ #19124]
20968         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20969         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20970         _dl_runtime_resolve_avx.
20971         (_dl_runtime_profile_avx512): Make it a hidden alias of
20972         _dl_runtime_profile_avx.
20974 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20976         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20977         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20978         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20979         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20981         [BZ #16422]
20982         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20983         New configure test.
20984         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20985         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20986         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20987         <math_private.h> and <stdint.h>.
20988         (__llrint): Avoid conversions to long long int where those might
20989         raise spurious exceptions.
20990         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20991         <math_private.h> and <stdint.h>.
20992         (__llrintf): Avoid conversions to long long int where those might
20993         raise spurious exceptions.
20995 2015-10-12  Andreas Schwab  <schwab@suse.de>
20997         [BZ #18969]
20998         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20999         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21000         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21001         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21002         $(gen-locales).
21003         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21004         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21005         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21006         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21007         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21008         $(gen-locales).
21009         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21010         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21011         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21012         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21013         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21014         ($(objpfx)tst-ftell-active-handler.out)
21015         ($(objpfx)tst-ftell-append.out)
21016         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21017         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21018         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21019         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21020         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21021         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21022         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21023         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21024         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21025         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21026         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21027         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21028         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21029         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21030         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21031         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21032         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21033         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21034         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21035         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21036         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21037         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21038         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21039         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21040         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21041         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21042         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21043         $(gen-locales).
21044         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21045         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21046         $(gen-locales).
21047         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21048         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21049         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21050         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21051         $(gen-locales).
21052         * libio/tst_wprintf2.c (main): Use explicit locale.
21053         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21055 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21057         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21058         __msg_sig_post.
21059         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21061 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21063         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21064         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21066         * sysdeps/arm/libm-test-ulps: Regenerated.
21068         [BZ #15470]
21069         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21071         [BZ #16399]
21072         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21073         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21074         and <fix-fp-int-convert-overflow.h>.
21075         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21076         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21077         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21078         and <fix-fp-int-convert-overflow.h>.
21079         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21080         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21081         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21082         <fix-fp-int-convert-overflow.h>.
21083         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21084         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21085         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21086         <fix-fp-int-convert-overflow.h>.
21087         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21088         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21089         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21090         and <fix-fp-int-convert-overflow.h>.
21091         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21092         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21093         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21094         <limits.h> and <fix-fp-int-convert-overflow.h>.
21095         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21096         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21097         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21098         and <fix-fp-int-convert-overflow.h>.
21099         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21100         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21101         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21102         and <fix-fp-int-convert-overflow.h>.
21103         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21104         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21105         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21107 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21109         [BZ #18589]
21110         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21111         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21112         $(gen-locales).
21114 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21115             Phil Blundell <pb@pbcl.net>
21117         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21118         * nptl/tst-cancel26.c: New file.
21119         * nptl/tst-cancel27.c: Likewise.
21121 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21123         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21124         __ILP32__ isn't defined.
21125         (lrint): Likewise.
21126         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21127         (lrintf): Likewise.
21128         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21129         (lrintl): Likewise.
21130         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21131         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21132         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21134 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21136         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21137         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21139         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21140         file.
21141         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21142         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21144 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21146         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21147         configure test.
21148         * sysdeps/i386/configure: Regenerated.
21149         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21150         configure test.
21151         * sysdeps/x86_64/configure: Regenerated.
21152         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21153         Make code unconditional.
21155         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21156         test.
21157         * sysdeps/i386/configure: Regenerated.
21158         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21159         test.
21160         * sysdeps/x86_64/configure: Regenerated.
21161         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21162         Make code unconditional.
21163         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21164         Likewise.
21165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21166         Likewise.
21167         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21168         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21169         code unconditional.
21170         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21171         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21172         code unconditional.
21173         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21174         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21175         code unconditional.
21176         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21177         code unconditional.
21178         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21179         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21180         code unconditional.
21181         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21182         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21183         code unconditional.
21184         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21185         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21186         code unconditional.
21187         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21188         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21189         code unconditional.
21190         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21191         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21193         [BZ #19095]
21194         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21195         mantissa to long int before shifting left.
21197 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21199         [BZ #19094]
21200         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21201         <limits.h>.
21202         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21203         when result overflows but exception would not result from cast.
21204         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21205         <limits.h>.
21206         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21207         when result overflows but exception would not result from cast.
21208         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21209         <limits.h>.
21210         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21211         when result overflows but exception would not result from cast.
21212         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21213         <limits.h>.
21214         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21215         when result overflows but exception would not result from cast.
21216         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21217         <limits.h>.
21218         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21219         when result overflows but exception would not result from cast.
21220         * math/libm-test.inc (lrint_test_data): Add more tests.
21221         (llrint_test_data): Likewise.
21223 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21225         [BZ #18872]
21226         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21227         Move out from under [$(run-built-tests) = yes] conditional.
21228         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21229         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21231 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21233         [BZ #18589]
21234         * string/Makefile (tests): Add bug-strcoll2.
21235         (LOCALES): Add cs_CZ.UTF-8.
21236         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21238         [BZ #18589]
21239         * string/bug-strcoll2.c: New file.
21240         * locale/categories.def: Revert commit
21241         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21242         * locale/langinfo.h: Likewise.
21243         * locale/localeinfo.h: Likewise.
21244         * locale/C-collate.c: Likewise.
21245         * locale/programs/ld-collate.c (collate_output): Likewise.
21246         * string/strcoll_l.c (STRDIFF): Likewise.
21247         (STRCOLL): Likewise.
21248         * wcsmbs/wcscoll_l.c: Likewise.
21250 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21252         * math/libm-test.inc (lround_test_data): Do not expect the absence
21253         of "inexact" for some tests with non-integer arguments.
21254         (llround_test_data): Likewise.
21256         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21257         test.
21258         (libc_cv_cc_sse2avx): Likewise.
21259         * sysdeps/i386/configure: Regenerated.
21260         * sysdeps/i386/i686/multiarch/Makefile
21261         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21262         [$(subdir) = math].
21263         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21264         code unconditional.
21265         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21266         Likewise.
21267         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21268         Likewise.
21269         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21270         Likewise.
21271         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21272         test.
21273         (libc_cv_cc_sse2avx): Likewise.
21274         * sysdeps/x86_64/configure: Regenerated.
21275         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21276         unconditional.
21277         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21278         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21279         unconditional.
21280         (_dl_runtime_profile)
21281         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21282         conditional code.
21283         * sysdeps/x86_64/fpu/multiarch/Makefile
21284         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21286         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21287         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21288         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21289         * sysdeps/x86_64/fpu/multiarch/e_log.c
21290         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21291         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21292         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21293         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21294         Likewise.
21295         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21296         Likewise.
21297         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21298         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21299         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21300         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21301         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21302         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21303         (HAVE_SSE2AVX_SUPPORT): Likewise.
21305 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21307         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21308         instead of #pragma optimize.
21310 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21312         [BZ #17195]
21313         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21314         as is similarly done in systrim and _int_free already.
21316 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21318         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21320 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21322         [BZ #19088]
21323         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21324         <limits.h>.
21325         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21326         overflows but exception would not result from cast.
21327         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21328         and <limits.h>.
21329         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21330         overflows but exception would not result from cast.
21331         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21332         <limits.h>.
21333         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21334         overflows but exception would not result from cast.
21335         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21336         <limits.h>.
21337         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21338         overflows but exception would not result from cast.
21339         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21340         <limits.h>.
21341         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21342         overflows but exception would not result from cast.
21343         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21344         <limits.h>.
21345         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21346         overflows but exception would not result from cast.
21347         * math/libm-test.inc (lround_test_data): Add more tests.
21348         (llround_test_data): Likewise.
21350 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21352         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21353         (CFLAGS-ialloc.c): Ditto.
21354         (CFLAGS-scheck.c): Ditto.
21356 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21358         [BZ #19086]
21359         * manual/filesys.texi (Storage Allocation): Fix argument order for
21360         posix_fallocate64.
21362 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21364         [BZ #19085]
21365         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21366         exponent below 48 inside case for non-overflowing exponent.
21367         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21369 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21371         * iconvdata/cp737.h (from_idx): Add const.
21372         * iconvdata/cp775.h (from_idx): Likewise.
21374 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21376         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21377         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21378         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21380         [BZ #19079]
21381         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21382         file, conditioned on [!_LP64].
21383         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21384         [!_LP64] (__lround): Do not define as function or alias.
21385         [!_LP64] (lround): Likewise.
21386         [!_LP64] (__lroundl): Likewise.
21387         [!_LP64] (lroundl): Likewise.
21388         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21389         macro.
21390         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21391         Likewise.
21393 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21395         * math/libm-test.inc (lrint_test_data): Add more tests.
21396         (llrint_test_data): Likewise.
21397         (lround_test_data): Likewise.
21398         (llround_test_data): Likewise.
21400         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21401         (llrint_test_data): Add tests used for lrint.
21403         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21404         test.
21405         * sysdeps/i386/configure: Regenerated.
21406         * sysdeps/i386/i686/multiarch/Makefile
21407         [$(config-cflags-sse4) = yes]: Make code unconditional.
21408         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21409         Likewise.
21410         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21411         Likewise.
21412         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21413         test.
21414         * sysdeps/x86_64/configure: Regenerated.
21415         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21416         Make code unconditional.
21417         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21418         Likewise.
21419         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21420         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21422         * scripts/rpm2dynsym.sh: Remove file.
21424 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21426         * configure.ac (libc_cv_cxx_thread_local): Define.
21427         * configure: Regenerate.
21428         * config.make.in (have-cxx-thread_local): Define.
21429         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21430         (LDLIBS-tst-thread_local1): Define.
21431         (tests): Add tst-thread_local1.
21432         [have-cxx-thread_local != yes] (tests-unsupported): Add
21433         tst-thread_local1.
21434         * nptl/tst-thread_local1.cc: New file.
21436 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21438         [BZ #19078]
21439         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21440         (u_thres): Likewise.
21441         (__expl): Determine whether to call __kernel_standard_l based on
21442         value of result, not argument.
21444         * math/libm-test.inc (scalb_test_data): Add more expectations for
21445         the "inexact" exception.
21447         [BZ #19077]
21448         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21449         0.0L for argument 1.0L.
21451         [BZ #19076]
21452         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21453         constant 0.0L when computing infinite result.
21455 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21457         [BZ #10432]
21458         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21459         malloc_usable_size.
21461 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21463         [BZ #19018]
21464         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21465         Mangle function pointer before storing it.
21466         (__call_tls_dtors): Demangle function pointer before calling it.
21468 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21470         [BZ #19012]
21471         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21472         Clean up on failure.
21474 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21476         [BZ #19071]
21477         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21478         long int variable to store possibly incremented high part of
21479         mantissa.
21480         * math/libm-test.inc (lround_test_data): Add tests used for
21481         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21482         for tests requiring 64-bit long.  Do not condition tests on
21483         [TEST_FLOAT] unnecessarily.
21484         (llround_test_data): Add tests used for lround.  Add another
21485         expectation for the "inexact" exception.  Do not condition tests
21486         on [TEST_FLOAT] unnecessarily.
21488         [BZ #887]
21489         [BZ #19049]
21490         [BZ #19050]
21491         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21492         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21493         <fix-int-fp-convert-zero.h>.
21494         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21495         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21496         <fix-int-fp-convert-zero.h>.
21497         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21498         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21499         <fix-int-fp-convert-zero.h>.
21500         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21501         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21502         <fix-int-fp-convert-zero.h>.
21503         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21504         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21505         <fix-int-fp-convert-zero.h>.
21506         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21507         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21508         <fix-int-fp-convert-zero.h>.
21509         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21510         * sysdeps/ieee754/flt-32/s_erff.c: Include
21511         <fix-int-fp-convert-zero.h>.
21512         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21513         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21514         <fix-int-fp-convert-zero.h>.
21515         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21517         <fix-int-fp-convert-zero.h>.
21518         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21519         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21520         <fix-int-fp-convert-zero.h>.
21521         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21522         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21523         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21524         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21525         file.
21526         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21528 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21530         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21532 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21534         [BZ #19059]
21535         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21536         overflowing computation.
21537         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21538         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21539         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21540         Likewise.
21541         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21542         Likewise.
21543         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21544         Likewise.
21545         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21546         Likewise.
21547         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21548         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21549         Likewise.
21550         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21551         Likewise.
21552         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21554         * nss/rewrite_field.c (__nss_rewrite_field): Use
21555         internal_function.
21556         * nss/valid_field.c (__nss_valid_field): Likewise.
21557         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21559 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21561         [BZ #18724]
21562         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21563         (__nss_invalid_field_characters, __nss_valid_field)
21564         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21565         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21566         tst-field.c: New file.
21567         * nss/Makefile (routines): Add valid_field, rewrite_field.
21568         (tests-static): Define unconditionally.
21569         (tests): Include tests-static.
21570         [build-static-nss] (tests-static): Use append.
21571         [build-static-nss] (tests): Remove modification.
21572         * nss/getent.c (print_group): Call putgrent.  Report error.
21573         (print_gshadow): Call putsgent.  Report error.
21574         (print_passwd): Call putpwent.  Report error.
21575         (print_shadow): Call putspent.  Report error.
21576         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21577         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21578         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21579         name, password, directory, shell fields for valid syntax.  Rewrite
21580         GECOS field to match syntax.
21581         * pwd/Makefile (tests): Add tst-putpwent.
21582         * pwd/tst-putpwent.c: New file.
21583         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21584         Check grName, grpasswd, gr_mem fields for valid syntax.
21585         Change loop variable i to size_t.
21586         * grp/Makefile (tests): Add tst-putgrent.
21587         * grp/tst-putgrent.c: New file.
21588         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21589         valid syntax.
21590         * shadow/Makefile (tests): Add tst-putspent.
21591         * shadow/tst-putspent.c: New file.
21592         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21593         sg_mem fields for valid syntax.
21594         * gshadow/Makefile (tests): Add tst-putsgent.
21595         * gshadow/tst-putsgent.c: New file.
21597 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21599         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21600         assembly instructions.
21602 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21604         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21605         prefix from operands.
21607 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21609         [BZ #16347]
21610         [BZ #19046]
21611         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21612         <libc-internal.h>.
21613         (MAXLGM): Do not use diagnostic control macros.
21614         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21615         threshold for ldbl-128ibm.
21616         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21617         instead of multiplying by log then subtracting.
21618         * math/auto-libm-test-in: Add more tests of lgamma.
21619         * math/auto-libm-test-out: Regenerated.
21621         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21622         (TYPE_HEX_DIG): Likewise.
21623         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21624         precisions when printing floating-point numbers.
21625         (check_float_internal): Likewise.
21627 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21629         [BZ #16620]
21630         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21631         of log (10) rounded downward to 48 bits.
21632         (log10_low): Use corresponding low part of log (10).
21634         [BZ #19032]
21635         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21636         compute result as (x - x) / (x - x) not as 0 / 0.
21637         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21638         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21640         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21641         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21642         and expm1.
21643         * math/auto-libm-test-out: Regenerated.
21644         * math/libm-test.inc (acos_test_data): Add more tests.
21645         (asin_test_data): Likewise.
21646         (asinh_test_data): Likewise.
21647         (atan_test_data): Likewise.
21648         (atanh_test_data): Likewise.
21649         (atan2_test_data): Likewise.
21650         (cbrt_test_data): Likewise.
21651         (ceil_test_data): Likewise.
21652         (copysign_test_data): Likewise.
21653         (cos_test_data): Likewise.
21654         (cosh_test_data): Likewise.
21655         (erf_test_data): Likewise.
21656         (erfc_test_data): Likewise.
21657         (exp_test_data): Likewise.
21658         (exp10_test_data): Likewise.
21659         (exp2_test_data): Likewise.
21660         (expm1_test_data): Likewise.
21661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21663 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21665         [BZ #19006]
21666         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21667         to ...
21668         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21669         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21670         to ...
21671         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21672         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21673         to ...
21674         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21675         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21676         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21677         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21678         to ...
21679         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21680         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21681         Moved to ...
21682         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21683         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21684         Moved to ...
21685         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21686         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21687         to ...
21688         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21689         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21690         Moved to ...
21691         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21692         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21693         to ...
21694         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21695         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21696         Removed.
21697         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21698         Likewise.
21699         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21700         Likewise.
21701         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21702         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21703         Likewise.
21704         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21705         Likewise.
21706         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21707         Likewise.
21708         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21709         Likewise.
21710         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21711         Likewise.
21712         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21713         Likewise.
21714         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21715         Likewise.
21716         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21717         Likewise.
21718         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21719         Likewise.
21720         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21721         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21722         Likewise.
21723         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21724         Likewise.
21725         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21726         Likewise.
21727         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21728         Likewise.
21729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21730         Likewise.
21731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21732         Replace ../i486/pthread_cond_timedwait.S with
21733         ../pthread_cond_timedwait.S.
21735 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21737         * math/libm-test.inc (acos_test_data): Refine expectations for
21738         errno and "inexact" exceptions.
21739         (acosh_test_data): Likewise.
21740         (asin_test_data): Likewise.
21741         (asinh_test_data): Likewise.
21742         (atan_test_data): Likewise.
21743         (atanh_test_data): Likewise.
21744         (atan2_test_data): Likewise.
21745         (cbrt_test_data): Likewise.
21746         (ceil_test_data): Likewise.
21747         (copysign_test_data): Likewise.
21748         (cosh_test_data): Likewise.
21749         (erf_test_data): Likewise.
21750         (erfc_test_data): Likewise.
21751         (exp_test_data): Likewise.
21752         (exp10_test_data): Likewise.
21753         (exp2_test_data): Likewise.
21754         (expm1_test_data): Likewise.
21755         (fabs_test_data): Likewise.
21756         (floor_test_data): Likewise.
21757         (fma_test_data): Likewise.
21758         (fmax_test_data): Likewise.
21759         (fmin_test_data): Likewise.
21760         (fmod_test_data): Likewise.
21761         (fpclassify_test_data): Likewise.
21762         (frexp_test_data): Likewise.
21763         (hypot_test_data): Likewise.
21764         (ilogb_test_data): Likewise.
21765         (isgreater_test_data): Likewise.
21766         (isgreaterequal_test_data): Likewise.
21767         (isinf_test_data): Likewise.
21768         (isless_test_data): Likewise.
21769         (islessequal_test_data): Likewise.
21770         (islessgreater_test_data): Likewise.
21771         (isnan_test_data): Likewise.
21772         (isnormal_test_data): Likewise.
21773         (issignaling_test_data): Likewise.
21774         (isunordered_test_data): Likewise.
21775         (j0_test_data): Likewise.
21776         (j1_test_data): Likewise.
21777         (jn_test_data): Likewise.
21778         (lgamma_test_data): Likewise.
21779         (lrint_test_data): Likewise.
21780         (llrint_test_data): Likewise.
21781         (log_test_data): Likewise.
21782         (log10_test_data): Likewise.
21783         (log1p_test_data): Likewise.
21784         (log2_test_data): Likewise.
21785         (logb_test_data): Likewise.
21786         (lround_test_data): Likewise.
21787         (llround_test_data): Likewise.
21788         (modf_test_data): Likewise.
21789         (nearbyint_test_data): Likewise.
21790         (nextafter_test_data): Likewise.
21791         (nexttoward_test_data): Likewise.
21792         (pow_test_data): Likewise.
21793         (remainder_test_data): Likewise.
21794         (remquo_test_data): Likewise.
21795         (rint_test_data): Likewise.
21796         (round_test_data): Likewise.
21797         (signbit_test_data): Likewise.
21798         (sinh_test_data): Likewise.
21799         (sqrt_test_data): Likewise.
21800         (tanh_test_data): Likewise.
21801         (tgamma_test_data): Likewise.
21802         (trunc_test_data): Likewise.
21803         (y0_test_data): Likewise.
21804         (y1_test_data): Likewise.
21805         (yn_test_data): Likewise.
21806         (significand_test_data): Likewise.
21808 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21810         * manual/filesys.texi (Storage Allocation): Document that
21811         posix_fallocate emulation fails when fd is open with O_WRONLY.
21813 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21815         [BZ #19016]
21816         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21817         allow more cases with X^2 + Y^2 >= 0.5.
21818         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21819         normal element in sum instead of special-casing based on values of
21820         arguments.
21821         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21822         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21823         -1 as normal element in sum instead of special-casing based on
21824         values of arguments.
21825         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21826         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21827         (__x2y2m1): Update comment.
21828         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21829         as normal element in sum instead of special-casing based on values
21830         of arguments.
21831         * math/s_clog.c (__clog): Handle more cases using log1p without
21832         hypot.
21833         * math/s_clog10.c (__clog10): Likewise.
21834         * math/s_clog10f.c (__clog10f): Likewise.
21835         * math/s_clog10l.c (__clog10l): Likewise.
21836         * math/s_clogf.c (__clogf): Likewise.
21837         * math/s_clogl.c (__clogl): Likewise.
21838         * math/auto-libm-test-in: Add more tests of clog and clog10.
21839         * math/auto-libm-test-out: Regenerated.
21840         * sysdeps/i386/fpu/libm-test-ulps: Update.
21841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21843 2015-09-28  Martin Sebor  <msebor@redhat.com>
21845         [BZ #18969]
21846         * string/Makefile (LOCALES): Define.
21847         (gen-locales.mk): Include.
21848         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21849         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21850         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21851         on setlocale failure.
21853 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21855         [BZ #18985]
21856         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21857         (__strftime_internal): Likewise.
21858         * time/tst-strftime.c (do_bz18985): New test.
21859         (do_test): Call it.
21861 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21863         [BZ #18956]
21864         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21865         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21866         extracting high part.
21867         * math/auto-libm-test-in: Add another test of pow.
21868         * math/auto-libm-test-out: Regenerated.
21869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21871 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21873         [BZ #18825]
21874         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21875         New macro.
21876         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21877         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21878         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21879         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21880         DBL_NARROW_EVAL, reloading the PIC register as needed.
21881         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21882         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21883         FLT_NARROW_EVAL.  Use separate return path for case when first
21884         argument is NaN.
21885         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21886         DEFINE_LDBL_MIN.
21887         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21888         PIC register.
21889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21890         math_check_force_underflow_nonneg.
21891         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21892         underflow for subnormal result.
21893         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21894         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21895         math_check_force_underflow_nonneg.
21896         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21897         math_check_force_underflow.
21898         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21899         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21900         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21901         DEFINE_LDBL_MIN.
21902         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21903         * math/auto-libm-test-in: Add more tests of pow.
21904         * math/auto-libm-test-out: Regenerated.
21906 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21908         * nss/bug17079.c (init_test_items): Add diagnostic for
21909         inconsistent entries.
21910         (test_buffer_size): Skip inconsistent entries.
21912 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21914         [BZ #13304]
21915         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21916         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21917         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21919         [BZ #13304]
21920         * sysdeps/microblaze/s_fma.c: New file.
21921         * sysdeps/microblaze/s_fmaf.c: Likewise.
21922         * sysdeps/microblaze/sfp-machine.h: Likewise.
21924 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21926         [BZ #17250]
21927         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21928         member.
21930 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21932         [BZ #18803]
21933         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21934         (MO): New macro.
21935         (__ieee754_hypot) [PIC]: Load PIC register.
21936         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21937         DBL_NARROW_EVAL.
21938         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21939         math_check_force_underflow_nonneg in case where result might be
21940         tiny.
21941         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21942         Likewise.
21943         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21944         Likewise.
21945         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21946         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21947         * math/auto-libm-test-in: Add more tests of hypot.
21948         * math/auto-libm-test-out: Regenerated.
21950 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21952         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21954 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21956         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21957         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21958         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21959         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21960         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21961         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21962         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21964         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21965         LOAD_PIC_REG.
21967         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21968         (FLT_CHECK_FORCE_UFLOW): Likewise.
21969         (DBL_CHECK_FORCE_UFLOW): Likewise.
21970         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21971         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21972         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21973         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21974         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21975         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21976         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21977         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21978         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21979         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21980         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21981         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21982         (flt_min): Replace with use of DEFINE_FLT_MIN.
21983         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21984         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21985         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21986         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21987         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21988         (flt_min): Replace with use of DEFINE_FLT_MIN.
21989         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21990         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21991         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21992         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21993         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21994         (flt_min): Replace with use of DEFINE_FLT_MIN.
21995         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21996         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21997         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21998         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21999         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22000         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22001         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22002         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22003         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22004         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22005         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22006         (flt_min): Replace with use of DEFINE_FLT_MIN.
22007         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22008         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22009         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22010         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22011         main computation.
22012         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22013         (flt_min): Replace with use of DEFINE_FLT_MIN.
22014         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22015         main computation.
22016         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22017         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22018         (MO): New macro.
22019         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22020         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22021         (flt_min): Replace with use of DEFINE_FLT_MIN.
22022         (MO): New macro.
22023         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22024         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22025         (__log1pl): Use MO.
22027         [BZ #19003]
22028         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22029         $(config-cflags-nofma).
22031 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22033         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22035 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22037         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22038         (TWO127): Likewise.
22040         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22041         (min_of_type): Likewise.
22042         (math_check_force_underflow): Likewise.
22043         (math_check_force_underflow_nonneg): Likewise.
22044         (math_check_force_underflow_complex): Likewise.
22045         * math/e_exp2l.c (__ieee754_exp2l): Use
22046         math_check_force_underflow_nonneg.
22047         * math/k_casinh.c (__kernel_casinh): Likewise.
22048         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22049         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22050         * math/s_catan.c (__catan): Use
22051         math_check_force_underflow_complex.
22052         * math/s_catanf.c (__catanf): Likewise.
22053         * math/s_catanh.c (__catanh): Likewise.
22054         * math/s_catanhf.c (__catanhf): Likewise.
22055         * math/s_catanhl.c (__catanhl): Likewise.
22056         * math/s_catanl.c (__catanl): Likewise.
22057         * math/s_ccosh.c (__ccosh): Likewise.
22058         * math/s_ccoshf.c (__ccoshf): Likewise.
22059         * math/s_ccoshl.c (__ccoshl): Likewise.
22060         * math/s_cexp.c (__cexp): Likewise.
22061         * math/s_cexpf.c (__cexpf): Likewise.
22062         * math/s_cexpl.c (__cexpl): Likewise.
22063         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22064         * math/s_clog10.c (__clog10): Likewise.
22065         * math/s_clog10f.c (__clog10f): Likewise.
22066         * math/s_clog10l.c (__clog10l): Likewise.
22067         * math/s_clogf.c (__clogf): Likewise.
22068         * math/s_clogl.c (__clogl): Likewise.
22069         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22070         * math/s_csinf.c (__csinf): Likewise.
22071         * math/s_csinh.c (__csinh): Likewise.
22072         * math/s_csinhf.c (__csinhf): Likewise.
22073         * math/s_csinhl.c (__csinhl): Likewise.
22074         * math/s_csinl.c (__csinl): Likewise.
22075         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22076         * math/s_csqrtf.c (__csqrtf): Likewise.
22077         * math/s_csqrtl.c (__csqrtl): Likewise.
22078         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22079         * math/s_ctanf.c (__ctanf): Likewise.
22080         * math/s_ctanh.c (__ctanh): Likewise.
22081         * math/s_ctanhf.c (__ctanhf): Likewise.
22082         * math/s_ctanhl.c (__ctanhl): Likewise.
22083         * math/s_ctanl.c (__ctanl): Likewise.
22084         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22085         instead of volatile.
22086         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22087         math_check_force_underflow.
22088         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22089         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22090         volatile when forcing underflow.
22091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22092         math_check_force_underflow_nonneg.
22093         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22094         Likewise.
22095         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22096         math_check_force_underflow.
22097         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22098         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22099         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22100         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22101         math_check_force_underflow_nonneg.
22102         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22103         math_check_force_underflow.
22104         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22106         instead of volatile.
22107         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22108         math_check_force_underflow.
22109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22110         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22111         math_check_force_underflow_nonneg.
22112         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22113         math_check_force_underflow.
22114         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22115         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22116         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22117         math_check_force_underflow_nonneg.
22118         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22119         Likewise.
22120         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22121         math_check_force_underflow.
22122         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22123         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22124         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22125         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22126         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22127         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22128         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22129         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22130         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22131         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22132         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22133         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22134         Likewise.
22135         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22136         math_check_force_underflow_nonneg.
22137         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22138         Likewise.
22139         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22140         math_check_force_underflow.
22141         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22142         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22143         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22144         Likewise.
22145         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22146         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22147         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22148         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22149         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22150         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22151         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22152         instead of volatile.
22153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22154         math_check_force_underflow.
22155         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22156         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22157         math_check_force_underflow.
22158         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22159         Likewise.
22160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22161         Use math_check_force_underflow_nonneg.
22162         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22163         math_check_force_underflow.
22164         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22165         Likewise.
22166         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22167         Likewise.
22168         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22169         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22170         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22171         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22173         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22174         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22175         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22176         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22177         math_check_force_underflow_nonneg.
22178         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22179         math_check_force_underflow.
22180         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22181         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22182         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22183         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22184         math_check_force_underflow_nonneg.
22185         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22186         math_check_force_underflow.
22187         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22189         instead of volatile.
22190         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22191         math_check_force_underflow.
22193         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22194         * stdlib/strtod_l.c: Include <math_private.h>.
22195         (overflow_value): Use math_narrow_eval.
22196         (underflow_value): Likewise.
22197         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22198         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22199         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22200         (__ieee754_gamma_r): Likewise.
22201         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22202         Likewise.
22203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22204         Likewise.
22205         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22206         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22207         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22208         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22209         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22210         (__ieee754_gammaf_r): Likewise.
22211         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22212         Likewise.
22213         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22214         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22215         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22216         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22217         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22218         volatile.
22219         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22220         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22221         math_narrow_eval.
22222         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22223         Likewise.
22224         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22225         Likewise.
22226         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22227         Likewise.
22228         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22229         volatile.
22230         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22231         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22232         math_narrow_eval.
22233         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22234         Likewise.
22235         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22236         Likewise.
22238 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22240         * nptl/Versions: Remove ignored symbols.
22242 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22244         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22245         * nss/Makefile (tests): Update.
22247 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22249         * nss/bug18287.c: New file.
22250         * nss/Makefile (tests): Add bug18287.
22252 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22254         * mach/Versions (__mach_host_self_): Add symbol.
22256 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22258         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22259         vm_page_size.
22261 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22263         Really fix sysdeps/i386/fpu/s_scalbn.S build
22265         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22266         (libc: GLIBC_2_22): Remove unused version set.
22268 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22270         * config.make.in (enable-timezone-tools): New variable.
22271         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22272         (enable_timezone_tools): Export to generated files.
22273         * configure: Regenerate.
22274         * INSTALL: Regenerate.
22275         * manual/install.texi (--disable-timezone-tools): Document new flag.
22276         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22277         ifeq ($(enable-timezone-tools),yes) check.
22279 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22281         * timezone/Makefile: Revert previous change.
22283         [BZ #18980]
22284         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22285         (DEFINE_DBL_MIN): Likewise.
22286         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22287         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22288         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22289         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22290         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22291         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22292         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22293         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22294         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22295         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22296         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22297         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22298         (flt_min): Replace with use of DEFINE_FLT_MIN.
22299         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22300         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22301         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22302         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22303         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22304         (flt_min): Replace with use of DEFINE_FLT_MIN.
22305         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22306         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22307         (flt_min): Replace with use of DEFINE_FLT_MIN.
22308         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22309         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22310         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22311         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22312         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22313         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22314         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22315         (__ieee754_pow): Use DBL_NARROW_EVAL.
22316         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22317         (__ieee754_powf): Use FLT_NARROW_EVAL.
22318         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22319         (__ieee754_expf_sse2): Convert double-precision result to single
22320         precision.
22321         * sysdeps/i386/fpu/libm-test-ulps: Update.
22323 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22325         * timezone/Makefile: Ignore unused variable errors due to private.h
22326         (time_t_min) and (time_t_max).
22327         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22328         Likewise.
22330 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22332         [BZ #18981]
22333         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22334         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22335         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22336         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22337         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22338         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22339         (__scalbn): Use DBL_NARROW_EVAL.
22340         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22341         (__scalbnf): Use FLT_NARROW_EVAL.
22343 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22345         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22346         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22347         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22348         * stdio-common/printf_fp.c (___printf_fp):
22349         Use signbit to get the sign. Use isinf macro to allow inlining.
22350         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22351         * stdio-common/printf_size.c (__printf_size): Likewise.
22353 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22355         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22357 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22359         [BZ #18980]
22360         * sysdeps/generic/math_private.h: Include <float.h>.
22361         (math_narrow_eval): New macro.
22362         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22363         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22364         math_narrow_eval on overflowing return value.
22365         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22366         Likewise.
22367         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22368         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22369         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22370         Likewise.
22371         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22373 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22375         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22376         * math/Makefile: Remove isinf_ns.c.
22377         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22378         * math/multc3.c (__multc3): Likewise.
22379         * math/s_casin.c (__casin): Likewise.
22380         * math/s_casinf.c (__casinf): Likewise.
22381         * math/s_casinl.c (__casinl): Likewise.
22382         * math/s_cproj.c (__cproj): Likewise.
22383         * math/s_cprojf.c (__cprojf): Likewise.
22384         * math/s_cprojl.c (__cprofl): Likewise.
22385         * math/s_ctan.c (__ctan): Likewise.
22386         * math/s_ctanf.c (__ctanf): Likewise.
22387         * math/s_ctanh.c (__ctanh): Likewise.
22388         * math/s_ctanhf.c (__ctanhf): Likewise.
22389         * math/s_ctanhl.c (__ctanhl): Likewise.
22390         * math/s_ctanl.c (__ctanl): Likewise.
22391         * math/w_fmod.c (__fmod): Likewise.
22392         * math/w_fmodf.c (__fmodf): Likewise.
22393         * math/w_fmodl.c (_fmodl): Likewise.
22394         * math/w_remainder.c (__remainder): Likewise.
22395         * math/w_remainderf.c (__remainderf): Likewise.
22396         * math/w_remainderl.c (__remainderl): Likewise.
22397         * math/w_scalb.c (__scalb): Likewise.
22398         * math/w_scalbf.c (__scalbf): Likewise.
22399         * math/w_scalbl.c (__scalbl): Likewise.
22400         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22401         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22402         with isinf.
22403         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22405         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22406         __isinf_nsf with isinf.
22407         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22408         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22409         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22410         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22411         with isinf.
22412         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22413         __isinf_nsl with isinf.
22414         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22415         with isinf.
22416         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22417         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22418         __isinf_nsl with isinf.
22419         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22420         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22421         with isinf.
22423 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22425         * resolv/base64.c (rcsid): Remove unused static.
22426         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22427         static.  (tqpi1): Likewise.
22428         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22429         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22430         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22431         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22433         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22434         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22435         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22436         Likewise.
22438 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22440         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22441         <nptl/pthreadP.h>.
22442         (_longjmp_unwind): Use __libc_ptf_call.
22443         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22445 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22447         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22448         * sysdeps/arm/__longjmp.S: Likewise.
22450 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22452         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22453         Use __builtin_signbit.
22454         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22455         Use __builtin_signbitf.
22456         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22457         Use __builtin_signbitl.
22458         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22459         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22461 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22463         [BZ #15367]
22464         [BZ #17441]
22466         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22467         * math/math.h (fpclassify): Use __builtin_fpclassify when
22468         available.  (signbit): Use __builtin_signbit(f/l).
22469         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22470         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22471         (isinf): Use __builtin_isinf_sign.
22473 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22475         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22476         * benchtests/bench-math-inlines.c: New benchmark.
22477         * benchtests/bench-util.h: New file.
22478         * benchtests/bench-util.c: New file.
22479         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22481 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22483         * elf/tst-dlmopen1.c: Define TEST_SO.
22484         (do_test): Use TEST_SO.
22486         * elf/dl-load.c: Include libc-internal.h.
22487         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22489 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22491         [BZ #17887]
22492         * time/strptime_l.c (__strptime_internal): Make %z accept
22493         [+-]HH:MM time zones.
22495 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22497         [BZ #17886]
22498         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22499         valid time zone.
22501 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22503         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22504         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22505         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22506         (__ASSUME_FDATASYNC): Delete.
22508 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22510         * conform/linknamespace.pl: Require weak undefined symbols to be
22511         in the standard namespace.
22512         (%strong_syms): Rename to %seen_syms.
22513         (%strong_seen): Rename to %seen_where.
22515 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22517         [BZ #18970]
22518         * misc/error.c (error): Replace pthread_setcancelstate with
22519         __pthread_setcancelstate.
22520         (error_at_line): Likewise.
22521         * posix/wordexp.c (parse_comm): Likewise.
22522         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22523         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22524         (__pthread_setcancelstate): This.
22525         (pthread_setcancelstate): Add an alias.
22526         * nptl/nptl-init.c (pthread_functions): Replace
22527         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22528         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22529         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22530         hidden_proto.
22531         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22532         it with hidden_def.
22533         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22534         (pthread_setcancelstate): Renamed to ...
22535         (__pthread_setcancelstate): This.
22536         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22537         __libc_ptf_call with __pthread_setcancelstate.
22539 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22540             Andreas Schwab  <schwab@suse.de>
22542         [BZ #17118]
22543         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22544         result when imaginary part of argument is infinite using sine and
22545         cosine.
22546         * math/s_ctanf.c (__ctanf): Likewise.
22547         * math/s_ctanl.c (__ctanl): Likewise.
22548         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22549         of result when real part of argument is infinite using sine and
22550         cosine.
22551         * math/s_ctanhf.c (__ctanhf): Likewise.
22552         * math/s_ctanhl.c (__ctanhl): Likewise.
22553         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22554         (ctanh_test_data): Add more tests of ctanh.
22556 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22558         [BZ #15384]
22559         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22560         bit-mask as in subtraction.
22561         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22562         Likewise.
22563         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22564         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22565         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22567         [BZ #18951]
22568         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22569         underflow exception for small results.
22570         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22571         Likewise.
22572         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22573         Likewise.
22574         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22575         Likewise.
22576         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22577         Likewise.
22578         * math/auto-libm-test-in: Add more tests of tgamma.
22579         * math/auto-libm-test-out: Regenerated.
22581 2015-09-17  Andreas Schwab  <schwab@suse.de>
22583         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22585 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22587         [BZ #18977]
22588         * math/bits/mathcalls.h
22589         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22590         not declare.
22591         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22592         Likewise.
22593         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22594         Likewise.
22595         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22596         Likewise.
22597         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22598         Likewise.
22599         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22600         Likewise.
22601         * conform/data/math.h-data
22602         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22603         function.
22604         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22605         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22606         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22607         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22608         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22609         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22610         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22611         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22612         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22613         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22614         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22616         [BZ #6803]
22617         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22618         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22619         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22620         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22621         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22622         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22623         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22624         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22625         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22627         Likewise.
22628         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22629         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22630         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22631         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22632         long_double_symbol calls.
22633         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22634         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22635         strong alias of __ldexpl.
22636         (scalbnl): Define using long_double_symbol.
22637         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22638         Remove alias.
22639         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22640         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22641         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22642         (scalbln_test_data): Add more errno expectations.
22644 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22646         Cache the host port like we cache the task port.  This way we do not
22647         need to call the kernel just to get the port.  Furthermore, we no
22648         longer increase the reference count on every invocation of
22649         `mach_host_self'.
22651         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22652         Protect declarations against the macro expansion.
22653         * mach/mach_init.c (__mach_host_self_): New variable.
22654         (mach_init): Initialize `__mach_host_self_'.
22655         * mach/mach_init.h (__mach_host_self_): New declaration.
22656         (__mach_host_self, mach_host_self): New macros.
22657         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22658         Release reference.
22660 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22662         [BZ #4404]
22663         * po/de.po: Update from Translation Project.
22665         [BZ #16415]
22666         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22667         (__expm1l): Remove code to handle positive infinity and overflow.
22668         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22669         variable.
22670         (__expm1l): Remove code to handle positive infinity and overflow.
22672 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22673             Paul Pluzhnikov  <ppluzhnikov@google.com>
22675         [BZ #18872]
22676         * stdio-common/Makefile (tst-printf-bz18872): New test.
22677         (tst-printf-bz18872-mem.out): Likewise.
22678         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22679         * stdio-common/vfprintf.c: Fix memory leaks.
22681 2015-09-16  Andreas Schwab  <schwab@suse.de>
22683         [BZ #17244]
22684         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22685         Remove extra va_start/va_end calls.
22687         [BZ #17243]
22688         * posix/execl.c (execl): Add missing va_end.
22689         * posix/execle.c (execle): Likewise.
22690         * posix/execlp.c (execlp): Likewise.
22692 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22694         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22695         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22697 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22699         [BZ #18967]
22700         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22701         undefine around includes of <bits/mathcalls.h>.
22702         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22703         not declare function.
22704         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22705         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22706         (scalb): Likewise.
22707         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22708         not define macro.
22709         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22710         variable.
22711         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22712         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22713         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22715         [BZ #18857]
22716         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22717         return non-finite argument without doing ordered comparisons on
22718         it.
22720         [BZ #16296]
22721         * math/fenv.h (fegetround): Use __attribute_pure__.
22722         * include/fenv.h (__fegetround): Likewise.
22724         [BZ #18595]
22725         * math/s_ctan.c (__ctan): Force underflow exception for results
22726         whose real or imaginary part has small absolute value.
22727         * math/s_ctanf.c (__ctanf): Likewise.
22728         * math/s_ctanh.c (__ctanh): Likewise.
22729         * math/s_ctanhf.c (__ctanhf): Likewise.
22730         * math/s_ctanhl.c (__ctanhl): Likewise.
22731         * math/s_ctanl.c (__ctanl): Likewise.
22732         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22733         and ctanh.  Add more tests of ctan and ctanh.
22735         [BZ #15918]
22736         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22737         handling of cases where one argument is an infinity.
22739         [BZ #18875]
22740         [BZ #18966]
22741         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22742         (MO): New macro.
22743         (__ieee754_exp10): For small results, force underflow exception
22744         and remove excess range and precision from return value.
22745         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22746         (MO): New macro.
22747         (__ieee754_exp10f): For small results, force underflow exception
22748         and remove excess range and precision from return value.
22749         * math/auto-libm-test-in: Add more tests of exp10.
22750         * math/auto-libm-test-out: Regenerated.
22752 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22754         [BZ #18875]
22755         [BZ #18961]
22756         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22757         (MO): New macro.
22758         (__ieee754_exp): For small results, force underflow exception and
22759         remove excess range and precision from return value.
22760         (__exp_finite): Likewise.
22761         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22762         (MO): New macro.
22763         (__ieee754_expf): For small results, force underflow exception and
22764         remove excess range and precision from return value.
22765         (__expf_finite): Likewise.
22766         * math/auto-libm-test-in: Add more tests of exp.
22767         * math/auto-libm-test-out: Regenerated.
22769         [BZ #16521]
22770         [BZ #18875]
22771         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22772         small results.
22773         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22774         (MO): New macro.
22775         (__ieee754_exp2): For small results, force underflow exception and
22776         remove excess range and precision from return value.
22777         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22778         (MO): New macro.
22779         (__ieee754_exp2f): For small results, force underflow exception
22780         and remove excess range and precision from return value.
22781         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22782         (MO): New macro.
22783         (__ieee754_exp2l): Force underflow exception for small results.
22784         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22785         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22786         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22787         (MO): New macro.
22788         (__ieee754_exp2l): Force underflow exception for small results.
22789         * math/auto-libm-test-in: Add more tests or exp2.
22790         * math/auto-libm-test-out: Regenerated.
22792 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22794         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22796         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22797         /dev/null.
22799 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22801         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22802         io fs process)): Drop spurious backslash.
22804 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22806         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22807         Use sysinfo system call instead of parsing /proc/meminfo.
22808         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22809         Likewise.
22811 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22813         [BZ #16985]
22814         * programs/localedef.c (main): Display argv[remaining] when
22815         output_path is NULL.
22817 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22819         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22820         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22821         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22822         tanh.
22823         * math/auto-libm-test-out: Regenerated.
22824         * sysdeps/i386/fpu/libm-test-ulps: Update.
22825         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22829 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22831         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22832         Use 'override' keyword to freeze the value here, preventing
22833         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22835 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22837         [BZ #14912]
22838         * sysdeps/aarch64/bits/atomic.h: Move to ...
22839         * sysdeps/aarch64/atomic-machine.h: ...here.
22840         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22841         _AARCH64_ATOMIC_MACHINE_H.
22842         * sysdeps/alpha/bits/atomic.h: Move to ...
22843         * sysdeps/alpha/atomic-machine.h: ...here.
22844         * sysdeps/arm/bits/atomic.h: Move to ...
22845         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22846         * bits/atomic.h: Move to ...
22847         * sysdeps/generic/atomic-machine.h: ...here.
22848         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22849         * sysdeps/i386/bits/atomic.h: Move to ...
22850         * sysdeps/i386/atomic-machine.h: ...here.
22851         * sysdeps/ia64/bits/atomic.h: Move to ...
22852         * sysdeps/ia64/atomic-machine.h: ...here.
22853         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22854         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22855         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22856         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22857         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22858         * sysdeps/microblaze/bits/atomic.h: Move to ...
22859         * sysdeps/microblaze/atomic-machine.h: ...here.
22860         * sysdeps/mips/bits/atomic.h: Move to ...
22861         * sysdeps/mips/atomic-machine.h: ...here.
22862         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22863         * sysdeps/powerpc/bits/atomic.h: Move to ...
22864         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22866         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22867         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22868         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22869         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22870         <atomic-machine.h> instead of <bits/atomic.h>.
22871         * sysdeps/s390/bits/atomic.h: Move to ...
22872         * sysdeps/s390/atomic-machine.h: ...here.
22873         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22874         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22875         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22876         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22877         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22878         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22879         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22880         * sysdeps/tile/bits/atomic.h: Move to ...
22881         * sysdeps/tile/atomic-machine.h: ...here.
22882         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22883         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22884         <sysdeps/tile/atomic-machine.h> instead of
22885         <sysdeps/tile/bits/atomic.h>.
22886         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22887         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22888         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22889         <sysdeps/tile/atomic-machine.h> instead of
22890         <sysdeps/tile/bits/atomic.h>.
22891         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22892         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22893         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22894         <sysdeps/arm/atomic-machine.h> instead of
22895         <sysdeps/arm/bits/atomic.h>.
22896         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22897         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22898         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22899         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22900         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22901         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22902         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22903         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22904         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22905         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22906         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22907         * sysdeps/x86_64/bits/atomic.h: Move to ...
22908         * sysdeps/x86_64/atomic-machine.h: ...here.
22909         * include/atomic.h: Include <atomic-machine.h> instead of
22910         <bits/atomic.h>.
22912         * sysdeps/mips/mips32/libm-test-ulps: Update.
22913         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22915         [BZ #18952]
22916         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22917         not convert non-integer negative arguments to int to determine the
22918         value of signgam.
22919         * math/auto-libm-test-in: Add more tests of lgamma.
22920         * math/auto-libm-test-out: Regenerated.
22922         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22923         cosh, csqrt, erfc, expm1 and lgamma.
22924         * math/auto-libm-test-out: Regenerated.
22925         * sysdeps/i386/fpu/libm-test-ulps: Update.
22926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22928 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #2542]
22931         [BZ #2543]
22932         [BZ #2558]
22933         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22934         __lgamma_neg for arguments from -28.0 to -2.0.
22935         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22936         __lgamma_negf for arguments from -15.0 to -2.0.
22937         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22938         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22939         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22940         Call __lgamma_negl for arguments from -33.0 to -2.0.
22941         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22942         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22943         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22944         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22945         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22946         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22947         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22948         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22949         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22950         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22951         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22952         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22953         (__lgamma_neg): Likewise.
22954         (__lgamma_negl): Likewise.
22955         (__lgamma_product): Likewise.
22956         (__lgamma_productl): Likewise.
22957         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22958         * math/auto-libm-test-in: Add more tests of lgamma.
22959         * math/auto-libm-test-out: Regenerated.
22960         * sysdeps/i386/fpu/libm-test-ulps: Update.
22961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22963 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22965         [BZ #18675]
22966         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22968 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22970         [BZ #14912]
22971         * bits/libc-lock.h: Move to ...
22972         * sysdeps/generic/libc-lock.h: ...here.
22973         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22974         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22975         * sysdeps/mach/hurd/libc-lock.h: ...here.
22976         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22977         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22978         * sysdeps/mach/bits/libc-lock.h: Move to ...
22979         * sysdeps/mach/libc-lock.h: ...here.
22980         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22981         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22982         * sysdeps/nptl/libc-lock.h: ...here.
22983         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22984         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22985         * sysdeps/nptl/libc-lockP.h: ...here.
22986         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22987         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22988         <bits/libc-lock.h>.
22989         * dirent/scandir-tail.c: Likewise.
22990         * dlfcn/dlerror.c: Likewise.
22991         * elf/dl-close.c: Likewise.
22992         * elf/dl-iteratephdr.c: Likewise.
22993         * elf/dl-lookup.c: Likewise.
22994         * elf/dl-open.c: Likewise.
22995         * elf/dl-support.c: Likewise.
22996         * elf/dl-writev.h: Likewise.
22997         * elf/rtld.c: Likewise.
22998         * grp/fgetgrent.c: Likewise.
22999         * gshadow/fgetsgent.c: Likewise.
23000         * gshadow/sgetsgent.c: Likewise.
23001         * iconv/gconv_conf.c: Likewise.
23002         * iconv/gconv_db.c: Likewise.
23003         * iconv/gconv_dl.c: Likewise.
23004         * iconv/gconv_int.h: Likewise.
23005         * iconv/gconv_trans.c: Likewise.
23006         * include/link.h: Likewise.
23007         * inet/getnameinfo.c: Likewise.
23008         * inet/getnetgrent.c: Likewise.
23009         * inet/getnetgrent_r.c: Likewise.
23010         * intl/bindtextdom.c: Likewise.
23011         * intl/dcigettext.c: Likewise.
23012         * intl/finddomain.c: Likewise.
23013         * intl/gettextP.h: Likewise.
23014         * intl/loadmsgcat.c: Likewise.
23015         * intl/localealias.c: Likewise.
23016         * intl/textdomain.c: Likewise.
23017         * libidn/idn-stub.c: Likewise.
23018         * libio/libioP.h: Likewise.
23019         * locale/duplocale.c: Likewise.
23020         * locale/freelocale.c: Likewise.
23021         * locale/newlocale.c: Likewise.
23022         * locale/setlocale.c: Likewise.
23023         * login/getutent_r.c: Likewise.
23024         * login/getutid_r.c: Likewise.
23025         * login/getutline_r.c: Likewise.
23026         * login/utmp-private.h: Likewise.
23027         * login/utmpname.c: Likewise.
23028         * malloc/mtrace.c: Likewise.
23029         * misc/efgcvt.c: Likewise.
23030         * misc/error.c: Likewise.
23031         * misc/fstab.c: Likewise.
23032         * misc/getpass.c: Likewise.
23033         * misc/mntent.c: Likewise.
23034         * misc/syslog.c: Likewise.
23035         * nis/nis_call.c: Likewise.
23036         * nis/nis_callback.c: Likewise.
23037         * nis/nss-default.c: Likewise.
23038         * nis/nss_compat/compat-grp.c: Likewise.
23039         * nis/nss_compat/compat-initgroups.c: Likewise.
23040         * nis/nss_compat/compat-pwd.c: Likewise.
23041         * nis/nss_compat/compat-spwd.c: Likewise.
23042         * nis/nss_nis/nis-alias.c: Likewise.
23043         * nis/nss_nis/nis-ethers.c: Likewise.
23044         * nis/nss_nis/nis-grp.c: Likewise.
23045         * nis/nss_nis/nis-hosts.c: Likewise.
23046         * nis/nss_nis/nis-network.c: Likewise.
23047         * nis/nss_nis/nis-proto.c: Likewise.
23048         * nis/nss_nis/nis-pwd.c: Likewise.
23049         * nis/nss_nis/nis-rpc.c: Likewise.
23050         * nis/nss_nis/nis-service.c: Likewise.
23051         * nis/nss_nis/nis-spwd.c: Likewise.
23052         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23053         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23054         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23055         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23056         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23057         * nis/nss_nisplus/nisplus-network.c: Likewise.
23058         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23059         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23060         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23061         * nis/nss_nisplus/nisplus-service.c: Likewise.
23062         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23063         * nis/ypclnt.c: Likewise.
23064         * nptl/libc_pthread_init.c: Likewise.
23065         * nss/getXXbyYY.c: Likewise.
23066         * nss/getXXent.c: Likewise.
23067         * nss/getXXent_r.c: Likewise.
23068         * nss/nss_db/db-XXX.c: Likewise.
23069         * nss/nss_db/db-netgrp.c: Likewise.
23070         * nss/nss_db/nss_db.h: Likewise.
23071         * nss/nss_files/files-XXX.c: Likewise.
23072         * nss/nss_files/files-alias.c: Likewise.
23073         * nss/nsswitch.c: Likewise.
23074         * posix/regex_internal.h: Likewise.
23075         * posix/wordexp.c: Likewise.
23076         * pwd/fgetpwent.c: Likewise.
23077         * resolv/res_hconf.c: Likewise.
23078         * resolv/res_libc.c: Likewise.
23079         * shadow/fgetspent.c: Likewise.
23080         * shadow/lckpwdf.c: Likewise.
23081         * shadow/sgetspent.c: Likewise.
23082         * socket/opensock.c: Likewise.
23083         * stdio-common/reg-modifier.c: Likewise.
23084         * stdio-common/reg-printf.c: Likewise.
23085         * stdio-common/reg-type.c: Likewise.
23086         * stdio-common/vfprintf.c: Likewise.
23087         * stdio-common/vfscanf.c: Likewise.
23088         * stdlib/abort.c: Likewise.
23089         * stdlib/cxa_atexit.c: Likewise.
23090         * stdlib/fmtmsg.c: Likewise.
23091         * stdlib/random.c: Likewise.
23092         * stdlib/setenv.c: Likewise.
23093         * string/strsignal.c: Likewise.
23094         * sunrpc/auth_none.c: Likewise.
23095         * sunrpc/bindrsvprt.c: Likewise.
23096         * sunrpc/create_xid.c: Likewise.
23097         * sunrpc/key_call.c: Likewise.
23098         * sunrpc/rpc_thread.c: Likewise.
23099         * sysdeps/arm/backtrace.c: Likewise.
23100         * sysdeps/generic/ldsodefs.h: Likewise.
23101         * sysdeps/generic/stdio-lock.h: Likewise.
23102         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23103         * sysdeps/i386/backtrace.c: Likewise.
23104         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23105         * sysdeps/m68k/backtrace.c: Likewise.
23106         * sysdeps/mach/hurd/cthreads.c: Likewise.
23107         * sysdeps/mach/hurd/dirstream.h: Likewise.
23108         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23109         * sysdeps/nptl/malloc-machine.h: Likewise.
23110         * sysdeps/nptl/stdio-lock.h: Likewise.
23111         * sysdeps/posix/dirstream.h: Likewise.
23112         * sysdeps/posix/getaddrinfo.c: Likewise.
23113         * sysdeps/posix/system.c: Likewise.
23114         * sysdeps/pthread/aio_suspend.c: Likewise.
23115         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23116         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23117         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23118         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23119         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23120         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23121         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23122         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23123         * sysdeps/unix/sysv/linux/system.c: Likewise.
23124         * sysdeps/x86_64/backtrace.c: Likewise.
23125         * time/alt_digit.c: Likewise.
23126         * time/era.c: Likewise.
23127         * time/tzset.c: Likewise.
23128         * wcsmbs/wcsmbsload.c: Likewise.
23129         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23130         instead of <bits/libc-lock.h> in comment.
23132 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23134         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23135         Only use .set mips2 if the current ISA is below mips2.
23136         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23137         Likewise.
23138         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23139         mips32r2 if the current ISA is below mips32r2.
23140         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23141         (TLS_IE): Updated to use the TLD_RDHWR macro.
23142         (TLS_LE): Likewise.
23143         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23144         __ASSEMBLER__ condition.
23146 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23148         Fix parallel build of before-compile targets.
23150         * sysdeps/mach/Makefile ($(patsubst
23151         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23152         mach-before-compile target.
23153         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23154         io fs process)): Move rule to dedicated hurd-before-compile target.
23156 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23158         Fix rules generating headers in hurd/ and mach/ when initial make call
23159         has subdir= explicitly set.
23161         * sysdeps/mach/Makefile ($(patsubst
23162         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23163         calling $(MAKE).
23164         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23165         io fs process)): Force subdir to hurd when calling $(MAKE).
23166         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23167         subdir to mach when calling $(MAKE).
23169 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23171         Check sysheaders when looking for Mach and Hurd headers
23173         * sysdeps/mach/configure.ac: Add sysheaders check.
23174         * sysdeps/mach/configure: Regenerate.
23175         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23176         * sysdeps/mach/hurd/configure: Regenerate.
23178 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23180         [BZ #18921]
23181         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23182         Fix inverted sense of test of 'o_directory_works' value.
23183         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23184         Bernhard Voelker <mail@bernhard-voelker.de>.
23186 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23188         [BZ #14912]
23189         * bits/linkmap.h: Move to ...
23190         * sysdeps/generic/linkmap.h: ...here.
23191         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23192         * sysdeps/aarch64/linkmap.h: ...here.
23193         * sysdeps/arm/bits/linkmap.h: Move to ...
23194         * sysdeps/arm/linkmap.h: ...here.
23195         * sysdeps/hppa/bits/linkmap.h: Move to ...
23196         * sysdeps/hppa/linkmap.h: ...here.
23197         * sysdeps/ia64/bits/linkmap.h: Move to ...
23198         * sysdeps/ia64/linkmap.h: ...here.
23199         * sysdeps/mips/bits/linkmap.h: Move to ...
23200         * sysdeps/mips/linkmap.h: ...here.
23201         * sysdeps/s390/bits/linkmap.h: Move to ...
23202         * sysdeps/s390/linkmap.h: ...here.
23203         * sysdeps/sh/bits/linkmap.h: Move to ...
23204         * sysdeps/sh/linkmap.h: ...here.
23205         * sysdeps/x86/bits/linkmap.h: Move to ...
23206         * sysdeps/x86/linkmap.h: ...here.
23207         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23209 2015-09-04  Andreas Schwab  <schwab@suse.de>
23211         [BZ #18635]
23212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23213         (__makecontext): Terminate FDE before return label.
23214         (__novec_makecontext): Likewise.
23216 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23218         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23219         first member of struct sv in syscall macro.
23221 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23223         [BZ #14912]
23224         * bits/stdio-lock.h: Move to ...
23225         * sysdeps/generic/stdio-lock.h: ...here.
23226         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23227         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23228         * sysdeps/nptl/stdio-lock.h: ...here.
23229         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23230         * include/libio.h: Include <stdio-lock.h> instead of
23231         <bits/stdio-lock.h>.
23232         * sysdeps/nptl/fork.c: Likewise.
23233         * sysdeps/pthread/flockfile.c: Likewise.
23234         * sysdeps/pthread/ftrylockfile.c: Likewise.
23235         * sysdeps/pthread/funlockfile.c: Likewise.
23237         [BZ #14912]
23238         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23239         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23240         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23241         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23242         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23243         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23244         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23246 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23248         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23249         (test-xfail-tst-protected1b): New variable.
23251 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #14912]
23254         * bits/libc-tsd.h: Move to ...
23255         * sysdeps/generic/libc-tsd.h: ...here.
23256         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23257         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23258         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23259         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23260         * include/ctype.h: Include <libc-tsd.h> instead of
23261         <bits/libc-tsd.h>.
23262         * include/rpc/rpc.h: Likewise.
23263         * locale/localeinfo.h: Likewise.
23264         * sunrpc/rpc_thread.c: Likewise.
23265         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23266         * sysdeps/nptl/malloc-machine.h: Likewise.
23268         * Makefile (headers): Remove bits/libc-lock.h.
23269         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23271         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23272         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23273         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23274         <bits/stdio-lock.h>.
23275         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23276         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23278 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23280         [BZ #18757]
23281         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23282         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23283         BZ #18757.
23285 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23287         * malloc/mtrace.pl: Filter out NULL entries.
23289 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23291         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23292         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23293         macro.
23295         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23296         (TCP_CC_INFO): Likewise.
23297         (TCP_SAVE_SYN): Likewise.
23298         (TCP_SAVED_SYN): Likewise.
23300 2015-08-31  Brett Neumeier <brett@neumeier.us>
23302         [BZ #18870]
23303         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23305 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23307         [BZ #18873]
23308         Fix broken overflow check in posix_fallocate
23309         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23310         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23311         Fix parenthesization typo.
23313 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23315         [BZ #18887]
23316         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23317         tst-mntent-blank-passno.
23318         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23319         * misc/tst-mntent-blank-corrupt.c: New test.
23320         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23321         * misc/tst-mntent.c (do_test): ... here.
23323 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23325         [BZ #4404]
23326         * po/de.po: Fix SIGALRM typo.
23328 2015-08-28  James Perkins  <james@loowit.net>
23330         * time/tst-strptime2.c (tests): Replace short list of test
23331         strings for strptime %z specifier with code which exhaustively
23332         tests every combination of sign and 0 to 5 digits. Tests for
23333         rejection of invalid strings.
23335 2015-08-28  James Perkins  <james@loowit.net>
23337         [BZ #16141]
23338         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23339         calculation, removing incorrect decimal time rounding, so that
23340         all minute values result in a valid seconds value.
23341         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23342         offset range limits to UTC-99:59 through UTC+99:59 to parse
23343         current and historical use cases.
23344         * time/tst-strptime2.c (tests): Modify and add tests for the
23345         strptime %z input field descriptor, specifically conversion of
23346         minutes to seconds and validating an offset range of -9959 to
23347         +9959.
23349 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23350             Dmitry V. Levin  <ldv@altlinux.org>
23352         [BZ #18877]
23353         * posix/Makefile (tests): Add tst-mmap-offset.
23354         * posix/tst-mmap.c: New file.
23355         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23356         offset calculation for negative values.
23358 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23360         * sysdeps/i386/init-arch.h: New file.
23361         * sysdeps/i386/i586/init-arch.h: Likewise.
23362         * sysdeps/i386/i686/init-arch.h: Likewise.
23363         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23364         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23365         * sysdeps/x86/cpu-features.h (bit_I586): New.
23366         (bit_I686): Likewise.
23367         (bit_CX8): Likewise.
23368         (bit_CMOV): Likewise.
23369         (index_CX8): Likewise.
23370         (index_CMOV): Likewise.
23371         (index_I586): Likewise.
23372         (index_I686): Likewise.
23373         (reg_CX8): Likewise.
23374         (reg_CMOV): Likewise.
23375         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23376         available at compile-time.
23377         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23378         available at compile-time.
23379         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23380         (USE_I686): Likewise.
23382 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23384         * sysdeps/i386/bcopy.S: New file.
23385         * sysdeps/i386/bzero.S: Likewise.
23386         * sysdeps/i386/memcpy.S: Likewise.
23387         * sysdeps/i386/memmove.S: Likewise.
23388         * sysdeps/i386/mempcpy.S: Likewise.
23389         * sysdeps/i386/memset.S: Likewise.
23390         * sysdeps/i386/bzero.c: Removed.
23391         * sysdeps/i386/memset.c: Likewise.
23392         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23393         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23394         * sysdeps/i386/i586/memset_chk.S: Likewise.
23395         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23396         * sysdeps/i386/memcpy_chk.S: Here.
23397         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23398         * sysdeps/i386/memmove_chk.S: Here.
23399         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23400         * sysdeps/i386/mempcpy_chk.S: Likewise.
23401         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23402         * sysdeps/i386/memset_chk.S: Likewise.
23404 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23406         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23407         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23408         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23409         * soft-fp/fmadf4.c: Ditto.
23410         * soft-fp/fmatf4.c: Ditto.
23412 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23414         * sysdeps/i386/i586/Implies: Removed.
23415         * sysdeps/i386/i686/Implies: Likewise.
23417 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23419         * sysdeps/i386/i486/strlen.S: Moved to ...
23420         * sysdeps/i386/strlen.S: Here.
23422 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23424         * sysdeps/i386/i486/strcat.S: Moved to ...
23425         * sysdeps/i386/strcat.S: Here.
23427 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23429         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23430         * sysdeps/i386/pthread_spin_trylock.S: Here.
23431         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23432         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23434 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23436         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23437         * sysdeps/i386/string-inlines.c: Here.
23439 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23441         * sysdeps/i386/i486/htonl.S: Moved ...
23442         * sysdeps/i386/htonl.S: here.
23444 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23446         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23447         * sysdeps/i386/bits/atomic.h: Here.
23449 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23451         * sysdeps/i386/i486/Versions: Removed.
23453 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23455         [BZ #2898]
23456         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23457         Based on patch by Aurelien Jarno.
23459 2015-08-26  Stan Shebs  <stanshebs@google.com>
23461         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23462         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23464 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23466         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23467         * sysdeps/powerpc/dl-procinfo.c:
23468         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23469         feature so it shows when LD_SHOW_AUXV=1.
23471 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23473         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23474         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23475         definition.  ISA 2.07B no longer requires full sync.
23477 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23479         [BZ #18863]
23480         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23481         (si_call_addr): Define.
23482         (si_syscall): Define.
23483         (si_arch): Define.
23485 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23487         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23488         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23489         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23490         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23491         (__memset_zero_constant_len_parameter): New.
23492         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23493         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23494         (__memset_zero_constant_len_parameter): Don't define if
23495         __memset_chk or USE_AS_BZERO are defined.
23497         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23498         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23499         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23501         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23502         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23503         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23504         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23505         comments.
23506         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23507         -mno-mmx for $(all-rtld-routines).
23508         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23509         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23510         i386.
23512 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23514         * sysdeps/generic/unwind.h
23515         (_Unwind_Word): Use __mode__(__unwind_word__)
23516         instead of __mode__(__word__).
23517         (_Unwind_Sword): Likewise.
23519         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23520         (MAX_NEEDED_INPUT): New define.
23521         (MAX_NEEDED_OUTPUT): New define.
23523         * NEWS: New item for IBM z13 string optimizations.
23525         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23526         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23527         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23528         * sysdeps/s390/multiarch/Makefile
23529         (sysdep_routines): Add memrchr functions.
23530         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23531         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23533         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23534         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23535         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23536         * sysdeps/s390/multiarch/Makefile
23537         (sysdep_routines): Add wmemcmp functions.
23538         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23539         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23540         * benchtests/bench-wmemcmp.c: New File.
23541         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23543         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23544         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23545         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23546         * sysdeps/s390/multiarch/Makefile
23547         (sysdep_routines): Add wmemset functions.
23548         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23549         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23550         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23551         * string/test-memset.c: Add wmemset support.
23552         * wcsmbs/test-wmemset.c: New File.
23553         * wcsmbs/Makefile (strop-tests): Add wmemset.
23554         * benchtests/bench-memset.c: Add wmemset support.
23555         * benchtests/bench-wmemset.c: New File.
23556         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23558         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23559         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23560         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23561         * sysdeps/s390/multiarch/Makefile
23562         (sysdep_routines): Add memccpy functions.
23563         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23564         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23565         * string/memccpy.c: Use MEMCCPY if defined.
23567         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23568         * sysdeps/s390/multiarch/memchr.c: Likewise.
23569         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23570         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23571         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23572         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23573         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23574         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23575         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23576         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23577         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23578         and rawmemchr functions.
23579         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23580         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23581         and wmemchr.
23582         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23583         * string/test-memchr.c: Add wmemchr support.
23584         * wcsmbs/test-wmemchr.c: New File.
23585         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23586         * benchtests/bench-memchr.c: Add wmemchr support.
23587         * benchtests/bench-wmemchr.c: New File.
23588         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23590         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23591         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23592         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23593         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23594         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23595         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23596         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23597         wcscspn functions.
23598         * sysdeps/s390/multiarch/ifunc-impl-list.c
23599         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23600         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23601         * string/test-strcspn.c: Add wcscspn support.
23602         * wcsmbs/test-wcscspn.c: New File.
23603         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23604         * benchtests/bench-strcspn.c: Add wcscspn support.
23605         * benchtests/bench-wcscspn.c: New File.
23606         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23608         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23609         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23610         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23611         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23612         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23613         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23614         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23615         wcspbrk functions.
23616         * sysdeps/s390/multiarch/ifunc-impl-list.c
23617         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23618         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23619         * string/test-strpbrk.c: Add wcspbrk support.
23620         * wcsmbs/test-wcspbrk.c: New File.
23621         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23622         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23623         * benchtests/bench-wcspbrk.c: New File.
23624         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23626         * sysdeps/s390/multiarch/strspn-c.c: New File.
23627         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23628         * sysdeps/s390/multiarch/strspn.c: Likewise.
23629         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23630         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23631         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23632         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23634         wcsspn functions.
23635         * sysdeps/s390/multiarch/ifunc-impl-list.c
23636         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23637         * string/test-strspn.c: Add wcsspn support.
23638         * wcsmbs/test-wcsspn.c: New File.
23639         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23640         * benchtests/bench-strspn.c: Add wcsspn support.
23641         * benchtests/bench-wcsspn.c: New File.
23642         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23644         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23645         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23646         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23647         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23648         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23649         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23650         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23651         wcsrchr functions.
23652         * sysdeps/s390/multiarch/ifunc-impl-list.c
23653         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23654         * benchtests/bench-wcsrchr.c: New File.
23655         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23657         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23658         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23659         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23660         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23661         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23662         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23663         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23664         wcschrnul functions.
23665         * sysdeps/s390/multiarch/ifunc-impl-list.c
23666         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23667         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23668         * string/test-strchr.c: Add wcschrnul support.
23669         * wcsmbs/test-wcschrnul.c: New File.
23670         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23671         * benchtests/bench-strchr.c: Add wcschrnul support.
23672         * benchtests/bench-wcschrnul.c: New File.
23673         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23675         * sysdeps/s390/multiarch/strchr-c.c: New File.
23676         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23677         * sysdeps/s390/multiarch/strchr.c: Likewise.
23678         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23679         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23680         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23681         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23682         wcschr functions.
23683         * sysdeps/s390/multiarch/ifunc-impl-list.c
23684         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23685         * string/strchr.c (STRCHR): Define and use macro.
23686         * benchtests/bench-wcschr.c: New File.
23687         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23689         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23690         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23691         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23692         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23693         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23694         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23696         wcsncmp functions.
23697         * sysdeps/s390/multiarch/ifunc-impl-list.c
23698         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23699         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23700         * benchtests/bench-strncmp.c: Add wcsncmp support.
23701         * benchtests/bench-wcsncmp.c: New File.
23702         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23704         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23705         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23706         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23707         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23708         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23709         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23710         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23711         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23712         wcscmp functions.
23713         * sysdeps/s390/multiarch/ifunc-impl-list.c
23714         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23715         * string/strcmp.c (STRCMP): Define and use macro.
23716         * benchtests/bench-wcscmp.c: New File.
23717         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23718         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23719         instead of _HAVE_STRING_ARCH_memchr.
23721         * sysdeps/s390/multiarch/strncat-c.c: New File.
23722         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23723         * sysdeps/s390/multiarch/strncat.c: Likewise.
23724         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23725         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23726         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23728         wcsncat functions.
23729         * sysdeps/s390/multiarch/ifunc-impl-list.c
23730         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23731         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23732         * string/test-strncat.c: Add wcsncat support.
23733         * wcsmbs/test-wcsncat.c: New File.
23734         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23735         * benchtests/bench-strncat.c: Add wcsncat support.
23736         * benchtests/bench-wcsncat.c: New File.
23737         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23739         * sysdeps/s390/multiarch/strcat-c.c: New File.
23740         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23741         * sysdeps/s390/multiarch/strcat.c: Likewise.
23742         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23743         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23744         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23745         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23746         wcscat functions.
23747         * sysdeps/s390/multiarch/ifunc-impl-list.c
23748         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23749         * string/strcat.c (STRCAT): Define and use macro.
23750         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23751         * string/test-strcat.c: Add wcscat support.
23752         * wcsmbs/test-wcscat.c: New File.
23753         * wcsmbs/Makefile (strop-tests): Add wcscat.
23754         * benchtests/bench-strcat.c: Add wcscat support.
23755         * benchtests/bench-wcscat.c: New File.
23756         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23758         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23759         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23760         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23761         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23762         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23763         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23764         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23765         wcpncpy functions.
23766         * sysdeps/s390/multiarch/ifunc-impl-list.c
23767         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23768         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23769         * string/test-stpncpy.c: Add wcpncpy support.
23770         * wcsmbs/test-wcpncpy.c: New File.
23771         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23772         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23773         * benchtests/bench-wcpncpy.c: New File.
23774         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23776         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23777         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23778         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23779         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23780         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23781         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23782         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23783         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23784         wcsncpy functions.
23785         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23786         * sysdeps/s390/multiarch/ifunc-impl-list.c
23787         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23788         * string/test-strncpy.c: Add wcsncpy support.
23789         * wcsmbs/test-wcsncpy.c: New File.
23790         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23791         * benchtests/bench-strncpy.c: Add wcsncpy support.
23792         * benchtests/bench-wcsncpy.c: New File.
23793         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23795         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23796         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23797         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23798         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23799         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23800         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23801         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23802         wcpcpy functions.
23803         * string/stpcpy.c: Use STPCPY if defined.
23804         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23805         * sysdeps/s390/multiarch/ifunc-impl-list.c
23806         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23807         * string/test-stpcpy.c: Add wcpcpy support.
23808         * wcsmbs/test-wcpcpy.c: New File.
23809         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23810         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23811         * benchtests/bench-wcpcpy.c: New File.
23812         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23814         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23815         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23816         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23817         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23818         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23819         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23820         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23822         wcscpy functions.
23823         * sysdeps/s390/multiarch/ifunc-impl-list.c
23824         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23825         * benchtests/bench-wcscpy.c: New File.
23826         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23828         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23829         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23830         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23831         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23832         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23833         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23835         wcsnlen functions.
23836         * sysdeps/s390/multiarch/ifunc-impl-list.c
23837         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23838         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23839         * string/test-strnlen.c: Add wcsnlen support.
23840         * wcsmbs/test-wcsnlen.c: New File.
23841         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23842         * benchtests/bench-strnlen.c: Add wcsnlen support.
23843         * benchtests/bench-wcsnlen.c: New File.
23844         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23846         * sysdeps/s390/multiarch/Makefile: New File.
23847         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23848         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23849         * sysdeps/s390/multiarch/strlen.c: Likewise.
23850         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23851         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23852         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23853         * string/strlen.c (STRLEN): Define and use macro.
23854         * sysdeps/s390/multiarch/ifunc-impl-list.c
23855         (IFUNC_VX_IMPL): New macro function.
23856         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23857         * benchtests/Makefile (wcsmbs-bench): New variable.
23858         (string-bench-all): Added wcsmbs-bench.
23859         * benchtests/bench-wcslen.c: New File.
23861         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23862         s390_vx_libc_ifunc2): New macro function.
23864         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23865         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23866         assembler support.
23867         * sysdeps/s390/configure: Regenerated.
23869         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23870         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23872         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23873         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23874         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23876         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23877         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23878         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23879         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23880         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23881         (memcmp, bcmp): Use __memcmp_default as alias source.
23882         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23883         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23884         Rename to __memcmp_default.
23885         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23886         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23887         (memcpy): Use __memcpy_default as alias source.
23888         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23889         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23890         Rename to __memcpy_default.
23891         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23892         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23893         (memset): Use __memset_default as alias source.
23894         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23895         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23896         Rename to __memset_default.
23897         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23898         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23899         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23900         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23901         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23902         (memcmp, bcmp): Use __memcmp_default as alias source.
23903         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23904         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23905         Rename to __memcmp_default.
23906         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23907         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23908         (memcpy): Use __memcpy_default as alias source.
23909         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23910         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23911         Rename to __memcpy_default.
23912         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23913         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23914         (memset): Use __memset_default as alias source.
23915         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23916         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23917         Rename to __memset_default.
23918         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23919         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23921         [BZ #18610]
23922         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23923         __ieee_instruction_pointer to __unused.
23924         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23925         __ieee_instruction_pointer.
23926         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23927         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23928         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23929         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23930         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23931         Mark dxc-field as reserved.
23933 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23935         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23936         if the weak reference is not null.
23938 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23940         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23942         [BZ #11214]
23943         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23945 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23947         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23948         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23949         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23950         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23951         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23952         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23953         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23954         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23955         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23956         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23957         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23958         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23959         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23960         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23961         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23962         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23963         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23964         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23966 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23968         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23969         register other than r0 for tabort, it has special meaning.
23970         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23971         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23972         transaction before starting syscall.
23974 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23976         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23978 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23980         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23982         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23983         * sysdeps/x86_64/rtld-memset.S: Likewise.
23984         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23985         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23986         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23987         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23989         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23991 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23993         * debug/strcpy_chk.c: Improve performance.
23994         * debug/stpcpy_chk.c: Likewise.
23995         * sysdeps/x86_64/strcpy_chk.S: Remove.
23996         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23998         [BZ #18240]
23999         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24001 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24003         [BZ #15128]
24004         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24005         ifuncmain8.
24006         (modules-names): Add ifuncmod8.
24007         ($(objpfx)ifuncmain8): New rule.
24008         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24009         <cpuid.h>.
24010         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24011         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24012         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24013         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24014         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24015         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24016         * sysdeps/x86_64/ifuncmain8.c: New file.
24017         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24018         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24019         Removed.
24020         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24021         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24022         Change rtld_savespace_sse to __glibc_unused2.
24023         (RTLD_CHECK_FOREIGN_CALL): Removed.
24024         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24025         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24026         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24028 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24030         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24032 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24034         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24035         Unconditionally set __fpcr to avoid uninialized warning.
24036         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24038 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24040         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24041         is corrupt.
24043         * malloc/arena.c (arena_get2): Drop unused argument.
24044         (arena_lock): Adjust.
24045         (arena_get_retry): Likewise.
24047 2015-08-24  Andreas Schwab  <schwab@suse.de>
24049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24050         Don't define.
24051         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24052         (__ASSUME_IPC64): Don't undef.
24053         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24054         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24055         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24056         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24057         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24058         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24059         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24060         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24061         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24062         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24063         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24064         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24065         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24066         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24067         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24068         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24069         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24070         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24071         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24072         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24073         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24075 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24077         * manual/Makefile (install): Only build manual when perl is available.
24079 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24081         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24082         '#undef memcpy' by '#undef memchr'.
24084 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24086         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24087         memchr not point to the internal __GI_memchr implementation.
24089 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24091         * timezone/Makefile (CFLAGS-zdump.c): Remove
24092         -Wno-strict-prototypes.
24093         (CFLAGS-zic.c): Likewise.
24094         (CFLAGS-ialloc.c): Likewise.
24095         (CFLAGS-scheck.c): Likewise.
24097         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24098         -Wno-error=undef.
24100 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24102         * i386/i686/multiarch/strcasestr-c.c: Removed.
24103         * x86_64/multiarch/strcasestr.c: Likewise.
24104         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24105         Remove strcasestr.
24107 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24109         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24111         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24112         variables for high and low parts before possibly modifying them.
24114 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24116         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24117         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24118         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24119         of "multiarch/init-arch.h".
24120         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24121         * sysdeps/x86/init-arch.h: This.
24123 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24125         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24126         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24128 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24130         [BZ #17787]
24131         * manual/macros.texi: Add twoexp macro.
24132         * manual/filesys.texi: Fix exponents.
24133         * manual/llio.texi: Likewise.
24134         * manual/stdio.texi: Likewise.
24136 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24138         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24139         incorrect use.
24141 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24143         [BZ #18370]
24144         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24145         whose real or imaginary part has small absolute value.
24146         * math/s_csqrtf.c (__csqrtf): Likewise.
24147         * math/s_csqrtl.c (__csqrtl): Likewise.
24148         * math/auto-libm-test-in: Add more tests of csqrt.
24149         * math/auto-libm-test-out: Regenerated.
24150         * sysdeps/i386/fpu/libm-test-ulps: Update.
24152 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24154         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24155         __ppc_set_ppr_very_low): New functions.
24156         * manual/platform.texi: Add documentation about
24157         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24159 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24161         * string/stpncpy.c (stpncpy): Improve performance using
24162         __strnlen/memcpy/memset.
24164 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24166         [BZ #18796]
24167         * scripts/test-installation.pl: Don't add -lmvec to build options if
24168         libmvec wasn't built.
24170 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24172         [BZ #14341]
24173         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24174         case when there is a gap between DT_REL and DT_JMPREL sections.
24175         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24176         (LDFLAGS-tst-split-dynreloc): New.
24177         (tst-split-dynreloc-ENV): Likewise.
24178         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24179         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24181 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24183         [BZ #18822]
24184         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24185         attribute_hidden.
24186         (__xstat64_conv): Likewise.
24187         (__xstat32_conv): Likewise.
24189 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24191         [BZ #18822]
24192         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24193         Don't load %ebx when calling __setcontext.  Call __setcontext
24194         with HIDDEN_JUMPTARGET.
24195         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24196         libc_hidden_def.
24198 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24200         * sysdeps/i386/i686/Makefile
24201         [$(subdir) == string] (sysdep_routines): Moved to ...
24202         * sysdeps/i386/Makefile: Here.
24203         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24204         * sysdeps/i386/cacheinfo.c: Here.
24205         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24206         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24207         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24208         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24210 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24212         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24213         __i586__ is defined.
24214         (HAS_I686): Defined to 1 if __i686__ is defined.
24216 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24218         * elf/Makefile [$(have-z-execstack) = yes]
24219         (CPPFLAGS-tst-execstack.c): New variable.
24221         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24222         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24223         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24224         UTMPX || _HAVE_UT_TV].
24225         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24226         UTMPX || _HAVE_UT_TV - 0].
24228 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24230         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24231         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24232         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24234 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24236         * sysdeps/powerpc/dl-procinfo.c:
24237         (_dl_powerpc_cap_flags): Added missing strings for some
24238         hwcap features.
24239         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24241 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24243         Port the 0x7efe...feff pattern to GCC 6.
24244         See Steve Ellcey's bug report in:
24245         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24246         * string/memrchr.c (MEMRCHR):
24247         * string/rawmemchr.c (RAWMEMCHR):
24248         * string/strchr.c (strchr):
24249         * string/strchrnul.c (STRCHRNUL):
24250         Rewrite code to avoid issues with signed shift overflow.
24252 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24254         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24255         whether cpuid is available only if HAS_CPUID is 0.
24256         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24257         (HAS_I586): Likewise.
24258         (HAS_I686): Likewise.
24260 2015-08-18  Zack Weinberg  <zackw@panix.com>
24262         * misc/Versions (libc): Add GLIBC_2.23.
24264 2015-08-18  Alan Modra  <amodra@gmail.com>
24266         [BZ #18421]
24267         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24268         .Lp__global.
24269         (_start): Load %dp via .Lp__global.
24270         [!SHARED]: Use .section .rodata.
24272 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24274         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24275         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24277 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24279         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24280         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24282 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24284         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24285         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24287 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24289         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24290         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24292 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24294         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24295         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24297 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24299         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24300         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24302 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24304         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24306 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24308         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24309         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24310         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24311         (__ASSUME_LWS_CAS): Delete.
24313 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24315         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24316         * sysdeps/hppa/configure: Regenerated.
24317         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24318         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24319         * sysdeps/hppa/nptl/tls.h: Likewise.
24321 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24323         [BZ #18823]
24324         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24325         for scaling up small arguments.
24326         * math/s_csqrtf.c (__csqrtf): Likewise.
24327         * math/s_csqrtl.c (__csqrtl): Likewise.
24328         * math/auto-libm-test-in: Add more tests of csqrt.
24329         * math/auto-libm-test-out: Regenerated.
24331 2015-08-17  Andreas Schwab  <schwab@suse.de>
24333         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24334         version set GLIBC_2.19.
24336 2015-08-16  Zack Weinberg  <zackw@panix.com>
24338         [BZ #18681]
24339         * misc/regexp.h: This interface is no longer supported.
24340         Remove all contents, leaving only an #error directive.
24341         * misc/regexp.c (loc1, loc2, locs, step, advance):
24342         Demote to compatibility symbols.
24344 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24346         [BZ #18084]
24347         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24348         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24349         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24350         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24351         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24352         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24353         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24354         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24355         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24357 2015-08-15  Zack Weinberg  <zackw@panix.com>
24359         [BZ #18795]
24360         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24361         buffer length is known to be too large, not if it's known to be
24362         small enough.
24363         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24364         overflow at runtime, involving a length parameter, twice: once
24365         with a compile-time constant length parameter, once without.
24367 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24369         [BZ #18824]
24370         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24371         scaling x * y up instead of down.
24372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24373         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24374         * math/auto-libm-test-in: Add more tests of fma.
24375         * math/auto-libm-test-out: Regenerated.
24377 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24379         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24381 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24383         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24384         unnecessary movq.
24385         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24386         Likewise.
24388 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24390         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24391         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24392         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24393         and tgamma.
24394         * math/auto-libm-test-out: Regenerated.
24395         * sysdeps/i386/fpu/libm-test-ulps: Update.
24396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24398         [BZ #16520]
24399         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24400         (__tanh): Force underflow exception for arguments with small
24401         absolute value.
24402         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24403         (__tanhf): Force underflow exception for arguments with small
24404         absolute value.
24405         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24406         (__tanhl): Force underflow exception for arguments with small
24407         absolute value.
24408         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24409         (__tanhl): Force underflow exception for arguments with small
24410         absolute value.
24411         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24412         (__tanhl): Force underflow exception for arguments with small
24413         absolute value.
24414         * math/auto-libm-test-in: Add more tests of tanh.
24415         * math/auto-libm-test-out: Regenerated.
24416         * sysdeps/i386/fpu/libm-test-ulps: Update.
24418 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24420         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24421         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24423 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24425         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24426         <cpuid.h>.
24428 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24430         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24431         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24433 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24435         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24436         Remove $(objpfx)init-arch.o.
24437         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24438         init-arch.
24439         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24440         (INIT_ARCH_EXT): Defined as empty.
24441         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24442         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24443         __init_cpu_features call.  Replace HAS_XXX with
24444         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24445         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24446         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24447         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24448         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24449         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24450         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24451         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24452         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24453         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24454         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24455         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24456         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24457         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24458         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24459         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24460         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24461         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24464         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24465         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24466         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24467         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24468         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24469         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24471         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24472         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24473         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24474         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24475         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24476         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24478         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24481 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24483         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24484         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24485         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24486         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24487         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24488         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24489         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24490         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24491         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24492         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24493         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24494         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24495         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24496         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24497         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24498         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24499         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24500         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24501         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24502         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24503         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24504         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24505         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24506         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24507         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24508         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24509         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24510         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24511         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24512         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24513         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24514         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24515         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24516         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24517         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24518         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24519         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24520         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24521         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24522         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24523         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24524         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24525         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24527 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24529         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24530         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24531         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24532         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24533         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24534         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24535         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24536         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24537         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24538         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24539         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24540         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24541         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24542         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24543         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24544         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24545         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24546         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24547         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24548         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24550         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24551         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24552         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24553         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24554         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24555         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24556         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24557         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24558         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24559         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24560         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24561         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24562         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24563         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24564         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24565         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24566         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24567         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24568         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24569         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24570         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24571         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24573 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24575         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24576         (dl_platform_init): Call init_cpu_features.
24577         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24578         * sysdeps/i386/i686/cacheinfo.c
24579         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24580         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24581         * sysdeps/i386/i686/multiarch/Versions: Removed.
24582         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24583         Removed.
24584         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24585         * sysdeps/unix/sysv/linux/x86/Makefile
24586         (libpthread-sysdep_routines): Remove init-arch.
24587         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24588         <sysdeps/x86_64/dl-procinfo.c> instead of
24589         sysdeps/generic/dl-procinfo.c>.
24590         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24591         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24592         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24593         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24594         [$(subdir) == elf] (tests-static): Add
24595         tst-get-cpu-features-static.
24596         * sysdeps/x86/Versions: New file.
24597         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24598         * sysdeps/x86/cpu-features.c: Likewise.
24599         * sysdeps/x86/cpu-features.h: Likewise.
24600         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24601         * sysdeps/x86/libc-start.c: Likewise.
24602         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24603         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24604         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24605         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24606         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24607         Assume USE_MULTIARCH is defined and don't check it.
24608         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24609         (is_amd): Likewise.
24610         (max_cpuid): Likewise.
24611         (intel_check_word): Likewise.
24612         (__cache_sysconf): Don't call __init_cpu_features.
24613         (__x86_preferred_memory_instruction): Removed.
24614         (init_cacheinfo): Don't call __init_cpu_features. Replace
24615         __cpu_features with GLRO(dl_x86_cpu_features).
24616         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24617         (dl_platform_init): Call init_cpu_features.
24618         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24619         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24620         * sysdeps/x86_64/multiarch/Versions: Removed.
24621         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24622         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24623         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24624         Removed.
24625         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24627 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24629         [BZ #18820]
24630         * libio/Makefile (test-fmemopen-mem): New test.
24631         * libio/test-fmemopen.c (do_bz18820): New test.
24632         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24633         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24635 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24637         [BZ #16734]
24638         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24639         (FREE_BUF): Delete.
24640         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24641         * libio/genops.c (_IO_setb): Use malloc and free directly.
24642         (_IO_default_doallocate, _IO_default_finish): Likewise.
24643         ( _IO_unbuffer_all): Likewise.
24644         ( libc_freeres_fn): Likewise.
24645         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24646         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24647         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24648         (_IO_wdefault_doallocate): Likewise.
24650 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24652         [BZ #18086]
24653         * sysdeps/posix/nice.c (nice): Restore old errno.
24654         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24656 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24658         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24660 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24662         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24663         __bcopy and add a weak_alias to bcopy.
24664         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24665         for static build.
24667         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24668         cleanup macro usage.
24669         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24670         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24671         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24672         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24673         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24674         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24675         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24676         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24677         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24678         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24679         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24680         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24681         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24682         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24684         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24685         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24686         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24687         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24689         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24690         libc_hidden_def.
24691         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24693         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24694         (sysdep_routines): Add strstr-ppc64.
24695         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24697 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24699         [BZ #18778]
24700         * elf/Makefile (tests): Add Add tst-nodelete2.
24701         (modules-names): Add tst-nodelete2mod.
24702         (tst-nodelete2mod.so-no-z-defs): New.
24703         ($(objpfx)tst-nodelete2): Likewise.
24704         ($(objpfx)tst-nodelete2.out): Likewise.
24705         (LDFLAGS-tst-nodelete2): Likewise.
24706         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24707         out of loop through all loaded libraries.
24708         * elf/tst-nodelete2.c: New file.
24709         * elf/tst-nodelete2mod.c: Likewise.
24710         * elf/tst-znodelete-zlib.cc: Delete.
24712 2015-08-11  Andreas Schwab  <schwab@suse.de>
24714         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24715         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24716         (__openat64_nocancel): Likewise.
24718 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24720         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24721         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24722         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24723         * math/auto-libm-test-out: Regenerated.
24724         * sysdeps/i386/fpu/libm-test-ulps: Update.
24725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24727 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24729         [BZ #18790]
24730         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24731         threshold for returning +/- 1.
24732         * math/auto-libm-test-in: Add more tests of tanh.
24733         * math/auto-libm-test-out: Regenerated.
24734         * sysdeps/i386/fpu/libm-test-ulps: Update.
24736 2015-08-10  Andreas Schwab  <schwab@suse.de>
24738         [BZ #18781]
24739         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24740         MORE_OFLAGS to oflag.
24741         * io/test-lfs.c (do_test): Test openat64.
24743 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24745         [BZ #18789]
24746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24747         smaller threshold for returning the argument.
24748         * math/auto-libm-test-in: Add more tests of sinh.
24749         * math/auto-libm-test-out: Regenerated.
24750         * sysdeps/i386/fpu/libm-test-ulps: Update.
24752 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24754         [BZ #18674]
24755         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24756         break.
24758 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24760         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24761         (generated): Don't add $(addprefix z.,$(tzfiles)).
24763 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24765         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24766         * scripts/sysd-rules.awk: Likewise.
24768 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24770         * iconvdata/tst-tables.sh: Change echo -n to printf.
24771         * nss/db-Makefile: Likewise.
24772         * posix/tst-getconf.sh: Likewise.
24773         * stdio-common/tst-unbputc.sh: Likewise.
24775 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24777         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24778         MADV_*_PAGES defines behind this feature check.
24780 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24782         [BZ #18480]
24783         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24784         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24785         Define.
24786         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24787         LOAD_REGS_5, LOAD_REGS_6): Update.
24788         (INTERNAL_SYSCALL): Update using new LOAD defines.
24789         (INTERNAL_SYSCALL_NCS): Likewise.
24790         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24792 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24794         [BZ #16734]
24795         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24797 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24799         [BZ #17905]
24800         * catgets/Makefile (tst-catgets-mem): New test.
24801         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24802         * catgets/open_catalog.c (__open_catalog): Likewise.
24803         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24805 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24807         [BZ #18787]
24808         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24809         clobber registers.
24810         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24811         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24812         Cast return to __typeof (oldval).
24814 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24816         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24817         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24818         and delete sys/syscall.h include.
24820 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24822         [BZ #16517]
24823         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24824         (tan): Force underflow exception for arguments with small absolute
24825         value.
24826         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24827         (__kernel_tanf): Force underflow exception for arguments with
24828         small absolute value.
24829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24830         (__kernel_tanl): Force underflow exception for arguments with
24831         small absolute value.
24832         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24833         (__kernel_tanl): Force underflow exception for arguments with
24834         small absolute value.
24835         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24836         (__kernel_tanl): Force underflow exception for arguments with
24837         small absolute value.
24838         * math/auto-libm-test-in: Add more tests of tan.
24839         * math/auto-libm-test-out: Regenerated.
24841 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24843         Fix sysdeps/i386/fpu/s_scalbn.S build
24845         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24847 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24849         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24851 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24853         Fix gcrt0.o compilation
24855         When static-start-installed-name is different from
24856         start-installed-name, we must not use the shared objects.
24858         * csu/Makefile
24859         (extra-objs): Add gmon-start.o when building shared library and
24860         $(static-start-installed-name) is different from
24861         $(start-installed-name).
24862         $(objpfx)g$(static-start-installed-name): When building shared
24863         library and $(static-start-installed-name) is different from
24864         $(static-start-installed-name), revert to non-shared rule,
24865         i.e. using $(objpfx)% and gmon-start.o.
24867 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24869         [BZ #16519]
24870         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24871         (__ieee754_sinh): Force underflow exception for arguments with
24872         small absolute value.
24873         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24874         (__ieee754_sinhf): Force underflow exception for arguments with
24875         small absolute value.
24876         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24877         (__ieee754_sinhl): Force underflow exception for arguments with
24878         small absolute value.
24879         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24880         (__ieee754_sinhl): Force underflow exception for arguments with
24881         small absolute value.
24882         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24883         (__ieee754_sinhl): Force underflow exception for arguments with
24884         small absolute value.
24885         * math/auto-libm-test-in: Add more tests of sinh.
24886         * math/auto-libm-test-out: Regenerated.
24887         * sysdeps/i386/fpu/libm-test-ulps: Update.
24889 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24891         * libio/oldfileops.c: Include unistd.h.
24893 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24895         * stdlib/isomac.c: Include ctype.h.
24897 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24899         * dirent/tst-seekdir.c (main): Converted to ...
24900         (do_test): ... this.
24901         (TEST_FUNCTION): New macro.
24902         Include test-skeleton.c.
24903         * elf/tst-dlmodcount.c (main): Converted to ...
24904         (do_test): ... this.
24905         (TEST_FUNCTION): New macro.
24906         Include test-skeleton.c.
24907         * elf/tst-order-main.c (main): Converted to ...
24908         (do_test): ... this.
24909         (TEST_FUNCTION): New macro.
24910         Include test-skeleton.c.
24911         * elf/tst-pie2.c (main): Converted to ...
24912         (do_test): ... this.
24913         (TEST_FUNCTION): New macro.
24914         Include test-skeleton.c.
24915         * inet/tst-ether_aton.c (main): Converted to ...
24916         (do_test): ... this.
24917         (TEST_FUNCTION): New macro.
24918         Include test-skeleton.c.
24919         * misc/tst-mntent.c (main): Converted to ...
24920         (do_test): ... this.
24921         (TEST_FUNCTION): New macro.
24922         Include test-skeleton.c.
24923         * misc/tst-tsearch.c (main): Converted to ...
24924         (do_test): ... this.
24925         (TEST_FUNCTION): New macro.
24926         Include test-skeleton.c.
24927         * posix/tst-regexloc.c (main): Converted to ...
24928         (do_test): ... this.
24929         (TEST_FUNCTION): New macro.
24930         Include test-skeleton.c.
24931         * resolv/tst-aton.c (main): Converted to ...
24932         (do_test): ... this.
24933         (TEST_FUNCTION): New macro.
24934         Include test-skeleton.c.
24935         * stdio-common/test-fwrite.c (main): Converted to ...
24936         (do_test): ... this.
24937         (TEST_FUNCTION): New macro.
24938         Include test-skeleton.c.
24939         * stdio-common/tst-ferror.c (main): Converted to ...
24940         (do_test): ... this.
24941         (TEST_FUNCTION): New macro.
24942         Include test-skeleton.c.
24943         * stdio-common/tst-printf.c (main): Converted to ...
24944         (do_test): ... this.
24945         (TEST_FUNCTION): New macro.
24946         Include test-skeleton.c.
24947         * stdio-common/tst-printfsz.c (main): Converted to ...
24948         (do_test): ... this.
24949         (TEST_FUNCTION): New macro.
24950         Include test-skeleton.c.
24951         * stdlib/tst-strtod.c (main): Converted to ...
24952         (do_test): ... this.
24953         (TEST_FUNCTION): New macro.
24954         Include test-skeleton.c.
24955         * string/tst-strlen.c (main): Converted to ...
24956         (do_test): ... this.
24957         (TEST_FUNCTION): New macro.
24958         Include test-skeleton.c.
24959         * string/tst-svc.c (main): Converted to ...
24960         (do_test): ... this.
24961         (TEST_FUNCTION): New macro.
24962         Include test-skeleton.c.
24963         * time/tst-strptime.c (main): Converted to ...
24964         (do_test): ... this.
24965         (TEST_FUNCTION): New macro.
24966         Include test-skeleton.c.
24967         * timezone/tst-timezone.c (main): Converted to ...
24968         (do_test): ... this.
24969         (TEST_FUNCTION): New macro.
24970         Include test-skeleton.c.
24972 2015-08-05  Zack Weinberg  <zackw@panix.com>
24974         * misc/regexp.h: Update comments.
24976 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24978         [BZ #18635]
24979         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24980         before return label.
24982 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24984         [BZ #18661]
24985         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24986         when calling __errno_location.
24987         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24988         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24990 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24992         [BZ #18661]
24993         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24994         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24995         __gettimeofday.
24997 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24999         [BZ #18661]
25000         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25001         (__start_context): Don't use pop to restore %rdi so that stack
25002         is aligned to 16 bytes when calling __setcontext.
25004 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25006         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25007         only for libc.
25008         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25010 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25012         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25013         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25014         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25016 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25018         * string/memccpy.c (memccpy):
25019         Improve performance by using memchr/memcpy/__mempcpy.
25021 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25023         * string/strncpy.c (strncpy):
25024         Improve performance by using __strnlen/memcpy.
25026 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25028         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25029         Optimize to avoid an unnecessary FPCR read.
25031 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25033         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25034         Optimize to reduce FPCR/FPSR accesses.
25036 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25038         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25039         dead->data[category] != NULL.
25041 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25043         [BZ #18647]
25044         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25045         and |x| close to 1, use absolute value of x when computing log.
25046         * math/auto-libm-test-in: Add more tests of pow.
25047         * math/auto-libm-test-out: Regenerated.
25049 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25051         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25052         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25053         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25055 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25057         [BZ #18525]
25058         * locales/km_KH: Remove timezone definition.
25059         * locales/lo_LA: Likewise.
25060         * locales/my_MM: Likewise.
25061         * locales/nan_TW@latin: Likewise.
25062         * locales/th_TH: Likewise.
25063         * locales/uk_UA: Likewise.
25065 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25067         [BZ #18265]
25068         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25069         (wcsncat): Likewise.
25070         (wcscmp): Likewise.
25071         (wcsncmp): Likewise.
25073 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25075         * test-skeleton.c (usage): New function.
25076         (main): Call usage when opt is '?'.
25078 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25080         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25081         before first use.
25083 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25085         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25086         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25087         in there too.
25089 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25091         * version.h (RELEASE): Set to "development".
25092         (VERSION): Set to "2.22.90"
25094         * version.h (RELEASE): Set to "stable".
25095         (VERSION): Set to "2.22"
25096         * include/features.h (__GLIBC_MINOR__): Set to 22.
25098 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25100         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25101         Restructure macro to avoid "value computed is not used" warning.
25102         (atomic_compare_and_exchange_val_acq): Likewise.
25104 2015-08-04  Andreas Schwab  <schwab@suse.de>
25106         [BZ #18635]
25107         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25108         ret.
25109         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25111 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25113         * po/pl.po: Updated translation.
25114         * po/uk.po: Likewise.
25115         * po/fi.po: Likewise.
25116         * po/ko.po: Likewise.
25117         * po/ru.po: Likewise.
25118         * po/vi.po: Likewise.
25120 2015-07-31  Zack Weinberg  <zackw@panix.com>
25122         [BZ #18681]
25123         * regexp.h: Add unconditional #warning stating that this header
25124         will be removed soon.  Revise banner comment to match.
25125         (compile): Consistently use ERROR instead of RETURN to report
25126         errors (partial fix for bz#18681).
25127         * regexp.c: Don't include regexp.h. Remove some unnecessary
25128         declarations.
25130 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25132         * po/libc.pot: Regenerated.
25134 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25136         [BZ #18740]
25137         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25138         float-vlen4-arch-ext-cflags): Removed.
25139         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25140         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25142 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25144         [BZ #14113]
25145         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25146         aligned to __aligned__.
25147         (pthread_cond_t, pthread_rwlock_t): Likewise.
25149 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25151         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25153 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25155         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25156         (struct sigaction): Change sa_flags from a long to an int, and add
25157         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25159 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25161         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25162         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25163         sysdeps/generic/sysdep.h include.
25164         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25165         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25166         sysdeps/hppa/sysdep.h.
25167         (ENTRY, PSEUDO): Undefine before defining.
25169 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25171         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25172         from scratch to use INTERNAL_SYSCALL.
25174 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25176         [BZ #18078]
25177         * scripts/check-localplt.awk: Support alternate relocations.
25178         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25179         sections.
25180         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25181         malloc entries with + REL R_386_GLOB_DAT.
25182         * sysdeps/x86_64/localplt.data: New file.
25184 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25186         [BZ #18731]
25187         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25188         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25189         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25191 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25193         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25195 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25197         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25198         directly in terms of __sync_fetch_and_add and delete (int) cast.
25200 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25202         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25203         the -D_ASM_IA64_CURRENT_H flag.
25205 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25207         [BZ #18641]
25208         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25210 2015-07-27  Andreas Schwab  <schwab@suse.de>
25212         * conform/conformtest.pl (checknamespace): Filter out string
25213         literals while tokenizing.
25215 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25217         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25218         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25219         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25221 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25223         * nptl/tst-join7mod.c: Add #include <string.h>.
25225 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25227         * sysdeps/nios2/libm-test-ulps: Update.
25229 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25231         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25232         Fix order of arguments to the rt_sigprocmask syscall.
25233         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25234         Likewise.
25236 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25238         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25240 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25242         [BZ #18457]
25243         * nptl/Makefile (tests): New test case tst-join7.
25244         (modules-names): New test case module tst-join7mod.
25245         * nptl/tst-join7.c: New file.
25246         * nptl/tst-join7mod.c: New file.
25247         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25248         all translation units in libc.so, libpthread.so and rtld.
25250 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25254 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25257         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25258         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25259         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25264         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25265         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25267         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25268         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25269         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25271         implementation.
25273 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25275         [BZ #17711]
25276         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25277         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25278         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25279         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25280         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25281         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25283 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25285         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25286         instead of just saying load lock in the comments.
25288 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25290         * sysdeps/unix/Subdirs: Moved ...
25291         * sysdeps/posix/Subdirs: ... here.
25292         * login/pty.h (struct termios, struct winsize): Add forward decls.
25293         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25294         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25295         * sysdeps/arm/nacl/libc.abilist: Updated.
25296         * sysdeps/nacl/libutil.abilist: New file.
25298         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25299         (SIGWINCH): New macro.
25301         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25302         * sysdeps/arm/nacl/libc.abilist: Add it.
25304 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25306         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25308 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25310         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25311         Swap __glibc_reserved0 and sa_flags order.
25313 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25315         [BZ #18657]
25316         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25317         are pending TLS destructor calls.
25318         * include/link.h (struct link_map): Add concurrency note for
25319         L_TLS_DTOR_COUNT.
25320         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25321         Don't touch the link map flag.  Atomically increment
25322         l_tls_dtor_count.
25323         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25324         Avoid taking the load lock and don't touch the link map flag.
25325         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25326         * stdlib/Makefile (tests): Use it.
25327         * stdlib/tst-tls-atexit.c (do_test): dlopen
25328         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25329         to allow tst-tls-atexit-nodelete test case to use it.
25331 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25333         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25334         to bits/types.h.
25335         (msgqnum_t): New typedef.
25336         (msglen_t): Likewise.
25337         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25338         and msg_qbytes type to msglen_t.
25340 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25342         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25343         pad0 to __glibc_reserved0.
25344         (struct stat64): Likewise.
25346 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25348         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25349         Change sa_flags from a long to an int and add __glibc_reserved0 before
25350         it for padding.
25352 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25354         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25355         anonymous by deleting "siginfo" name.
25357 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25359         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25360         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25361         rather than __nacl_irt_filename.
25362         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25364         * NEWS: New item for arm-nacl port.
25365         * sysdeps/arm/nacl/libc.abilist: New file.
25366         * sysdeps/nacl/ld.abilist: New file.
25367         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25368         * sysdeps/nacl/libanl.abilist: New file.
25369         * sysdeps/nacl/libcrypt.abilist: New file.
25370         * sysdeps/nacl/libdl.abilist: New file.
25371         * sysdeps/nacl/libm.abilist: New file.
25372         * sysdeps/nacl/libpthread.abilist: New file.
25373         * sysdeps/nacl/libresolv.abilist: New file.
25374         * sysdeps/nacl/librt.abilist: New file.
25376 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25378         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25379         __startcontext to initialize the new context.
25380         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25381         up CFI directive to forbid further backtracing.
25383 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25385         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25386         reference.
25387         * charmaps/ANSI_X3.4-1968: Likewise.
25388         * charmaps/BS_4730: Likewise.
25389         * charmaps/BS_VIEWDATA: Likewise.
25390         * charmaps/CP1250: Likewise.
25391         * charmaps/CP1251: Likewise.
25392         * charmaps/CP1252: Likewise.
25393         * charmaps/CP1253: Likewise.
25394         * charmaps/CP1254: Likewise.
25395         * charmaps/CP1255: Likewise.
25396         * charmaps/CP1256: Likewise.
25397         * charmaps/CSN_369103: Likewise.
25398         * charmaps/EBCDIC-DK-NO: Likewise.
25399         * charmaps/GB_1988-80: Likewise.
25400         * charmaps/GREEK-CCITT: Likewise.
25401         * charmaps/GREEK7: Likewise.
25402         * charmaps/INIS-8: Likewise.
25403         * charmaps/ISIRI-3342: Likewise.
25404         * charmaps/ISO_2033-1983: Likewise.
25405         * charmaps/ISO_5427-EXT: Likewise.
25406         * locales/POSIX: Likewise.
25407         * locales/ar_SA: Likewise.
25408         * locales/be_BY: Likewise.
25409         * locales/be_BY@latin: Likewise.
25410         * locales/ca_ES: Likewise.
25411         * locales/cs_CZ: Likewise.
25412         * locales/da_DK: Likewise.
25413         * locales/de_BE: Likewise.
25414         * locales/de_CH: Likewise.
25415         * locales/de_LU: Likewise.
25416         * locales/en_AU: Likewise.
25417         * locales/en_BW: Likewise.
25418         * locales/en_CA: Likewise.
25419         * locales/en_DK: Likewise.
25420         * locales/en_GB: Likewise.
25421         * locales/en_IE: Likewise.
25422         * locales/en_NZ: Likewise.
25423         * locales/en_ZA: Likewise.
25424         * locales/en_ZW: Likewise.
25425         * locales/es_AR: Likewise.
25426         * locales/es_BO: Likewise.
25427         * locales/es_CL: Likewise.
25428         * locales/es_CO: Likewise.
25429         * locales/es_DO: Likewise.
25430         * locales/es_EC: Likewise.
25431         * locales/es_ES: Likewise.
25432         * locales/es_HN: Likewise.
25433         * locales/es_MX: Likewise.
25434         * locales/es_PA: Likewise.
25435         * locales/es_PE: Likewise.
25436         * locales/es_PY: Likewise.
25437         * locales/es_SV: Likewise.
25438         * locales/es_US: Likewise.
25439         * locales/es_UY: Likewise.
25440         * locales/es_VE: Likewise.
25441         * locales/et_EE: Likewise.
25442         * locales/fa_IR: Likewise.
25443         * locales/fo_FO: Likewise.
25444         * locales/fr_CA: Likewise.
25445         * locales/fr_CH: Likewise.
25446         * locales/gv_GB: Likewise.
25447         * locales/he_IL: Likewise.
25448         * locales/hr_HR: Likewise.
25449         * locales/id_ID: Likewise.
25450         * locales/is_IS: Likewise.
25451         * locales/it_CH: Likewise.
25452         * locales/iw_IL: Likewise.
25453         * locales/kl_GL: Likewise.
25454         * locales/ko_KR: Likewise.
25455         * locales/kw_GB: Likewise.
25456         * locales/lg_UG: Likewise.
25457         * locales/lt_LT: Likewise.
25458         * locales/lv_LV: Likewise.
25459         * locales/mi_NZ: Likewise.
25460         * locales/nhn_MX: Likewise.
25461         * locales/nl_BE: Likewise.
25462         * locales/pl_PL: Likewise.
25463         * locales/sk_SK: Likewise.
25464         * locales/sl_SI: Likewise.
25465         * locales/sv_FI: Likewise.
25466         * locales/tl_PH: Likewise.
25467         * locales/tr_TR: Likewise.
25468         * locales/vi_VN: Likewise.
25470 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25472         [BZ #17475]
25473         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25474         of tu_IN and bh_IN.
25476 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25478         [BZ #18694]
25479         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25480         bits/wordsize.h.
25481         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25483 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25485         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25486         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25487         (spawn_thread): New function.
25488         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25489         (do_test): ... here.  Use IS_LOADED to test for its
25490         availability.
25492 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25494         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25496 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25498         [BZ #18696]
25499         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25500         si_addr_bnd.
25501         (si_lower): New.
25502         (si_upper): Likewise.
25504 2015-07-16  David S. Miller  <davem@davemloft.net>
25506         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25508 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25510         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25511         buffer.
25512         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25513         fail output information.
25515 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25518         and strstr-ppc64..
25519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25520         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25521         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25522         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25523         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25525 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25527         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25528         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25529         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25530         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25532 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25534         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25535         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25536         rtld_hidden_proto.
25537         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25539 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25541         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25542         the test can fail.
25544         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25546         [BZ #18676]
25547         * elf/tst-nodelete-opened.c: New test case.
25548         * elf/tst-nodelete-opened-lib.c: New test case module.
25549         * elf/Makefile (tests, modules-names): Use them.
25550         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25551         early.
25553 2015-07-15  David S. Miller  <davem@davemloft.net>
25555         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25556         futex-intenal.h
25557         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25558         * sysdeps/sparc/sparc64/Makefile: Likewise.
25559         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25560         Remove space from macro define.
25561         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25563 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25565         [BZ #17475]
25566         * locale/iso-639.def: Update Bhili and Tulu language codes as
25567         per iso639-3.
25569 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25571         * elf/tst-leaks1.c (main): Converted to ...
25572         (do_test): ... this.
25573         (TEST_FUNCTION): New macro.
25574         Include test-skeleton.c.
25575         * localedata/tst-langinfo.c (main): Converted to ...
25576         (do_test): ... this.
25577         (TEST_FUNCTION): New macro.
25578         Include test-skeleton.c.
25579         * math/test-fpucw.c (main): Converted to ...
25580         (do_test): ... this.
25581         (TEST_FUNCTION): New macro.
25582         Include test-skeleton.c.
25583         * math/test-tgmath.c (main): Converted to ...
25584         (do_test): ... this.
25585         (TEST_FUNCTION): New macro.
25586         Include test-skeleton.c.
25587         * math/test-tgmath2.c (main): Converted to ...
25588         (do_test): ... this.
25589         (TEST_FUNCTION): New macro.
25590         Include test-skeleton.c.
25591         * setjmp/tst-setjmp.c (main): Converted to ...
25592         (do_test): ... this.
25593         (TEST_FUNCTION): New macro.
25594         Include test-skeleton.c.
25595         * stdio-common/tst-sscanf.c (main): Converted to ...
25596         (do_test): ... this.
25597         (TEST_FUNCTION): New macro.
25598         Include test-skeleton.c.
25599         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25600         (do_test): ... this.
25601         (TEST_FUNCTION): New macro.
25602         Include test-skeleton.c.
25604         * elf/tst-audit9.c (main): Converted to ...
25605         (do_test): ... this.
25606         (TEST_FUNCTION): New macro.
25607         Include test-skeleton.c.
25609 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25611         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25613 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25615         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25616         New variable.
25618 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25620         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25622 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25624         * sysdeps/generic/dl-fileid.h: New file.
25625         * sysdeps/posix/dl-fileid.h: New file.
25626         * sysdeps/nacl/dl-fileid.h: New file.
25627         * include/link.h: Include <dl-fileid.h>.
25628         (struct link_map): Replace l_dev and l_ino with l_file_id.
25629         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25630         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25631         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25633 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25635         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25637 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25639         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25640         Add iff $CXX is set.
25641         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25642         Likewise.
25643         (tst-nodelete-zmodiff): Likewise.
25644         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25646 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25648         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25650 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25652         * sysdeps/aarch64/fpu/math_private.h
25653         (define math_opt_barrier): Add AArch64 version.
25654         (math_force_eval): Likewise.
25656 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25658         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25660 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25662         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25663         %ld with %jd and cast to intmax_t.
25664         (do_test_length_zero): Likewise.
25666 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25668         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25670 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25672         * sysdeps/tile/libm-test-ulps: Regenerated.
25674         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25675         Comment out the whole function, not just its body.
25677 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25679         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25680         locks.
25682         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25684 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25686         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25687         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25689 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25691         * sysdeps/nptl/futex-internal.h: New file.
25692         * sysdeps/nacl/futex-internal.h: New file.
25693         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25694         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25695         error checking.
25696         (setxid_unmark_thread): Likewise.
25697         (__nptl_setxid): Likewise.
25698         (__wait_lookup_done): Likewise.
25699         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25700         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25701         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25702         * nptl/pthread_once.c (clear_once_control): Likewise.
25703         (__pthread_once_slow): Likewise.
25704         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25705         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25706         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25707         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25708         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25709         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25710         Likewise.
25711         (__pthread_rwlock_rdlock): Likewise.
25712         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25713         Likewise.
25714         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25715         Likewise.
25716         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25717         Likewise.
25718         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25719         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25720         Likewise.
25721         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25722         __ASSUME_PRIVATE_FUTEX check.
25723         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25724         Check that shared futexes are supported.
25725         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25726         wrappers with error checking.
25727         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25728         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25729         * nptl/pthread_barrierattr_setpshared.c
25730         (pthread_barrierattr_setpshared): Check that shared futexes are
25731         supported.
25732         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25733         Likewise.
25734         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25735         Likewise.
25736         * nptl/sem_init.c (futex_private_if_supported): Remove.
25737         (__new_sem_init): Adapt and check that shared futexes are supported.
25738         * nptl/sem_open.c (sem_open): Likewise.
25739         * nptl/sem_post.c (futex_wake): Remove.
25740         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25741         (do_futex_wait): Use futex wrappers with error checking.
25742         * nptl/sem_wait.c: Include lowlevellock.h.
25743         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25744         Use futex_supports_pshared.
25745         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25746         Use futex wrappers with error checking.
25747         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25748         Likewise.
25749         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25750         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25751         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25752         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25753         (futex_wake): Likewise.
25754         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25755         (do_futex_wait): Use futex wrappers with error checking.
25756         (__new_sem_wait_slow): Update EINTR handling.
25757         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25759 2015-07-09  Martin Sebor  <msebor@redhat.com>
25761         [BZ #18435]
25762         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25763         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25764         * nptl/Makefile (test-xfail-tst-once5): Define.
25766 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25768         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25769         * elf/dl-minimal.c: For readability, reorder some definitions and
25770         introduce more page breaks.  Include <stdio.h>.
25771         (__libc_fatal): New function.
25773         * include/unistd.h: Add rtld_hidden_proto for _exit.
25774         * posix/_exit.c: Add rtld_hidden_def.
25775         * sysdeps/mach/hurd/_exit.c: Likewise.
25776         * sysdeps/nacl/_exit.c: Likewise.
25777         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25778         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25780 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25783         bndmov encoding with zero displacement.
25785 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25786             H.J. Lu  <hongjiu.lu@intel.com>
25788         [BZ #18134]
25789         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25790         * sysdeps/i386/configure: Regenerated.
25791         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25792         (_dl_runtime_profile): Save and restore Intel MPX return bound
25793         registers when calling _dl_call_pltexit.  Add
25794         PRESERVE_BND_REGS_PREFIX before return.
25795         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25796         (LRV_BND1_OFFSET): Likewise.
25797         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25798         lrv_bnd1.
25799         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25800         typo in bndmov encoding.
25801         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25802         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25803         branch instructions to preserve bounds.
25805 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25808         [GLIBC_2.22]: Add fmemopen.
25810 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25812         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25813         returns an error, also try to use host port from __mach_host_self for
25814         the __vm_wire call.
25815         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25817 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25819         [BZ #18400]
25820         [BZ #18648]
25821         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25822         Fix pr_uid and pr_gid members.
25823         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25824         definition to elf_greg_t.
25826 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25828         [BZ #18383]
25829         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25830         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25831         * sysdeps/arm/configure: Regenerated.
25832         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25833         (test-xfail-tst-tlsalign-static): Variable removed.
25835         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25836         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25837         rather than explicit 'ln -s'.
25839         * resolv/rpc/netdb.h: New file.
25840         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25842 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25844         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25845         length buffers.
25846         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25847         test-skeleton.c.
25849         [BZ #6544]
25850         [BZ #11216]
25851         [BZ #12836]
25852         [BZ #13151]
25853         [BZ #13152]
25854         [BZ #14292]
25855         * include/stdio.h (fmemopen): Remove hidden prototype.
25856         (__fmemopen): Add new hidden prototype.
25857         * libio/Makefile: Add oldfmemopen object.
25858         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25859         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25860         compliance.
25861         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25862         symbol compatibility.
25863         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25864         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25865         fmemopen.
25866         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25867         on append and read mode.
25868         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25869         fmemopen.
25870         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25871         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25872         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25873         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25874         Likewise.
25875         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25876         [GLIBC_2.22]: Likewise.
25877         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25878         Likewise.
25879         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25880         Likewise.
25881         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25882         [GLIBC_2.22]: Likewise.
25883         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25884         [GLIBC_2.22]: Likewise.
25885         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25886         [GLIBC_2.22]: Likewise.
25887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25888         [GLIBC_2.22]: Likewise.
25889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25890         [GLIBC_2.22]: Likewise.
25891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25892         [GLIBC_2.22]: Likewise.
25893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25894         [GLIBC_2.22]: Likewise.
25895         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25896         Likewise.
25897         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25898         Likewise.
25899         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25900         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25901         [GLIBC_2.22]: Likewise.
25902         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25903         [GLIBC_2.22]: Likewise.
25904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25905         [GLIBC_2.22]: Likewise.
25906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25907         [GLIBC_2.22]: Likewise.
25908         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25909         Likewise.
25910         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25911         Likewise.
25912         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25913         Likewise.
25914         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25915         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25917 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25919         [BZ #18643]
25920         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25921         IPV6_PATHMTU, and IPV6_DONTFRAG.
25923 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25925         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25926         and _IO_UNBUFFERED.
25927         * libio/oldfileops.c: Likewise.
25928         * libio/wfileops.c: Likewise.
25930 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25932         * nscd/selinux.c: Delete selinux/flask.h include.
25934 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25936         [BZ #18641]
25937         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25938         (putpwent): Likewise.
25939         (getpwnam): Likewise.
25940         (getpwent_r): Likewise.
25941         (getpwuid_r): Likewise.
25942         (getpwnam_r): Likewise.
25943         (fgetpwent_r): Likewise.
25945 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25947         [BZ #18557]
25948         * inet/rcmd.c (__validuser2_sa): Check user first to
25949         short-circuit host check.
25951 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25952             Mikhail Ilin  <m.ilin@samsung.com>
25954         [BZ #17833]
25955         * elf/Makefile (tests): Add tst-nodelete.
25956         (modules-names): Add tst-nodelete-uniquemod.
25957         (tst-nodelete-uniquemod.so-no-z-defs): New.
25958         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25959         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25960         ($(objpfx)tst-nodelete): Likewise.
25961         ($(objpfx)tst-nodelete.out): Likewise.
25962         (LDFLAGS-tst-nodelete): Likewise.
25963         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25964         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25965         implement forced object deletion.
25966         (_dl_close): Pass false to _dl_close_worker.
25967         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25968         * elf/tst-nodelete.cc: New file.
25969         * elf/tst-nodeletelib.cc: Likewise.
25970         * elf/tst-znodeletelib.cc: Likewise.
25971         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25973 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25975         [BZ #18508]
25976         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25977         Depend on $(libdl).
25978         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25979         is not called infinitely times.
25980         (backtrace_helper): New function.
25981         (trace_arg): New struct.
25982         (st1): Enlarge stack size.
25983         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25984         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25985         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25986         Likewise.
25988 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25990         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25992 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25994         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25995         Include sys/types.h instead of bits/types.h.
25996         Remove inclusion of bits/wordsize.h.
25998 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26000         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26001         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26002         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26003         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26004         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26005         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26007 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26009         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26010         link-defines.sym.
26011         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26012         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26013         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26014         and LR_SIZE.
26015         * sysdeps/i386/link-defines.sym: New file.
26017 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26019         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26020         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26021         ($(objpfx)tst-audit3): New rule.
26022         ($(objpfx)tst-audit3.out): Likewise.
26023         * sysdeps/i386/tst-audit3.c: New file.
26024         * sysdeps/i386/tst-audit3.h: Likewise.
26025         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26026         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26028 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26030         [BZ #18633]
26031         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26032         pointer in C code.
26033         (__strcat_c): Likewise.
26034         (__strcat_g): Likewise.
26036 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26038         [BZ #18592]
26039         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26041 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26043         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26044         New function.  (__ieee754_sqrtf): New function.
26045         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26046         New function.
26047         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26048         New function.
26050 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26052         * sysdeps/ieee754/support.c: Remove unused file.
26054 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26056         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26057         registers instead of d ones so the layout is kernel abi compatible.
26058         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26059         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26060         Likewise.
26062 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26064         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26066 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26068         [BZ #18619]
26069         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26070         and return argument in case of subnormal argument.
26072 2015-07-01  Martin Sebor  <msebor@redhat.com>
26074         [BZ #18435]
26075         * nptl/Makefile: Add tst-once5.cc.
26076         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26077         Remove macro redefinitions.
26078         * nptl/tst-once5.cc: New test.
26080 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26082         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26084         * sysdeps/arm/libm-test-ulps: Regenerated.
26086         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26087         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26089 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26091         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26092         lll_lock_wait_private and lll_futex_wake probes.
26094         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26095         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26096         Likewise.
26097         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26098         atomic_spin_nop.
26099         * sysdeps/x86_64/bits/atomic.h: Likewise.
26100         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26101         to atomic_spin_nop and move ...
26102         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26103         ... here and ...
26104         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26105         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26106         atomic_spin_nop instead of BUSY_WAIT_NOP.
26107         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26108         Likewise.
26109         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26110         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26111         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26112         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26113         instead of atomic_delay.
26115 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26117         [BZ #18613]
26118         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26119         X_ADJ not X when adjusting exponent.
26120         (__ieee754_gamma_r): Do intermediate computations in
26121         round-to-nearest then adjust overflowing and underflowing results
26122         as needed.
26123         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26124         of X_ADJ not X when adjusting exponent.
26125         (__ieee754_gammaf_r): Do intermediate computations in
26126         round-to-nearest then adjust overflowing and underflowing results
26127         as needed.
26128         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26129         log of X_ADJ not X when adjusting exponent.
26130         (__ieee754_gammal_r): Do intermediate computations in
26131         round-to-nearest then adjust overflowing and underflowing results
26132         as needed.  Use 1.0L not 1.0f as numerator of division.
26133         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26134         log of X_ADJ not X when adjusting exponent.
26135         (__ieee754_gammal_r): Do intermediate computations in
26136         round-to-nearest then adjust overflowing and underflowing results
26137         as needed.  Use 1.0L not 1.0f as numerator of division.
26138         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26139         of X_ADJ not X when adjusting exponent.
26140         (__ieee754_gammal_r): Do intermediate computations in
26141         round-to-nearest then adjust overflowing and underflowing results
26142         as needed.  Use 1.0L not 1.0f as numerator of division.
26143         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26144         to auto-libm-test-in.
26145         (tgamma_test): Use ALL_RM_TEST.
26146         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26147         tests of tgamma with spurious-overflow.
26148         * math/auto-libm-test-out: Regenerated.
26149         * math/gen-libm-have-vector-test.sh: Do not check for START.
26150         * sysdeps/i386/fpu/libm-test-ulps: Update.
26151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153         [BZ #18612]
26154         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26155         arguments, just return 0.5 times the argument, with underflow
26156         forced as needed.
26157         * math/auto-libm-test-in: Add more tests of j1.
26158         * math/auto-libm-test-out: Regenerated.
26160         [BZ #16559]
26161         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26162         (__ieee754_j1): Force underflow exception for small results.
26163         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26164         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26165         (__ieee754_j1f): Force underflow exception for small results.
26166         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26167         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26169         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26170         (__ieee754_j1l): Force underflow exception for small results.
26171         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26172         * math/auto-libm-test-in: Add more tests of j1 and jn.
26173         * math/auto-libm-test-out: Regenerated.
26175         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26176         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26177         (PF_MPLS): Likewise.
26178         (AF_IB): Likewise.
26179         (AF_MPLS): Likewise.
26180         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26181         value and macro.
26182         (MS_RMT_MASK): Include MS_LAZYTIME.
26184 2015-06-26  Mel Gorman  <mgorman@suse.de>
26186         [BZ #18502]
26187         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26188         already minimal.
26190 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26192         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26193         (DT_MIPS_NUM): Update.
26194         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26195         DT_MIPS_RLD_MAP_REL.
26197 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26199         [BZ #16559]
26200         [BZ #18602]
26201         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26202         round-to-nearest internally then recompute results that
26203         underflowed to zero in the original rounding mode.
26204         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26205         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26206         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26208         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26209         * sysdeps/i386/fpu/libm-test-ulps: Update.
26210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26212 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26214         * NEWS: Fixed description of link with vector math library.
26216 2015-06-25  Andreas Schwab  <schwab@suse.de>
26218         [BZ #18549]
26219         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26220         * libio/test-fmemopen.c (do_test): Add test for it.
26222 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26224         [BZ #17841]
26225         * Makeconfig (no-pie-ldflag): New.
26226         (+link): Set to $(+link-pie) if default to PIE.
26227         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26228         * config.make.in (build-pie-default): New.
26229         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26230         is default.  AC_SUBST.
26231         * configure: Regenerated.
26232         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26234 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26236         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26237         to 'unsigned int'.
26239         * resolv/gai_misc.h (struct waitlist): Change type of field
26240         counterp to 'volatile unsigned int *'.
26241         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26242         FUTEXADDR and OLDVAL.
26243         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26244         Give local variable TOTAL type 'volatile unsigned int'.
26245         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26246         * resolv/gai_suspend.c (gai_suspend):
26247         Give local variable CNTR type 'unsigned int'.
26249         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26250         counterp to 'volatile unsigned int *'.
26251         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26252         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26253         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26254         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26255         Give local variable TOTAL type 'volatile unsigned int'.
26256         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26258 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26260         [BZ #18383]
26261         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26262         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26263         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26264         comment for i386/x86-64.
26265         (test-xfail-tst-tlsalign-extern-static): Removed.
26267 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26269         * math/test-double.h: New file.
26270         * math/test-float.h: Likewise.
26271         * math/test-ldouble.h: Likewise.
26272         * math/test-math-inline.h: Likewise.
26273         * math/test-math-no-inline.h: Likewise.
26274         * math/test-math-scalar.h: Likewise.
26275         * math/test-math-vector.h: Likewise.
26276         * math/test-vec-loop.h: Remove file.  Contents moved into
26277         test-math-vector.h.
26278         * math/libm-test.inc (MATHCONST): Do not document macro.
26279         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26280         and test-math-scalar.h.
26281         (FUNC): Remove macro.
26282         (FUNC_TEST): Likewise.
26283         (FLOAT): Likewise.
26284         (MATHCONST): Likewise.
26285         (PRINTF_EXPR): Likewise.
26286         (PRINTF_XEXPR): Likewise.
26287         (PRINTF_NEXPR): Likewise.
26288         (TEST_DOUBLE): Likewise.
26289         (TEST_MATHVEC): Likewise.
26290         (__NO_MATH_INLINES): Likewise.
26291         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26292         and test-math-scalar.h.
26293         (FUNC): Remove macro.
26294         (FUNC_TEST): Likewise.
26295         (FLOAT): Likewise.
26296         (MATHCONST): Likewise.
26297         (PRINTF_EXPR): Likewise.
26298         (PRINTF_XEXPR): Likewise.
26299         (PRINTF_NEXPR): Likewise.
26300         (TEST_FLOAT): Likewise.
26301         (TEST_MATHVEC): Likewise.
26302         (__NO_MATH_INLINES): Likewise.
26303         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26304         and test-math-scalar.h.
26305         (FUNC): Remove macro.
26306         (FUNC_TEST): Likewise.
26307         (FLOAT): Likewise.
26308         (MATHCONST): Likewise.
26309         (PRINTF_EXPR): Likewise.
26310         (PRINTF_XEXPR): Likewise.
26311         (PRINTF_NEXPR): Likewise.
26312         (TEST_DOUBLE): Likewise.
26313         (TEST_MATHVEC): Likewise.
26314         (TEST_INLINE): Likewise.
26315         (__NO_MATH_INLINES): Likewise.
26316         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26317         test-math-scalar.h.
26318         (FUNC): Remove macro.
26319         (FUNC_TEST): Likewise.
26320         (FLOAT): Likewise.
26321         (MATHCONST): Likewise.
26322         (PRINTF_EXPR): Likewise.
26323         (PRINTF_XEXPR): Likewise.
26324         (PRINTF_NEXPR): Likewise.
26325         (TEST_FLOAT): Likewise.
26326         (TEST_MATHVEC): Likewise.
26327         (TEST_INLINE): Likewise.
26328         (__NO_MATH_INLINES): Likewise.
26329         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26330         and test-math-scalar.h.
26331         (FUNC): Remove macro.
26332         (FUNC_TEST): Likewise.
26333         (FLOAT): Likewise.
26334         (MATHCONST): Likewise.
26335         (PRINTF_EXPR): Likewise.
26336         (PRINTF_XEXPR): Likewise.
26337         (PRINTF_NEXPR): Likewise.
26338         (TEST_LDOUBLE): Likewise.
26339         (TEST_MATHVEC): Likewise.
26340         (TEST_INLINE): Likewise.
26341         (__NO_MATH_INLINES): Likewise.
26342         * math/test-ldouble.c: Include test-ldouble.h,
26343         test-math-no-inline.h and test-math-scalar.h.
26344         (FUNC): Remove macro.
26345         (FUNC_TEST): Likewise.
26346         (FLOAT): Likewise.
26347         (MATHCONST): Likewise.
26348         (PRINTF_EXPR): Likewise.
26349         (PRINTF_XEXPR): Likewise.
26350         (PRINTF_NEXPR): Likewise.
26351         (TEST_LDOUBLE): Likewise.
26352         (TEST_MATHVEC): Likewise.
26353         (__NO_MATH_INLINES): Likewise.
26354         * math/test-double-vlen2.h: Include test-double.h,
26355         test-math-no-inline.h and test-math-vector.h.
26356         (FLOAT): Remove macro.
26357         (FUNC): Likewise.
26358         (MATHCONST): Likewise.
26359         (PRINTF_EXPR): Likewise.
26360         (PRINTF_XEXPR): Likewise.
26361         (PRINTF_NEXPR): Likewise.
26362         (TEST_DOUBLE): Likewise.
26363         (TEST_MATHVEC): Likewise.
26364         (__NO_MATH_INLINES): Likewise.
26365         (CNCT): Likewise.
26366         (CONCAT): Likewise.
26367         (WRAPPER_NAME): Likewise.
26368         (WRAPPER_DECL): Likewise.
26369         (WRAPPER_DECL_ff): Likewise.
26370         (WRAPPER_DECL_fFF): Likewise.
26371         (VECTOR_WRAPPER): Likewise.
26372         (VECTOR_WRAPPER_ff): Likewise.
26373         (VECTOR_WRAPPER_fFF): Likewise.
26374         (VEC_LEN): New macro.
26375         * math/test-double-vlen4.h: Include test-double.h,
26376         test-math-no-inline.h and test-math-vector.h.
26377         (FLOAT): Remove macro.
26378         (FUNC): Likewise.
26379         (MATHCONST): Likewise.
26380         (PRINTF_EXPR): Likewise.
26381         (PRINTF_XEXPR): Likewise.
26382         (PRINTF_NEXPR): Likewise.
26383         (TEST_DOUBLE): Likewise.
26384         (TEST_MATHVEC): Likewise.
26385         (__NO_MATH_INLINES): Likewise.
26386         (CNCT): Likewise.
26387         (CONCAT): Likewise.
26388         (WRAPPER_NAME): Likewise.
26389         (WRAPPER_DECL): Likewise.
26390         (WRAPPER_DECL_ff): Likewise.
26391         (WRAPPER_DECL_fFF): Likewise.
26392         (VECTOR_WRAPPER): Likewise.
26393         (VECTOR_WRAPPER_ff): Likewise.
26394         (VECTOR_WRAPPER_fFF): Likewise.
26395         (VEC_LEN): New macro.
26396         * math/test-double-vlen8.h: Include test-double.h,
26397         test-math-no-inline.h and test-math-vector.h.
26398         (FLOAT): Remove macro.
26399         (FUNC): Likewise.
26400         (MATHCONST): Likewise.
26401         (PRINTF_EXPR): Likewise.
26402         (PRINTF_XEXPR): Likewise.
26403         (PRINTF_NEXPR): Likewise.
26404         (TEST_DOUBLE): Likewise.
26405         (TEST_MATHVEC): Likewise.
26406         (__NO_MATH_INLINES): Likewise.
26407         (CNCT): Likewise.
26408         (CONCAT): Likewise.
26409         (WRAPPER_NAME): Likewise.
26410         (WRAPPER_DECL): Likewise.
26411         (WRAPPER_DECL_ff): Likewise.
26412         (WRAPPER_DECL_fFF): Likewise.
26413         (VECTOR_WRAPPER): Likewise.
26414         (VECTOR_WRAPPER_ff): Likewise.
26415         (VECTOR_WRAPPER_fFF): Likewise.
26416         (VEC_LEN): New macro.
26417         * math/test-float-vlen4.h: Include test-float.h,
26418         test-math-no-inline.h and test-math-vector.h.
26419         (FLOAT): Remove macro.
26420         (FUNC): Likewise.
26421         (MATHCONST): Likewise.
26422         (PRINTF_EXPR): Likewise.
26423         (PRINTF_XEXPR): Likewise.
26424         (PRINTF_NEXPR): Likewise.
26425         (TEST_FLOAT): Likewise.
26426         (TEST_MATHVEC): Likewise.
26427         (__NO_MATH_INLINES): Likewise.
26428         (CNCT): Likewise.
26429         (CONCAT): Likewise.
26430         (WRAPPER_NAME): Likewise.
26431         (WRAPPER_DECL): Likewise.
26432         (WRAPPER_DECL_ff): Likewise.
26433         (WRAPPER_DECL_fFF): Likewise.
26434         (VECTOR_WRAPPER): Likewise.
26435         (VECTOR_WRAPPER_ff): Likewise.
26436         (VECTOR_WRAPPER_fFF): Likewise.
26437         (VEC_LEN): New macro.
26438         * math/test-float-vlen8.h: Include test-float.h,
26439         test-math-no-inline.h and test-math-vector.h.
26440         (FLOAT): Remove macro.
26441         (FUNC): Likewise.
26442         (MATHCONST): Likewise.
26443         (PRINTF_EXPR): Likewise.
26444         (PRINTF_XEXPR): Likewise.
26445         (PRINTF_NEXPR): Likewise.
26446         (TEST_FLOAT): Likewise.
26447         (TEST_MATHVEC): Likewise.
26448         (__NO_MATH_INLINES): Likewise.
26449         (CNCT): Likewise.
26450         (CONCAT): Likewise.
26451         (WRAPPER_NAME): Likewise.
26452         (WRAPPER_DECL): Likewise.
26453         (WRAPPER_DECL_ff): Likewise.
26454         (WRAPPER_DECL_fFF): Likewise.
26455         (VECTOR_WRAPPER): Likewise.
26456         (VECTOR_WRAPPER_ff): Likewise.
26457         (VECTOR_WRAPPER_fFF): Likewise.
26458         (VEC_LEN): New macro.
26459         * math/test-float-vlen16.h: Include test-float.h,
26460         test-math-no-inline.h and test-math-vector.h.
26461         (FLOAT): Remove macro.
26462         (FUNC): Likewise.
26463         (MATHCONST): Likewise.
26464         (PRINTF_EXPR): Likewise.
26465         (PRINTF_XEXPR): Likewise.
26466         (PRINTF_NEXPR): Likewise.
26467         (TEST_FLOAT): Likewise.
26468         (TEST_MATHVEC): Likewise.
26469         (__NO_MATH_INLINES): Likewise.
26470         (CNCT): Likewise.
26471         (CONCAT): Likewise.
26472         (WRAPPER_NAME): Likewise.
26473         (WRAPPER_DECL): Likewise.
26474         (WRAPPER_DECL_ff): Likewise.
26475         (WRAPPER_DECL_fFF): Likewise.
26476         (VECTOR_WRAPPER): Likewise.
26477         (VECTOR_WRAPPER_ff): Likewise.
26478         (VECTOR_WRAPPER_fFF): Likewise.
26479         (VEC_LEN): New macro.
26480         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26481         test-vec-loop.h.
26482         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26484         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26485         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26486         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26487         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26488         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26490 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26492         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26493         (__getlogin_r): ... this.
26495 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #18594]
26498         * math/s_ccosh.c (__ccosh): Compare with least normal value
26499         instead of comparing class with FP_SUBNORMAL.
26500         * math/s_ccoshf.c (__ccoshf): Likewise.
26501         * math/s_ccoshl.c (__ccoshl): Likewise.
26502         * math/s_cexp.c (__cexp): Likewise.
26503         * math/s_cexpf.c (__cexpf): Likewise.
26504         * math/s_cexpl.c (__cexpl): Likewise.
26505         * math/s_csin.c (__csin): Likewise.
26506         * math/s_csinf.c (__csinf): Likewise.
26507         * math/s_csinh.c (__csinh): Likewise.
26508         * math/s_csinhf.c (__csinhf): Likewise.
26509         * math/s_csinhl.c (__csinhl): Likewise.
26510         * math/s_csinl.c (__csinl): Likewise.
26511         * math/s_ctan.c (__ctan): Likewise.
26512         * math/s_ctanf.c (__ctanf): Likewise.
26513         * math/s_ctanh.c (__ctanh): Likewise.
26514         * math/s_ctanhf.c (__ctanhf): Likewise.
26515         * math/s_ctanhl.c (__ctanhl): Likewise.
26516         * math/s_ctanl.c (__ctanl): Likewise.
26517         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26518         csin, csinh, ctan and ctanh.
26519         * math/auto-libm-test-out: Regenerated.
26520         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26521         * sysdeps/i386/fpu/libm-test-ulps: Update.
26522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26524 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26526         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26527         return value is wrong, print the expected value too.
26529 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26531         [BZ #18585]
26532         * elf/readlib.c (is_gdb_python_file): New.
26533         (process_file): Don't issue errors on filenames with -gdb.py
26534         suffix.
26536 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26538         * math/auto-libm-test-in: Add more tests of csin and csinh.
26539         * math/auto-libm-test-out: Regenerated.
26540         * math/libm-test.inc (csin_test_data): Remove tests moved to
26541         auto-libm-test-in.
26542         (csinh_test_data): Likewise.
26544         [BZ #18593]
26545         * math/s_csin.c (__csin): Negate before rather than after possibly
26546         overflowing multiplication.
26547         * math/s_csinf.c (__csinf): Likewise.
26548         * math/s_csinh.c (__csinh): Likewise.
26549         * math/s_csinhf.c (__csinhf): Likewise.
26550         * math/s_csinhl.c (__csinhl): Likewise.
26551         * math/s_csinl.c (__csinl): Likewise.
26552         * math/auto-libm-test-in: Add some tests of csin and csinh.
26553         * math/auto-libm-test-out: Regenerated.
26554         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26555         (csinh_test_data): Likewise.
26556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26558         [BZ #18586]
26559         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26560         underflow exception for small results.
26562 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26564         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26565         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26566         variable and included header.
26567         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26568         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26570         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26571         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26572         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26574         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26575         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26576         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26577         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26578         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26579         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26580         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26581         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26582         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26584 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26586         [BZ #16526]
26587         [BZ #16538]
26588         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26589         (__sin): Force underflow exception for arguments with small
26590         absolute value.
26591         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26592         (__kernel_sinf): Force underflow exception for arguments with
26593         small absolute value.
26594         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26595         (__kernel_sincosl): Force underflow exception for arguments with
26596         small absolute value.
26597         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26598         (__kernel_sinl): Force underflow exception for arguments with
26599         small absolute value.
26600         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26601         (__kernel_sincosl): Force underflow exception for arguments with
26602         small absolute value.
26603         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26604         (__kernel_sinl): Force underflow exception for arguments with
26605         small absolute value.
26606         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26607         (__kernel_sinl): Force underflow exception for arguments with
26608         small absolute value.
26609         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26610         (__kernel_sinf): Force underflow exception for arguments with
26611         small absolute value.
26612         * math/auto-libm-test-in: Add more tests of sin and sincos.
26613         * math/auto-libm-test-out: Regenerated.
26615         [BZ #18245]
26616         [BZ #18583]
26617         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26618         (__kernel_standard_l): Use feholdexcept and fesetenv around
26619         conversion to double instead of special-casing overflow and
26620         underflow.
26621         * math/libm-test.inc (fmod_test_data): Add more tests.
26622         (remainder_test_data): Likewise.
26623         (sqrt_test_data): Likewise.
26625 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26627         [BZ #17403]
26628         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26629         atomic_read_barrier, atomic_write_barrier): Define.
26630         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26631         atomic_read_barrier, atomic_write_barrier): Define.
26633 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26635         * math/Makefile [$(PERL) != no]
26636         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26637         dependency on libm-test.stmp below the inclusion of Rules.
26639 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26641         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26642         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26643         and included header.
26644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26646         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26648         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26649         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26650         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26652         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26653         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26654         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26655         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26656         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26657         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26658         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26659         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26660         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26661         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26662         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26664 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26666         [BZ #18371]
26667         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26668         intermediate but not final result might underflow.
26669         * math/s_csqrtf.c (__csqrtf): Likewise.
26670         * math/s_csqrtl.c (__csqrtl): Likewise.
26671         * math/auto-libm-test-in: Add more tests of csqrt.
26672         * math/auto-libm-test-out: Regenerated.
26673         * sysdeps/i386/fpu/libm-test-ulps: Update.
26675         [BZ #18219]
26676         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26677         threshold on absolute value of exponent for which scaling is used.
26678         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26679         * math/auto-libm-test-in: Add more tests of exp2.
26680         * math/auto-libm-test-out: Regenerated.
26682 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26684         [BZ #17977]
26685         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26686         when initializing interface list, based on the bug analysis
26687         and the patch proposed by Eric Newton.
26688         * resolv/tst-res_hconf_reorder.c: New test.
26689         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26690         tst-res_hconf_reorder.
26691         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26692         and $(shared-thread-library).
26693         (tst-res_hconf_reorder-ENV): New variable.
26695         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26696         in comment.
26698 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26700         [BZ #16353]
26701         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26702         (__expm1): Force underflow exception for arguments with small
26703         absolute value.
26704         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26705         (__expm1f): Force underflow exception for arguments with small
26706         absolute value.
26707         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26708         (__expm1): Force underflow exception for arguments with small
26709         absolute value.
26710         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26711         (__expm1f): Force underflow exception for arguments with small
26712         absolute value.
26713         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26714         Check for small arguments before calling __expm1.
26715         * math/auto-libm-test-in: Do not mark underflow exceptions as
26716         possibly missing for bug 16353.
26717         * math/auto-libm-test-out: Regenerated.
26719 2015-06-22  Andreas Schwab  <schwab@suse.de>
26721         [BZ #18513]
26722         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26723         PTR queries.
26725 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26727         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26729         * string/strcoll_l.c: Remove unused struct element idxnow.
26731 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26733         [BZ #18569]
26734         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26735         underflow and return argument in case of subnormal argument.
26736         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26737         Likewise.
26738         * math/auto-libm-test-in: Add more tests of expm1.
26739         * math/auto-libm-test-out: Regenerated.
26741         [BZ #16361]
26742         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26743         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26744         tiny results.
26745         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26746         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26747         tiny results.
26748         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26749         mark underflow exceptions as possibly missing for bug 16361.
26750         * math/auto-libm-test-out: Regenerated.
26752 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26754         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26755         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26756         Remove variable.
26757         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26758         (test-xfail-XOPEN2K8/utmpx.h/conform).
26760         * conform/conformtest.pl ($xerrors): New variable.
26761         (note_error): New function.
26762         (compiletest): New argument $xfail.  Use not_error.
26763         (runtest): Likewise.
26764         (top level): Handle xfail- lines.  Update calls to compiletest and
26765         runtest.  Handle xfail- and optional- in headers listed with
26766         allow-header.
26767         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26768         (O_EXEC): Likewise.
26769         (O_SEARCH): Likewise.
26770         * conform/data/stropts.h-data (ioctl): Likewise.
26771         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26772         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26773         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26774         (msghdr.msg_controllen): Likewise.
26775         (cmsghdr.cmsg_len): Likewise.
26776         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26777         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26778         variable.
26779         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26780         (test-xfail-XPG4/stropts.h/conform): Likewise.
26781         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26782         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26783         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26784         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26785         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26786         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26787         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26788         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26789         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26790         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26791         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26792         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26793         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26794         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26795         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26796         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26797         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26798         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26799         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26801 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26803         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26804         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26805         definitions for proper unfolding of __MATHDECL_VEC.
26807 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26809         * benchtests/bench-strcoll.c:
26810         Include string.h.
26811         (main): Remove unused variable res.
26813 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26815         * timezone/Makefile (%/UTC %/Universal):
26816         Generate test-result files for UTC and Universal.
26818 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26820         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26822 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26824         [BZ #16350]
26825         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26826         for arguments with small absolute value.
26827         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26828         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26829         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26830         (__asinh): Force underflow exception for arguments with small
26831         absolute value.
26832         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26833         (__asinhf): Force underflow exception for arguments with small
26834         absolute value.
26835         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26836         (__asinhl): Force underflow exception for arguments with small
26837         absolute value.
26838         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26839         (__asinhl): Force underflow exception for arguments with small
26840         absolute value.
26841         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26842         (__asinhl): Force underflow exception for arguments with small
26843         absolute value.
26844         * math/auto-libm-test-in: Do not mark underflow exceptions as
26845         possibly missing for bug 16350.
26846         * math/auto-libm-test-out: Regenerated.
26848         * include/bits/ipc.h: Remove file.
26849         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26850         variable.
26851         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26852         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26853         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26854         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26855         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26856         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26857         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26858         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26859         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26861         * math/auto-libm-test-in: Remove spurious underflow allowance for
26862         tests of cexp.
26863         * math/auto-libm-test-out: Regenerated.
26865         [BZ #18558]
26866         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26867         unconditional definition.
26868         (MCAST_BLOCK_SOURCE): Likewise.
26869         (MCAST_UNBLOCK_SOURCE): Likewise.
26870         (MCAST_LEAVE_GROUP): Likewise.
26871         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26872         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26873         (MCAST_MSFILTER): Likewise.
26874         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26875         Remove variable.
26876         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26877         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26878         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26879         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26880         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26882 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26884         * NEWS: Mention addition of x86_64 vector sincosf.
26885         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26886         * math/test-float-vlen4.h: Likewise.
26887         * math/test-float-vlen8.h: Likewise.
26888         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26889         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26890         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26891         * sysdeps/x86_64/fpu/Versions: New versions added.
26892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26893         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26894         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26895         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26896         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26897         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26898         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26901         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26902         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26903         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26904         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26905         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26906         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26907         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26908         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26909         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26910         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26911         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26912         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26913         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26914         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26915         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26917         * NEWS: Mention addition of x86_64 vector sincos.
26918         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26919         * math/math.h (__MATHDECL_VEC): New macro.
26920         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26921         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26922         declaration under condition.
26923         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26924         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26925         TEST_VEC_LOOP change.
26926         * math/test-double-vlen4.h: Likewise.
26927         * math/test-double-vlen8.h: Likewise.
26928         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26929         * math/test-float-vlen4.h: Likewise.
26930         * math/test-float-vlen8.h: Likewise.
26931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26932         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26934         * sysdeps/x86_64/fpu/Versions: New versions added.
26935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26937         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26939         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26940         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26941         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26943         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26944         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26945         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26946         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26947         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26948         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26949         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26950         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26951         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26952         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26956         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26957         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26958         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26962         redirections for powf.
26963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26964         * sysdeps/x86_64/fpu/Versions: New versions added.
26965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26967         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26968         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26969         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26970         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26971         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26972         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26973         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26974         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26975         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26976         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26977         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26978         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26979         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26980         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26981         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26982         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26983         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26984         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26987         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26988         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26989         * math/test-float-vlen16.h: Fixed 2 argument macro.
26990         * math/test-float-vlen4.h: Likewise.
26991         * math/test-float-vlen8.h: Likewise.
26992         * NEWS: Mention addition of x86_64 vector powf.
26994 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26996         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26997         and redefine.
26998         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26999         and redefine.
27000         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27001         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27002         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27004         [BZ #18553]
27005         * resource/getpriority.c (getpriority): Rename to __getpriority
27006         and define as weak alias of __getpriority.
27007         * resource/setpriority.c (setpriority): Rename to __setpriority
27008         and define as weak alias of __setpriority.
27009         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27010         __getpriority and define as weak alias of __getpriority.
27011         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27012         __setpriority and define as weak alias of __setpriority.
27013         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27014         strong name.
27015         (setpriority): Use __setpriority as strong name.
27016         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27017         __getpriority and define as weak alias of __getpriority.
27018         * include/sys/resource.h (__getpriority): Declare.  Use
27019         libc_hidden_proto.
27020         (__setpriority): Likewise.
27021         (getpriority): Don't use libc_hidden_proto.
27022         (setpriority): Likewise.
27023         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27024         getpriority.  Call __setpriority instead of setpriority.
27025         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27026         Remove variable.
27028         [BZ #18547]
27029         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27030         as weak alias of __getttynam.  Use prototype function definition.
27031         Call __setttyent, __getttyent and __endttyent instead of
27032         setttyent, getttyent and endttyent.
27033         (getttyent): Rename to __getttyent and define as weak alias of
27034         __getttyent.  Call __setttyent instead of setttyent.  Call
27035         __fgets_unlocked instead of fgets_unlocked.
27036         (setttyent): Rename to __setttyent and define as weak alias of
27037         __setttyent.
27038         (endttyent): Rename to __endttyent and define as weak alias of
27039         __endttyent.
27040         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27041         (__setttyent): Likewise.
27042         (__endttyent): Likewise.
27043         (getttyent): Don't use libc_hidden_proto.
27044         (setttyent): Likewise.
27045         (endttyent): Likewise.
27046         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27047         __endttyent instead of setttyent, getttyent and endttyent.
27048         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27049         Remove variable.
27051         [BZ #18546]
27052         * socket/recv.c (__recv): Use libc_hidden_def.
27053         * socket/socket.c (__socket): Likewise.
27054         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27055         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27056         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27057         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27058         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27059         libc_hidden_def.
27060         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27061         libc_hidden_weak.
27062         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27063         Use libc_hidden_proto.
27064         (__recv): Likewise.
27065         * socket/Versions (libc): Export __recv and __socket at version
27066         GLIBC_PRIVATE.
27067         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27068         instead of recv.
27069         (init_mq_netlink): Call __socket instead of socket.
27070         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27071         Remove variable.
27073         [BZ #18545]
27074         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27075         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27076         hidden_weak.
27077         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27078         define as alias of __mq_timedsend.  Use hidden_weak.
27079         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27080         __mq_timedsend as strong name.
27081         (mq_timedreceive): Use __mq_timedreceive as strong name.
27082         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27083         (__mq_timedreceive): Likewise.
27084         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27085         __mq_timedreceive instead of mq_timedreceive.
27086         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27087         instead of mq_timedsend.
27088         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27089         Remove variable.
27091         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27092         hidden_def and hidden_weak instead of libc_hidden_def and
27093         libc_hidden_weak.
27094         (top level): Refer to hidden_def in comment.
27095         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27096         macro.  Use it instead of libc_hidden_def.
27097         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27098         specify __GI_* name explicitly.
27099         (mq_timedreceive): Likewise.
27100         (mq_setattr): Likewise.
27102         [BZ #18544]
27103         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27104         __pthread_barrier_init and define as weak alias of
27105         __pthread_barrier_init.
27106         * sysdeps/sparc/nptl/pthread_barrier_init.c
27107         (pthread_barrier_init): Likewise.
27108         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27109         __pthread_barrier_wait and define as weak alias of
27110         __pthread_barrier_wait.
27111         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27112         (pthread_barrier_wait): Likewise.
27113         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27114         (pthread_barrier_wait): Likewise.
27115         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27116         (pthread_barrier_wait): Likewise.
27117         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27118         (pthread_barrier_wait): Likewise.
27119         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27120         __pthread_barrier_wait at version GLIBC_PRIVATE.
27121         * include/pthread.h (__pthread_barrier_init): Declare.
27122         (__pthread_barrier_wait): Likewise.
27123         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27124         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27125         (helper_thread): Likewise.
27126         (init_mq_netlink): Call __pthread_barrier_init instead of
27127         pthread_barrier_init.
27129         [BZ #18542]
27130         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27131         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27132         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27133         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27134         vswscanf.
27135         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27136         Remove variable.
27138         [BZ #18540]
27139         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27140         strong alias of _IO_fflush.  Use libc_hidden_def.
27141         * libio/iofflush_u.c (fflush_unlocked): Rename to
27142         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27143         Use libc_hidden_weak.
27144         * include/stdio.h (__fflush_unlocked): Declare.  Use
27145         libc_hidden_proto.
27146         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27147         fflush_unlocked.
27148         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27149         Remove variable.
27151         [BZ #18539]
27152         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27153         define as weak alias of __addseverity.
27154         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27155         Remove variable.
27156         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27157         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27158         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27160         [BZ #18536]
27161         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27162         (__tfind): Likewise.
27163         (__tdelete): Likewise.
27164         (__twalk): Likewise.
27165         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27166         __twalk to GLIBC_PRIVATE.
27167         * include/search.h (__tsearch): Use libc_hidden_proto.
27168         (__tfind): Likewise.
27169         (__tdelete): Likewise.
27170         (__twalk): Likewise.
27171         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27172         Call __tdelete instead of tdelete.
27173         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27174         tfind.  Call __tsearch instead of tsearch.
27175         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27176         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27177         Remove variable.
27178         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27180         [BZ #18534]
27181         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27182         (dprintf): Define as a weak alias of __dprintf, not a strong
27183         alias.
27184         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27185         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27186         dprintf.
27187         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27188         Remove variable.
27189         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27190         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27192         [BZ #18533]
27193         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27194         not a strong alias.
27195         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27196         Remove variable.
27198         [BZ #18532]
27199         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27200         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27201         (in6addr_loopback): Rename to __in6addr_loopback and define as
27202         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27203         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27204         libc_hidden_proto.
27205         (__in6addr_any): Likewise.
27206         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27207         in6addr_any.
27208         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27209         variable.
27210         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27212 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27214         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27215         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27216         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27217         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27218         redirections for pow.
27219         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27220         * sysdeps/x86_64/fpu/Versions: New versions added.
27221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27222         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27223         build of SSE, AVX2 and AVX512 IFUNC versions.
27224         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27225         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27226         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27227         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27228         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27229         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27230         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27231         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27232         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27233         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27234         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27235         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27236         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27237         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27238         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27241         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27242         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27243         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27244         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27245         * NEWS: Mention addition of x86_64 vector pow.
27247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27249         redirections for expf.
27250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27251         * sysdeps/x86_64/fpu/Versions: New versions added.
27252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27254         build of SSE, AVX2 and AVX512 IFUNC versions.
27255         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27256         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27257         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27258         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27259         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27260         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27261         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27262         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27263         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27264         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27265         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27266         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27267         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27268         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27269         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27270         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27271         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27273         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27274         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27275         * NEWS: Mention addition of x86_64 vector expf.
27277         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27278         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27279         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27280         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27281         redirections for exp.
27282         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27283         * sysdeps/x86_64/fpu/Versions: New versions added.
27284         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27285         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27286         build of SSE, AVX2 and AVX512 IFUNC versions.
27287         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27288         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27289         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27290         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27291         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27292         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27293         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27294         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27295         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27296         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27297         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27298         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27299         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27300         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27301         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27302         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27303         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27304         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27305         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27306         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27307         * NEWS: Mention addition of x86_64 vector exp.
27309         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27310         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27311         redirections for logf.
27312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27313         * sysdeps/x86_64/fpu/Versions: New versions added.
27314         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27315         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27316         build of SSE, AVX2 and AVX512 IFUNC versions.
27317         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27318         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27319         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27320         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27321         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27322         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27323         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27324         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27325         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27326         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27327         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27328         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27329         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27330         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27331         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27332         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27333         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27334         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27335         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27336         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27337         * NEWS: Mention addition of x86_64 vector logf.
27339         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27340         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27341         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27342         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27343         redirections for log.
27344         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27345         * sysdeps/x86_64/fpu/Versions: New versions added.
27346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27347         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27348         build of SSE, AVX2 and AVX512 IFUNC versions.
27349         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27350         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27351         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27352         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27353         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27354         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27355         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27356         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27357         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27358         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27359         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27360         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27361         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27362         test.
27363         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27364         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27365         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27366         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27367         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27368         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27369         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27370         * NEWS: Mention addition of x86_64 vector log.
27372 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27374         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27375         cfi_adjust_cfa_offset argument.
27376         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27377         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27379         [BZ #18034]
27380         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27381         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27382         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27383         ordering using ldar.
27384         (_dl_tlsdesc_dynamic): Likewise.
27385         (_dl_tlsdesc_return_lazy): Likewise.
27386         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27387         relaxed atomics instead of volatile and synchronize with release store.
27388         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27389         volatile.
27390         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27392 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27394         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27395         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27396         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27397         * sysdeps/x86_64/fpu/Versions: New versions added.
27398         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27399         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27400         build of SSE, AVX2 and AVX512 IFUNC versions.
27401         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27402         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27404         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27405         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27406         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27407         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27408         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27409         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27410         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27411         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27412         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27413         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27414         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27415         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27416         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27417         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27418         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27419         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27420         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27421         * NEWS: Mention addition of x86_64 vector sinf.
27423 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27425         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27426         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27427         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27428         Remove variable.
27429         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27430         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27432 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27434         [BZ #18530]
27435         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27436         strong alias of _IO_fputs.  Use libc_hidden_def.
27437         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27438         and define as weak alias of __fputs_unlocked.  Use
27439         libc_hidden_weak.
27440         * include/stdio.h (__fputs_unlocked): Declare.  Use
27441         libc_hidden_proto.
27442         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27443         fputs_unlocked.
27445         [BZ #18529]
27446         * resolv/netdb.h [__USE_POSIX]: Change condition to
27447         [__USE_XOPEN2K].
27448         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27449         not expect.
27450         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27451         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27452         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27453         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27454         [XPG4 || UNIX98] (AI_ALL): Likewise.
27455         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27456         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27457         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27458         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27459         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27460         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27461         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27462         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27463         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27464         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27465         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27466         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27467         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27468         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27469         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27470         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27471         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27472         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27473         [XPG4 || UNIX98] (gai_strerror): Likewise.
27474         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27475         [XPG4 || UNIX98] (getnameinfo): Likewise.
27477         [BZ #18528]
27478         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27479         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27480         __USE_XOPEN2K8].
27481         (getgrent): Likewise.
27482         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27483         expect.
27484         [XPG3 || POSIX2008] (endgrent): Likewise.
27485         [XPG3] (setgrent): Likewise.
27486         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27487         variable.
27488         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27490         [BZ #18527]
27491         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27492         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27493         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27494         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27495         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27496         * include/unistd.h (__getlogin_r): Declare.  Use
27497         libc_hidden_proto.
27498         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27499         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27500         variable.
27501         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27502         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27503         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27505 2015-06-12  Martin Sebor  <msebor@redhat.com>
27507         [BZ #18512]
27508         * Makerules (check-install-supported): New target.
27509         (install): Add check-install-supported as a dependency.
27510         * manual/install.texi (Installing the C Library): Document
27511         that overriding prefix and exec_prefix is not supported.
27512         Mention DESTDIR.
27513         * INSTALL: Regenerate from the above.
27515 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27517         [BZ #18519]
27518         * posix/Versions (libc): Export __libc_pread at version
27519         GLIBC_PRIVATE.
27520         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27521         instead of pread.
27522         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27523         variable.
27525         [BZ #18522]
27526         * misc/efgcvt_r.c
27527         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27528         (cvt_symbol): Use weak_alias instead of strong_alias.
27529         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27530         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27531         Remove variable.
27532         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27533         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27535         [BZ #18520]
27536         * inet/herrno.c (h_errno): Rename to __h_errno.
27537         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27538         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27539         to __h_errno instead of h_errno.
27540         * nptl/herrno.c (h_errno): Rename to __h_errno.
27541         (__h_errno_location): Refer to __h_errno not h_errno.
27542         * resolv/Versions (h_errno): Rename to __h_errno.
27543         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27544         Remove variable.
27545         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27547 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27549         * configure.ac: More strict check for AVX512 assembler support.
27550         * configure: Regenerated.
27552         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27553         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27554         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27555         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27556         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27557         * sysdeps/x86_64/fpu/Versions: New versions added.
27558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27559         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27560         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27561         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27562         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27563         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27564         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27566         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27567         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27568         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27569         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27570         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27571         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27572         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27573         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27574         test.
27575         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27577         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27578         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27579         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27580         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27581         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27582         * NEWS: Mention addition of x86_64 vector sin.
27584 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27586         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27587         comment.
27589 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27591         [BZ #18479]
27592         * nptl/pt-interp.c: New file.
27593         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27594         Add pt-interp.
27595         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27596         $(common-objpfx)runtime-linker.h.
27598 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27600         * Makeconfig (+interp): Remove unused variable.
27601         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27602         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27603         $(elf-objpfx)runtime-linker.h.
27604         ($(elf-objpfx)runtime-linker.h): Rename to
27605         $(common-objpfx)runtime-linker.h and move ...
27606         * Makerules [$(build-shared) = yes]: ... here.
27607         * elf/interp.c: Include <runtime-linker.h> instead of
27608         <elf/runtime-linker.h>.
27610 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27612         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27613         (__gettimeofday_syscall): Remove vsyscall fallback.
27614         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27615         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27616         Add syscall fallback function.
27617         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27618         if vDSO is not present.
27619         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27620         fallback function.
27621         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27622         present.
27623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27624         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27626 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27628         [BZ #18497]
27629         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27630         of wcscmp.
27631         (wcscmp): Define as weak alias of WCSCMP.
27632         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27633         wcscoll.
27634         (USE_HIDDEN_DEF): Define.
27635         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27636         __wcscoll.  Don't use libc_hidden_weak.
27637         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27638         wcscmp.
27639         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27640         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27641         __GI_wcscmp.
27642         (weak_alias): Undefine and redefine.
27643         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27644         __wcscmp and define as weak alias of __wcscmp.
27645         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27646         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27647         (__wcscoll): Likewise.
27648         (wcscmp): Don't use libc_hidden_proto.
27649         (wcscoll): Likewise.
27650         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27651         wcscoll.
27652         * posix/regexec.c (check_node_accept_bytes): Likewise.
27653         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27654         variable.
27655         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27656         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27658         [BZ #18507]
27659         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27660         __fstatvfs and define as weak alias of __fstatvfs.  Use
27661         libc_hidden_weak.
27662         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27663         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27664         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27665         Define as alias of __fstatvfs, not fstatvfs.
27666         (fstatvfs64): Likewise.
27667         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27668         Define as alias of __statvfs, not statvfs.
27669         (statvfs64): Likewise.
27670         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27671         Remove variable.
27673 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27676         (HAVE_GETCPU_VSYSCALL): Define.
27677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27678         (HAVE_GETCPU_VSYSCALL): Likewise.
27679         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27680         * sysdeps/unix/sysv/linux/sched_getcpu.c
27681         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27682         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27683         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27684         prototype.
27685         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27686         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27687         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27689         Define.
27690         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27691         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27692         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27693         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27695 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27697         * sysdeps/x86_64/fpu/Makefile: New file.
27698         * sysdeps/x86_64/fpu/Versions: New file.
27699         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27700         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27701         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27702         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27703         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27704         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27705         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27706         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27707         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27708         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27709         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27711         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27713         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27714         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27715         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27716         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27717         * sysdeps/x86_64/configure: Regenerated.
27718         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27719         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27720         * manual/install.texi (Configuring and compiling): Document
27721         --disable-mathvec.
27722         * INSTALL: Regenerated.
27723         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27725         * math/Makefile: Added rules for vector tests.
27726         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27727         declaration under condition.
27728         * math/test-double-vlen2.h: New file.
27729         * math/test-double-vlen4.h: New file.
27730         * math/test-double-vlen8.h: New file.
27731         * math/test-vec-loop.h: Added initialization macro.
27732         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27734         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27735         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27736         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27737         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27738         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27739         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27740         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27741         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27742         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27744         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27745         * sysdeps/x86_64/fpu/Versions: New versions added.
27746         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27747         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27748         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27749         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27750         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27751         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27753         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27755         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27756         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27757         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27758         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27759         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27760         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27762         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27763         * NEWS: Mention addition of x86_64 vector cosf.
27765         * math/Makefile: Added CFLAGS for new tests.
27766         * math/test-float-vlen16.h: New file.
27767         * math/test-float-vlen4.h: New file.
27768         * math/test-float-vlen8.h: New file.
27769         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27770         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27771         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27772         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27773         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27774         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27775         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27777         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27778         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27779         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27781 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27783         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27784         * locale/programs/ld-ctype.c: Likewise.
27786 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27788         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27789         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27790         bit_ZMM16_31_state): New macro.
27791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27792         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27794 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27796         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27798 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27800         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27802 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27804         [BZ #18498]
27805         * libio/memstream.c (open_memstream): Rename to __open_memstream
27806         and define as weak alias of __open_memstream.
27807         * include/stdio.h (__open_memstream): Declare.  Use
27808         libc_hidden_proto.
27809         (open_memstream): Don't use libc_hidden_proto.
27810         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27811         open_memstream.
27812         * posix/getopt.c (_getopt_internal_r): Likewise.
27813         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27814         variable.
27815         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27816         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27817         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27819         [BZ #18496]
27820         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27821         instead of wcrtomb.
27823         [BZ #18483]
27824         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27825         [__USE_XOPEN2K8].  Remove redundant #endif.
27826         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27827         Remove redundant #if.
27828         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27829         Remove variable.
27830         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27831         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27833         [BZ #18495]
27834         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27835         (__iswlower): Likewise.
27836         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27837         (__iswlower): Likewise.
27838         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27839         instead of towlower.
27840         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27841         instead of iswlower.  Call __towupper instead of towupper.
27842         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27843         instead of iswalnum.
27845 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27847         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27848         errors to stderr.
27850 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27852         [BZ #15661]
27853         [BZ #17322]
27854         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27855         Check for overflow properly.  Check for O_APPEND.  Ignore large
27856         file system block sizes.  Add comments about problems.
27857         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27858         * manual/filesys.texi (Storage Allocation): New node.
27860 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27862         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27863         cancellable syscalls.
27864         (SYS_ify): Add guard to no redefine it.
27865         (INLINE_SYSCALL): Likewise.
27866         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27867         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27868         SYSCALL_CANCEL instead.
27869         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27870         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27871         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27872         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27873         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27874         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27875         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27876         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27877         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27878         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27879         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27880         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27881         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27882         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27883         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27885         Likewise.
27886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27887         (__libc_pread64): Likewise.
27888         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27889         (__libc_preadv): Likewise.
27890         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27891         (__libc_readv64): Likewise.
27892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27893         (__libc_pwrite): Likewise.
27894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27895         (__libc_pwrite64): Likewise.
27896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27897         (__libc_pwritev): Likewise.
27898         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27899         (__libc_pwritev64): Likewise.
27900         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27901         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27902         (sync_file_range): Likewise.
27903         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27904         Likewise.
27905         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27906         Likewise.
27907         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27908         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27909         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27910         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27911         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27912         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27913         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27914         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27916         Likewise.
27917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27918         (__libc_read64): Likewise.
27919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27920         Likewise.
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27922         Likewise.
27923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27924         Likewise.
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27926         Likewise.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27928         (__libc_pread64): Likewise.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27930         Likewise.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27932         (__libc_pwrite64): Likewise.
27933         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27934         (sync_file_range): Likewise.
27935         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27936         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27937         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27938         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27939         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27940         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27941         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27942         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27943         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27944         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27945         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27946         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27947         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27948         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27949         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27950         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27951         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27952         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27953         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27954         Likewise.
27955         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27956         Likewise.
27957         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27958         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27959         Likewise.
27960         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27961         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27962         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27963         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27964         Likewise.
27965         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27966         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27967         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27968         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27969         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27971 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27973         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27974         Include dl-vdso.
27975         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27976         Use VDSO routines for gettimeofday, clock_gettime if
27977         available.
27978         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27979         Declare VDSO symbols.
27980         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27981         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27982         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27983         * sysdeps/unix/sysv/linux/arm/Versions: Add
27984         __vdso_clock_gettime.
27986 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27988         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27989         be an inline implementation regardless of library is built within.
27990         (open_not_cancel_2): Likewise.
27991         (__read_nocancel): Likewise.
27992         (__write_nocancel): Likewise.
27993         (openat_not_cancel): Likewise.
27994         (openat_not_cancel_3): Likewise.
27995         (openat64_not_cancel): Likewise.
27996         (openat64_not_cancel_3): Likewise.
27997         (__close_nocancel): Likewise.
27998         (pause_not_cancel): Likewise.
27999         (nanosleep_not_cancel): Likewise.
28000         (sigsuspend_not_cancel): Likewise.
28002 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28004         [BZ #14958]
28005         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28006         wake-up.
28007         (__pthread_rwlock_rdlock_slow): Likewise.
28008         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28009         Likewise.
28010         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28011         Likewise.
28012         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28013         * nptl/tst-rwlock16.c: New file.
28014         * nptl/Makefile (tests): Add new test.
28016 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28018         [BZ #18324]
28019         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28020         missing wake-up of readers.
28021         * nptl/tst-rwlock15.c: New file.
28022         * nptl/Makefile (tests): Add new test.
28024 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28026         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28027         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28028         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28029         and __nacl_supply_interface_rtld.
28030         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28031         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28032         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28033         Add __nacl_supply_interface_rtld.
28034         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28036 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28038         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28039         isfinite.
28040         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28041         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28043 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28045         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28046         __signbit* with standard C99 macros.
28047         * math/e_exp10l.c: Likewise.
28048         * math/e_exp2l.c: Likewise.
28049         * math/e_scalb.c: Likewise.
28050         * math/e_scalbf.c: Likewise.
28051         * math/e_scalbl.c: Likewise.
28052         * math/s_ldexp.c: Likewise.
28053         * math/s_ldexpf.c: Likewise.
28054         * math/s_ldexpl.c: Likewise.
28055         * math/w_atan2.c: Likewise.
28056         * math/w_atan2f.c: Likewise.
28057         * math/w_atan2l.c: Likewise.
28058         * math/w_cosh.c: Likewise.
28059         * math/w_coshf.c: Likewise.
28060         * math/w_coshl.c: Likewise.
28061         * math/w_exp10.c: Likewise.
28062         * math/w_exp10f.c: Likewise.
28063         * math/w_exp10l.c: Likewise.
28064         * math/w_exp2.c: Likewise.
28065         * math/w_exp2f.c: Likewise.
28066         * math/w_exp2l.c: Likewise.
28067         * math/w_fmod.c: Likewise.
28068         * math/w_fmodf.c: Likewise.
28069         * math/w_fmodl.c: Likewise.
28070         * math/w_hypot.c: Likewise.
28071         * math/w_hypotf.c: Likewise.
28072         * math/w_hypotl.c: Likewise.
28073         * math/w_jnl.c: Likewise.
28074         * math/w_lgamma.c: Likewise.
28075         * math/w_lgamma_r.c: Likewise.
28076         * math/w_lgammaf.c: Likewise.
28077         * math/w_lgammaf_r.c: Likewise.
28078         * math/w_lgammal.c: Likewise.
28079         * math/w_lgammal_r.c: Likewise.
28080         * math/w_pow.c: Likewise.
28081         * math/w_powf.c: Likewise.
28082         * math/w_powl.c: Likewise.
28083         * math/w_remainder.c: Likewise.
28084         * math/w_remainderf.c: Likewise.
28085         * math/w_remainderl.c: Likewise.
28086         * math/w_scalb.c: Likewise.
28087         * math/w_scalbf.c: Likewise.
28088         * math/w_scalbl.c: Likewise.
28089         * math/w_scalbln.c: Likewise.
28090         * math/w_scalblnf.c: Likewise.
28091         * math/w_scalblnl.c: Likewise.
28092         * math/w_sinh.c: Likewise.
28093         * math/w_sinhf.c: Likewise.
28094         * math/w_sinhl.c: Likewise.
28095         * math/w_tgamma.c: Likewise.
28096         * math/w_tgammaf.c: Likewise.
28097         * math/w_tgammal.c: Likewise.
28098         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28099         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28100         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28101         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28102         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28104         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28105         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28106         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28107         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28108         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28109         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28110         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28111         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28112         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28113         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28114         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28115         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28116         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28117         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28118         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28119         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28120         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28122         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28123         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28124         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28125         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28126         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28127         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28128         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28129         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28130         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28131         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28132         * stdio-common/printf_fp.c: Likewise.
28133         * stdio-common/printf_fphex.c: Likewise.
28134         * stdio-common/printf_size.c: Likewise.
28136 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28138         [BZ #18470]
28139         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28140         strnlen.
28141         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28142         Remove variable.
28143         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28144         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28145         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28146         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28147         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28148         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28149         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28150         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28151         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28152         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28154         [BZ #18468]
28155         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28156         weak alias of __wmemchr.  Use libc_hidden_weak.
28157         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28158         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28159         instead of wmemchr.
28161 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28163         [BZ #18383]
28164         * elf/tst-tlsalign-extern.c: New file.
28165         * elf/tst-tlsalign-extern-static.c: New file.
28166         * elf/tst-tlsalign-vars.c: New file.
28167         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28168         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28169         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28170         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28171         (test-xfail-tst-tlsalign-extern-static): New variable.
28173 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28175         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28176         Use variable name _sc_err instead of err.
28177         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28178         instead of ret.
28179         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28180         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28181         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28182         (INLINE_SYSCALL): Likewise.
28184         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28185         * include/string.h (__strnlen): Use libc_hidden_proto.
28186         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28187         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28188         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28189         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28190         (libc_hidden_def): Undefine and redefine.
28191         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28192         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28193         __GI_strnlen.
28194         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28195         libc_hidden_def.
28196         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28198         [BZ #18469]
28199         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28200         weak alias of __towlower.  Use libc_hidden_weak.
28201         (towupper): Rename to __towupper and define as weak alias of
28202         __towupper.  Use libc_hidden_weak.
28203         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28204         (__towupper): Likewise.
28205         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28206         __towlower instead of towlower.
28208 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28210         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28211         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28213 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28215         * sysdeps/aarch64/libm-test-ulps: Update.
28217 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28219         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28220         Define.
28221         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28223         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28224         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28225         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28226         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28227         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28229 2015-06-01  Martin Sebor  <msebor@redhat.com>
28231         [BZ #18116]
28232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28233         (__setcontext): Use extended four-operand version of mtsf whenever
28234         possible.
28235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28236         (__novec_swapcontext): Likewise.
28238 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240         * benchtests/scripts/compare_bench.py: New file.
28241         * benchtests/scripts/import_bench.py (mean): New function.
28242         (split_list): Likewise.
28243         (do_for_all_timings): Likewise.
28244         (compress_timings): Likewise.
28246         * benchtests/scripts/import_bench.py: New file.
28247         * benchtests/scripts/validate_benchout.py: Import import_bench
28248         instead of jsonschema.
28249         (validate_bench): Remove function.
28250         (main): Use import_bench.
28252 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28254         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28255         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28257 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28261 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28263         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28264         set THREAD_SELF->tid to a magic value and futex-wake it.
28265         Pass its address to the thread_exit system call.
28266         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28267         bit is clear.
28268         * sysdeps/nacl/lowlevellock.h: New file.
28269         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28271         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28272         Add TIMEOUT to current time, don't subtract it.
28274 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28276         [BZ #2981]
28277         [BZ #18422]
28278         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28279         ($(objpfx)tst-audit2.out): Also depend on
28280         $(objpfx)tst-auditmod9b.so.
28281         * elf/tst-audit2.c: Include <dlfcn.h>.
28282         (calloc_called): New.
28283         (calloc): Allow to be called more than once.
28284         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28286 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28288         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28289         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28291 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28293         * stdlib/monetary.h: Fix comment.
28295 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28297         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28298         Avoid using variables in #defines that might cause shadowing.
28299         (INTERNAL_VSYSCALL_CALL): Likewise.
28301 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28303         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28305         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28306         * nptl/lll_timedlock_wait.c: ... to this new file.
28307         * nptl/Makefile (libpthread-routines): Add it.
28308         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28309         * nptl/lll_timedwait_tid.c: ... to this new file.
28310         * nptl/Makefile (libpthread-routines): Add it.
28311         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28312         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28313         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28314         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28315         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28316         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28317         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28318         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28319         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28320         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28322 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28324         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28325         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28326         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28328         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28330         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28332         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28333         * sysdeps/unix/sysv/linux/tile/sysdep.h
28334         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28335         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28336         using vDSO syscall macro.
28338 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28340         [BZ #17293]
28341         * uk_UA: Fix sorting order for Ukrainian locale
28343 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28345         * stdlib/monetary.h: Fix comment.
28347 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28349         [BZ #18234]
28350         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28351         st_mtim and st_ctim members.
28352         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28353         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28354         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28355         (struct stat64): Likewise.
28356         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28357         (struct stat64): Likewise.
28358         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28359         (struct stat64): Likewise.
28361 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28363         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28364         Define and include sysdep-vdso.h.
28365         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28366         Likewise.
28367         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28368         Likewise.
28369         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28370         Define with VDSO_SYMBOL and use PTR_MANGLE.
28371         (__vdso_clock_gettime): Likewise.
28372         (__vdso_clock_getres): Likewise.
28373         (_libc_vdso_platform_setup): Likewise.
28374         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28375         Likewise.
28376         (_libc_vdso_platform_setup): Likewise.
28377         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28378         Likewise.
28379         (__vdso_clock_gettime): Likewise.
28380         (__vdso_clock_getres): Likewise.
28381         (__vdso_get_tbfreq): Likewise.
28382         (__vdso_getcpu): Likewise.
28383         (__vdso_time): Likewise.
28384         (__vdso_sigtramp_rt64): Likewise.
28385         (__vdso_signtramp32): Likewise.
28386         (__vdso_sigtramp_rt32): Likewise.
28387         (_libc_vdso_platform_setup): Likewise.
28388         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28389         Likewise.
28390         (__vdso_clock_gettime): Likewise.
28391         (__vdso_clock_getres): Likewise.
28392         (_libc_vdso_platform_setup): Likewise.
28393         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28394         Likewise.
28395         (__vdso_clock_gettime): Likewise.
28396         (_libc_vdso_platform_setup): Likewise.
28397         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28398         Likewise.
28399         (__vdso_getcpu): Likewise.
28400         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28401         Use VDSO_SYMBOL macro to define.
28402         (__vdso_clock_gettime): Likewise.
28403         (__vdso_clock_getres): Likewise.
28404         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28405         Likewise.
28406         (__vdso_clock_gettime): Likewise.
28407         (__vdso_clock_getres): Likewise.
28408         (__vdso_get_tbfreq): Likewise.
28409         (__vdso_getcpu): Likewise.
28410         (__vdso_time): Likewise.
28411         (__vdso_sigtramp_rt64): Likewise.
28412         (__vdso_signtramp32): Likewise.
28413         (__vdso_sigtramp_rt32): Likewise.
28414         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28415         Likewise.
28416         (__vdso_clock_gettime): Likewise.
28417         (__vdso_clock_getres): Likewise.
28418         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28419         Likewise.
28420         (__vdso_clock_gettime): Likewise.
28421         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28422         Likewise.
28423         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28424         macro.
28425         (INTERNAL_VSYSCALL): Likewise.
28426         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28427         Remove macro.
28428         (INTERNAL_VSYSCALL): Likewise.
28429         (INTERNAL_VSYSCALL_NCS): Likewise.
28430         (INTERNAL_VSYSCALL_CALL): New macro.
28431         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28432         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28433         Likewise.
28434         (INTERNAL_VSYSCALL): Likewise.
28435         (INTERNAL_VSYSCALL_NCS): Likewise.
28436         (INTERNAL_VSYSCALL_CALL): New macro.
28437         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28439         (INLINE_VSYSCALL): Remove macro.
28440         (INTERNAL_VSYSCALL): Remove macro.
28441         (INTERNAL_VSYSCALL_NCS): Remove macro.
28442         (INTERNAL_VSYSCALL_CALL): New macro.
28443         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28444         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28445         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28446         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28447         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28449         (INLINE_VSYSCALL): Remove macro.
28450         (INTERNAL_VSYSCALL): Likewise.
28451         (INTERNAL_VSYSCALL_NCS): Likewise.
28452         (INTERNAL_VSYSCALL_CALL): New macro.
28453         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28454         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28455         PTR_DEMANGLE on vDSO pointer.
28456         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28457         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28458         macro.
28459         (INTERNAL_SYSCALL): Likewise.
28460         (INTERNAL_VSYSCALL_NCS): Remove macro.
28461         (INTERNAL_VSYSCALL_CALL): New macro.
28462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28463         Remove macro.
28464         (INTERNAL_VSYSCALL): Likewise.
28465         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28466         sysdep-vdso.h instead of libc-vdso.h.
28467         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28468         definition.
28469         (INLINE_VSYSCALL): Likewise.
28470         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28471         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28472         definition.
28473         (INLINE_VSYSCALL): Likewise.
28474         (INTERNAL_VSYSCALL): Likewise.
28475         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28476         * sysdeps/unix/sysv/linux/timespec_get.c
28477         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28478         (timespec_get): Use ANSI prototype.
28479         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28480         and definition for Linux.
28482 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28484         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28485         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28487 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28489         [BZ #2981]
28490         [BZ #18410]
28491         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28492         for missing DT_PLTRELSZ.
28494 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28496         Remove obsolete aliases that broke 'locale -a'
28497         [BZ #18412]
28498         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28499         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28500         breaking some applications that use 'locale -a' output.
28501         Change the encoding of this file from Latin-1 to ASCII to avoid
28502         other potential problems with people grepping this file.
28504 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28506         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28507         -fasynchronous-unwind-tables.
28508         (CFLAGS-sendto.c): Likewise.
28509         (CFLAGS-sendmsg.c): Likewise.
28510         (CFLAGS-connect.c): Likewise.
28511         (CFLAGS-recvmsg.c): Likewise.
28512         (CFLAGS-recvfrom.c): Likewise.
28513         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28514         (SOCKETCALL): New macro: non-cancellable socketcall.
28515         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28516         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28517         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28518         * sysdeps/unix/sysv/linux/accept.c: New file.
28519         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28520         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28521         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28522         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28523         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28524         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28525         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28526         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28527         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28528         * sysdeps/unix/sysv/linux/send.c: Likewise.
28529         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28530         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28531         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28532         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28533         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28534         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28535         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28536         prototype.
28537         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28538         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28539         instead of __internal_xxx function.
28540         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28541         prototype.
28542         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28543         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28544         instead of __internal_xxx function.
28545         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28546         prototype.
28547         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28548         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28549         instead of __internal_xxx function.
28550         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28551         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28552         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28553         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28554         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28555         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28556         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28557         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28558         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28559         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28560         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28561         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28562         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28563         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28564         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28565         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28566         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28567         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28568         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28569         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28572         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28573         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28574         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28575         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28576         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28577         * sysdeps/unix/sysv/linux/send.S: Likewise.
28578         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28579         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28580         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28581         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28582         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28583         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28584         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28585         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28586         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28587         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28588         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28589         socketcall is implemented in GLIBC.
28591 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28593         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28594         (__fma): Ignore uninitialized warnings around packing.
28595         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28596         (__fmaf): Ignore uninitialized warnings around packing.
28597         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28598         (__fmal): Ignore uninitialized warnings around packing.
28600         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28601         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28602         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28603         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28605         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28606         switch statement into default case.
28607         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28609         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28610         a conditional in forcing "inexact".
28611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28612         Likewise.
28614 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28616         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28617         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28618         for each INTERNAL_SYSCALL use.
28620 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28622         [BZ #438]
28623         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28624         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28625         variable.
28627         [BZ #18444]
28628         * string/basename.c (basename): Rename to __basename and define as
28629         weak alias of __basename.  Use libc_hidden_weak.
28630         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28631         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28632         __basename instead of basename.
28633         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28634         Remove variable.
28635         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28637 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28639         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28640         (_IO_JUMPS_FILE_plus): New.
28641         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28642         _IO_CAST_FIELD_ACCESS.
28643         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28644         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28645         * libio/freopen.c (freopen): Likewise.
28646         * libio/freopen64.c (freopen64): Likewise.
28647         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28648         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28649         * libio/iofwide.c (_IO_fwide): Likewise.
28650         * libio/memstream.c (open_memstream): Likewise.
28651         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28652         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28653         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28655 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28657         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28658         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28659         NADJ.
28660         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28661         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28662         NADJ.
28663         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28664         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28665         NADJ.
28667         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28668         (p == 4) case.
28670         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28671         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28672         Remove variable.
28673         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28674         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28675         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28677 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28679         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28680         Adjust jump table label generation macros.
28682 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28684         * stdio-common/vfprintf.c (vfprintf): Move local variables
28685         args_malloced, specs, specs_malloced, and the code after
28686         do_positional to the printf_positional function.
28687         (printf_positional): New function.
28689 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28691         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28692         function.
28693         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28694         STEP4_TABLE, process_arg): Move macro definitions
28695         out of the vfprintf function.  (Cosmetic change only.)
28697 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28699         * benchtests/Makefile (stdio-common-bench): Define.
28700         (benchset): Add stdio-common-bench.
28701         * sprintf-inputs: New file.
28702         * sprintf-source.c: New file.
28704 2015-05-21  Andreas Schwab  <schwab@suse.de>
28706         [BZ #13028]
28707         [BZ #17053]
28708         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28709         of struct __res_state.
28710         * resolv/res_send.c (__libc_res_nsend): Likewise.
28711         (get_nsaddr): New function.
28712         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28713         statp directly.
28715 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28717         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28718         -D_POSIX_C_SOURCE=199506L.
28720         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28722         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28723         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28724         Do not mention otherwise.
28725         [POSIX] (_XOPEN_VERSION): Do not expect.
28726         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28727         [POSIX] (_POSIX2_C_BIND): Likewise.
28728         [POSIX] (_POSIX2_VERSION): Likewise.
28729         [POSIX] (_XOPEN_XPG2): Likewise.
28730         [POSIX] (_XOPEN_XPG3): Likewise.
28731         [POSIX] (_XOPEN_XPG4): Likewise.
28732         [POSIX] (_XOPEN_UNIX): Likewise.
28733         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28734         [POSIX] (_POSIX_BARRIERS): Likewise.
28735         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28736         [POSIX] (_POSIX_CPUTIME): Likewise.
28737         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28738         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28739         [POSIX] (_POSIX_SHELL): Likewise.
28740         [POSIX] (_POSIX_SPAWN): Likewise.
28741         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28742         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28743         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28744         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28745         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28746         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28747         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28748         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28749         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28750         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28751         [POSIX] (_POSIX2_PBS): Likewise.
28752         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28753         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28754         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28755         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28756         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28757         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28758         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28759         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28760         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28761         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28762         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28763         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28764         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28765         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28766         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28767         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28768         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28769         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28770         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28771         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28772         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28773         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28774         [POSIX] (_SC_2_C_BIND): Likewise.
28775         [POSIX] (_SC_2_C_VERSION): Likewise.
28776         [POSIX] (_SC_2_PBS): Likewise.
28777         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28778         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28779         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28780         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28781         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28782         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28783         [POSIX] (_SC_BARRIERS): Likewise.
28784         [POSIX] (_SC_BASE): Likewise.
28785         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28786         [POSIX] (_SC_DEVICE_IO): Likewise.
28787         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28788         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28789         [POSIX] (_SC_FD_MGMT): Likewise.
28790         [POSIX] (_SC_FIFO): Likewise.
28791         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28792         [POSIX] (_SC_FILE_LOCKING): Likewise.
28793         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28794         [POSIX] (_SC_IOV_MAX): Likewise.
28795         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28796         [POSIX] (_SC_NETWORKING): Likewise.
28797         [POSIX] (_SC_PAGE_SIZE): Likewise.
28798         [POSIX] (_SC_PASS_MAX): Likewise.
28799         [POSIX] (_SC_PIPE): Likewise.
28800         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28801         [POSIX] (_SC_REGEXP): Likewise.
28802         [POSIX] (_SC_SHELL): Likewise.
28803         [POSIX] (_SC_SIGNALS): Likewise.
28804         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28805         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28806         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28807         [POSIX] (_SC_USER_GROUPS): Likewise.
28808         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28809         [POSIX] (_SC_STREAMS): Likewise.
28810         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28811         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28812         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28813         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28814         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28815         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28816         [POSIX] (_PC_FILESIZEBITS): Likewise.
28817         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28818         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28819         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28820         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28821         [POSIX] (uid_t): Likewise.
28822         [POSIX] (gid_t): Likewise.
28823         [POSIX] (off_t): Likewise.
28824         [POSIX] (pid_t): Likewise.
28825         [POSIX] (cuserid): Allow.
28826         (_SC_2_CHAR_TERM): Require constant.
28827         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28828         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28829         variable.
28831 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28833         * sysdeps/nacl/pthread-pids.h: New file.
28834         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28835         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28837         * nptl/pthread-pids.h: New file.
28838         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28839         * nptl/nptl-init.c: Include <pthread-pids.h>.
28840         (__pthread_initialize_minimal_internal):
28841         Call __pthread_initialize_pids instead of set_tid_address syscall.
28843         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28844         * sysdeps/posix/usleep.c: ... here.
28846 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28848         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28849         call_pselect6 object.
28850         [$(subdir) = io]: Remove call_sync_file_range object.
28851         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28852         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28853         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28854         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28856 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28858         * math/s_cproj.c: Add include "math_private.h".
28859         * math/s_cprojf.c: Likewise.
28860         * math/s_cprojl.c: Likewise.
28862 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28864         [BZ #18244]
28865         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28866         high mantissa bit when testing whether P is a NaN.
28867         * math/libm-test.inc (remainder_test_data): Add more tests.
28868         (remquo_test_data): Likewise.
28870         [BZ #18049]
28871         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28872         below -32, return the argument, with underflow if subnormal.
28873         * math/auto-libm-test-in: Add more tests of atanh.
28874         * math/auto-libm-test-out: Regenerated.
28876 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28878         [BZ #18434]
28879         * nptl/tst-sem15.c: New file.
28880         * nptl/Makefile (tests): Add it.
28881         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28882         s/<</>>/ to fix typo in EOVERFLOW check.
28883         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28885 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28887         * manual/strings.texi (envz_remove): Fix typo in safety
28888         annotations.
28890 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28891             Steve Ellcey  <sellcey@imgtec.com>
28893         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28894         in order to avoid strict alias warnings.
28895         (iruserok_af): Ditto for ra.
28897 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28899         [BZ #17581]
28900         * malloc/hooks.c
28901         (magicbyte): Convert to a function and avoid returning 0x01.
28902         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28903         (mem2chunk_check): Fix unsigned comparisons to zero.
28904         Hoist defs of sz and magic.
28906 2015-05-19  Richard Henderson  <rth@redhat.com>
28908         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28910         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28912 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28914         [BZ #16159]
28915         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28916         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28917         (reused_arena): Find a non-corrupt arena.
28918         (heap_trim): Pass arena to unlink.
28919         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28920         malloc_printerr.
28921         (top_check): Likewise.
28922         (free_check): Likewise.
28923         (realloc_check): Likewise.
28924         * malloc/malloc.c (malloc_printerr): Add arena argument.
28925         (unlink): Likewise.
28926         (munmap_chunk): Adjust.
28927         (ARENA_CORRUPTION_BIT): New macro.
28928         (arena_is_corrupt): Likewise.
28929         (set_arena_corrupt): Likewise.
28930         (sysmalloc): Use mmap if there are no usable arenas.
28931         (_int_malloc): Likewise.
28932         (__libc_malloc): Don't fail if arena_get returns NULL.
28933         (_mid_memalign): Likewise.
28934         (__libc_calloc): Likewise.
28935         (__libc_realloc): Adjust for additional argument to
28936         malloc_printerr.
28937         (_int_free): Likewise.
28938         (malloc_consolidate): Likewise.
28939         (_int_realloc): Likewise.
28940         (_int_memalign): Don't touch corrupt arenas.
28941         * malloc/tst-malloc-backtrace.c: New test case.
28943         * Makefile (summarize-tests): Fix return value on success.
28945         * manual/string.texi (Envz Functions): Add envz_remove.
28947 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28949         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28950         (invalid_name): New function, broken out of ...
28951         (__opendirat): ... here.  Call it.
28952         (need_isdir_precheck): New function, broken out of ...
28953         (__opendirat): ... here.  Call it.
28954         Use __fxstatat64, not __xstatat64.
28955         (opendir_oflags): New function, broken out of ...
28956         (__opendirat): ... here.  Call it.
28957         (opendir_tail): New function, broken out of ...
28958         (__opendirat): ... here.  Call it.
28959         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28960         opendir_tail, rather than punting to __opendirat.
28961         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28963 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28965         * .gitignore: Ignore generated *.pyc.
28967 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28969         * include/stdio.h: Define __need_wint_t.
28970         * test-skeleton.c: Avoid `for' loop initial declaration.
28971         * nptl/tst-initializers1.c: Use test-skeleton.c.
28973 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28975         [BZ #18418]
28976         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28978 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28980         [BZ #16352]
28981         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28982         (__ieee754_atanh): Force underflow exception for results with
28983         small absolute value.
28984         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28985         (__ieee754_atanhf): Force underflow exception for results with
28986         small absolute value.
28987         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28988         (__ieee754_atanh): Force underflow exception for results with
28989         small absolute value.
28990         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28991         (__ieee754_atanhf): Force underflow exception for results with
28992         small absolute value.
28993         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28994         (__ieee754_atanhl): Force underflow exception for results with
28995         small absolute value.
28996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28997         (__ieee754_atanhl): Force underflow exception for results with
28998         small absolute value.
28999         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29000         (__ieee754_atanhl): Force underflow exception for results with
29001         small absolute value.
29002         * math/auto-libm-test-in: Do not allow missing underflow
29003         exceptions from atanh.
29004         * math/auto-libm-test-out: Regenerated.
29006         [BZ #18221]
29007         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29008         2**-28 as threshold for returning x or +/- 1/x.
29009         * math/auto-libm-test-in: Add more tests of tan.
29010         * math/auto-libm-test-out: Regenerated.
29012         [BZ #18220]
29013         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29014         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29015         * math/auto-libm-test-in: Add another test of lgamma.
29016         * math/auto-libm-test-out: Regenerated.
29018 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29020         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29021         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29022         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29023         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29024         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29025         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29026         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29027         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29029         (log1): Use fabs.  (my_log2): Use fabs.
29030         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29031         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29032         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29033         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29035         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29036         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29037         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29038         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29039         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29040         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29042 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29044         [BZ #18217]
29045         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29046         as threshold for returning 1 - x.
29047         * math/auto-libm-test-in: Add more tests of erfc.
29048         * math/auto-libm-test-out: Regenerated.
29050 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29052         [BZ #18196]
29053         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29054         threshold for large arguments.
29055         * math/auto-libm-test-in: Add another test of atan.
29056         * math/auto-libm-test-out: Regenerated.
29058         [BZ #16339]
29059         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29060         (__log1p): Force underflow exception for results with small
29061         absolute value.
29062         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29063         (__log1pf): Force underflow exception for results with small
29064         absolute value.
29065         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29066         (__log1p): Force underflow exception for results with small
29067         absolute value.
29068         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29069         (__log1pf): Force underflow exception for results with small
29070         absolute value.
29071         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29072         (__log1pl): Force underflow exception for results with small
29073         absolute value.
29074         * math/auto-libm-test-in: Do not allow missing underflow
29075         exceptions from log1p.
29076         * math/auto-libm-test-out: Regenerated.
29078 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29079             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29081         [BZ #16704]
29082         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29084 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29086         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29087         (libmvec): New variable.
29088         * configure.ac: Added option for mathvec build.
29089         * configure: Regenerated.
29090         * mathvec/Depend: New file.
29091         * mathvec/Makefile: New file.
29092         * shlib-versions: Added libmvec.
29093         * math/Makefile: Added rule for libm.so installation.
29095         * bits/math-vector.h: New file.
29096         * bits/libm-simd-decl-stubs.h: New header.
29097         * math/Makefile (headers): Added new header
29098         libm-simd-decl-stubs.h.
29099         * math/math.h (__MATHCALL_VEC): New macro.
29101         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29102         for conditions in testing functions.
29103         * math/Makefile: Added call of libm-have-vector-test.sh.
29104         * math/libm-test.inc (HAVE_VECTOR): New macros.
29106         * math/libm-test.inc: START refactored.
29107         * math/test-double.c (TEST_MATHVEC): Add define.
29108         * math/test-float.c: Likewise.
29109         * math/test-idouble.c: Likewise.
29110         * math/test-ifloat.c: Likewise.
29111         * math/test-ildoubl.c: Likewise.
29112         * math/test-ldouble.c: Likewise.
29113         * sysdeps/generic/math-tests-arch.h
29114         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29115         architecture check.
29117         * math/test-double.c (FUNC_TEST): New macro.
29118         * math/test-float.c: Likewise.
29119         * math/test-idouble.c: Likewise.
29120         * math/test-ifloat.c: Likewise.
29121         * math/test-ildoubl.c: Likewise.
29122         * math/test-ldouble.c: Likewise.
29123         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29125 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29127         * sysdeps/nacl/fdopendir.c: New file.
29129         * dirent/scandir-tail.c: New file.
29130         * dirent/scandir64-tail.c: New file.
29131         * dirent/Makefile (routines): Add them.
29132         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29133         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29134         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29135         [!SCANDIR] (SCANDIR_TAIL): New macro.
29136         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29137         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29138         (SCANDIRAT): Macro removed.
29139         (SCANDIR_TAIL): New macro.
29140         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29141         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29142         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29143         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29144         (READDIR): Macro removed.
29145         (SCANDIR_TAIL): New macro.
29146         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29147         (SCANDIR_TAIL): New macro.
29149         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29150         * dirent/scandir-cancel.c: ... to this new file.
29151         * dirent/Makefile (routines): Add it.
29152         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29153         * sysdeps/unix/sysv/linux/i386/scandir64.c
29154         (SKIP_SCANDIR_CANCEL): Macro removed.
29155         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29157         * dirent/tst-scandir.c: New file.
29158         * dirent/tst-scandir64.c: New file.
29159         * dirent/Makefile (tests): Add them.
29161 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29163         [BZ #18409]
29164         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29166 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29168         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29169         list.
29171 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29173         * benchtests/bench-strcoll.c: New benchmark.
29174         * benchtests/Makefile: Generate locales and run benchmark.
29175         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29176         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29177         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29178         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29179         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29180         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29181         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29182         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29183         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29184         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29185         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29186         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29187         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29188         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29189         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29190         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29191         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29192         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29193         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29194         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29195         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29196         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29197         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29198         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29200 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29202         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29205 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29207         * posix/uname-values.h: New file.
29208         * posix/uname.c: Include that instead of <config-name.h>.
29209         * sysdeps/nacl/uname-values.h: New file.
29210         * sysdeps/arm/nacl/uname-values.h: New file.
29212 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29214         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29215         splitting into fields.
29217 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29219         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29220         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29221         * locale/localeinfo.h: Add enum collation_encoding_type.
29222         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29223         * programs/ld-collate.c (collate_output): Add encoding type info.
29224         * string/strcoll_l.c (STRDIFF): New function.
29225         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29226         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29228 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29230         [BZ #18397]
29231         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29232         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29233         <fpu_control.h> instead of <math/fpu_control.c>.
29234         * sysdeps/mips/mips32/fpu/Makefile: New file.
29236 2015-05-11  Andreas Schwab  <schwab@suse.de>
29238         [BZ #18007]
29239         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29240         nss_endgrent.
29241         (_nss_compat_endgrent): Call nss_endgrent.
29242         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29243         nss_endpwent.
29244         (_nss_compat_endpwent): Call nss_endpwent.
29245         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29246         needent, call nss_setspent only if non-zero.
29247         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29248         (internal_endspent): Don't call nss_endspent.
29249         (_nss_compat_endspent): Call nss_endspent.
29250         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29251         Remove.  All uses removed.
29252         (internal_setent): Remove parameter stayopen, add parameter
29253         stream.  Use it instead of global variable.
29254         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29255         (internal_endent, internal_getent): Add parameter stream.  Use it
29256         instead of global variable.
29257         (CONCAT(_nss_files_end,ENTNAME))
29258         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29259         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29260         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29261         uses removed.
29262         (internal_setent, internal_endent): Add parameter stream.  Use it
29263         instead of global variable.
29264         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29265         stream.
29266         (get_next_alias): Add parameter stream.
29267         (_nss_files_getaliasent_r): Pass global stream.
29268         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29269         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29270         (_nss_files_gethostbyname4_r): Pass local stream to
29271         internal_setent, internal_getent and internal_endent.  Remove
29272         locking.
29274 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29276         * tst-strfmon1.c (tests): Update expected currency symbol.
29278 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29280         * sysdeps/nacl/gethostname.c: New file.
29282 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29284         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29285         and sinh.
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 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29292         [BZ #18125]
29293         * stdlib/tst-setcontext3.c: New file.
29294         * stdlib/tst-setcontext3.sh: New file.
29295         * stdlib/Makefile (tests): Add tst-setcontext3.
29296         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29297         to verify test program created output file.
29298         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29299         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29300         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29301         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29303 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29305         [BZ #18383]
29306         * elf/tst-tlsalign.c: New file.
29307         * elf/tst-tlsalign-static.c: New file.
29308         * elf/tst-tlsalign-lib.c: New file.
29309         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29310         (tests-static): Add tst-tlsalign-static.
29311         (modules-names): Add tst-tlsalign-lib.
29312         (test-xfail-tst-tlsalign): New variable.
29313         (test-xfail-tst-tlsalign-static): New variable.
29315         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29316         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29318 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29320         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29321         csqrt, erfc, sin and sincos.
29322         * math/auto-libm-test-out: Regenerated.
29323         * sysdeps/i386/fpu/libm-test-ulps: Update.
29324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29326 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29328         * sysdeps/aarch64/libm-test-ulps: Update.
29330 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29332         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29333         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29334         * math/auto-libm-test-out: Regenerated.
29335         * sysdeps/i386/fpu/libm-test-ulps: Update.
29336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29338 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29340         [BZ #18265]
29341         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29342         (wcsncpy): Likewise.
29344 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29346         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29347         Assume __ASSUME_FALLOCATE is always true.
29348         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29349         (__posix_fallocate64_l64): Likewise.
29350         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29351         (posix_fallocate): Likewise.
29352         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29353         (__posix_fallocate64_l64): Likewise.
29354         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29355         [!__ASSUME_FALLOCATE]: Add comment.
29357 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29359         * sysdeps/unix/sysv/linux/i386/Makefile
29360         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29361         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29362         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29363         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29364         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29365         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29366         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29368 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29370         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29371         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29372         tgamma.
29373         * math/auto-libm-test-out: Regenerated.
29374         * sysdeps/i386/fpu/libm-test-ulps: Update.
29375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29377 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29379         * math/auto-libm-test-in: Add more tests of tgamma.
29380         * math/auto-libm-test-out: Regenerated.
29381         * sysdeps/i386/fpu/libm-test-ulps: Update.
29382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29384         * math/auto-libm-test-in: Add more tests of tanh.
29385         * math/auto-libm-test-out: Regenerated.
29386         * sysdeps/i386/fpu/libm-test-ulps: Update.
29387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29389         * math/auto-libm-test-in: Add more tests of tan.
29390         * math/auto-libm-test-out: Regenerated.
29391         * sysdeps/i386/fpu/libm-test-ulps: Update.
29392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29394         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29395         * math/auto-libm-test-out: Regenerated.
29396         * sysdeps/i386/fpu/libm-test-ulps: Update.
29397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399         * math/auto-libm-test-in: Add another test of pow.
29400         * math/auto-libm-test-out: Regenerated.
29401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29403         * math/auto-libm-test-in: Add more tests of lgamma.
29404         * math/auto-libm-test-out: Regenerated.
29405         * sysdeps/i386/fpu/libm-test-ulps: Update.
29406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29408         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29409         log1p.
29410         * math/auto-libm-test-out: Regenerated.
29411         * sysdeps/i386/fpu/libm-test-ulps: Update.
29412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29414 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29416         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29417         Elf64_Chdr structs and ELFCOMPRESS constants.
29419 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29421         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29422         expm1.
29423         * math/auto-libm-test-out: Regenerated.
29424         * sysdeps/i386/fpu/libm-test-ulps: Update.
29425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29427         * math/auto-libm-test-in: Add more tests of erf and erfc.
29428         * math/auto-libm-test-out: Regenerated.
29429         * sysdeps/i386/fpu/libm-test-ulps: Update.
29430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29432 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29434         * config.h.in (HAVE_AARCH64_BE): Add.
29436 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29438         * math/auto-libm-test-in: Add more tests of csqrt.
29439         * math/auto-libm-test-out: Regenerated.
29440         * sysdeps/i386/fpu/libm-test-ulps: Update.
29441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29443         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29444         * math/auto-libm-test-out: Regenerated.
29445         * sysdeps/i386/fpu/libm-test-ulps: Update.
29446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29448         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29450 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29452         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29453         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29455         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29456         (euidaccess, eaccess): Define as weak aliases.
29458         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29459         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29460         but __suseconds_t is often 'long int' so some sources assume that
29461         type is being used (e.g. they use %ld to print tv_usec).
29463 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29465         [BZ #18007]
29466         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29467         (CVE-2014-8121)
29468         * nss/tst-nss-getpwent.c: New file.
29469         * nss/Makefile (tests): Add new test.
29471 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29473         [BZ #18346]
29474         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29475         exponents less than 48 as cases where high part of mantissa needs
29476         examining to determine whether argument is integral.
29477         * math/libm-test.inc (round_test_data): Add more tests.
29479 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29481         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29483 2015-04-27  David S. Miller  <davem@davemloft.net>
29485         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29486         __tls_get_addr.
29487         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29489 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29491         [BZ#18333]
29492         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29494 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29496         [BZ#18333]
29497         * time/tzset.c (parse_tzname): Return error on memory allocation
29498         failure.
29499         * test-skeleton.c (struct temp_name_list): Change type of name
29500         member to non-const.
29501         (add_temp_file): Create a copy of the file name.
29502         (delete_temp_files): Deallocate memory.
29503         (create_temp_file): Add comment.
29505 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29507         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29508         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29510 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29512         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29513         * sysdeps/arm/configure: Regenerated.
29515 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29517         [BZ #17715]
29518         * time/tzfile.c (__tzfile_read): Check for large values of
29519         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29520         * time/tzset.c (__tzstring_len): New function, based on the old
29521         __tzstring function.
29522         (__tzstring): Call __tzstring_len.
29523         (parse_tzname): New helper function extracted from
29524         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29525         the input string.
29526         (parse_offset): New helper function extracted from
29527         __tzset_parse_tz.  Replace switch with fallthrough with
29528         initialization before sscanf.
29529         (parse_rule): Likewise.
29530         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29531         new-style function definition.
29532         * timezone/Makefile (tests): Add tst-tzset.
29533         (tst-tzset.out): Dependencies on time zone files.
29534         (tst-tzset-ENV): Set TZDIR.
29535         (testdata/XT%): Copy crafted time zone files.
29536         * timezone/README: Mention crafted time zone files.
29537         * timezone/testdata/XT1, timezone/testdata/XT2,
29538         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29539         files.
29540         * timezone/tst-tzset.c: New test.
29542 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29544         * Makeconfig (+gccwarn): Remove -Winline.
29546 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29548         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29550 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29552         * NEWS: Mention sysconf() cache information support for s390.
29553         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29555 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29557         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29558         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29559         (__nearbyint): Likewise.
29560         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29561         (copysignl): Likewise.
29563 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29565         [BZ #18287]
29566         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29567         based on padding.  (CVE-2015-1781)
29569 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29571         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29572         libc-vdso.h.
29573         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29574         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29575         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29576         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29577         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29578         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29579         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29580         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29581         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29582         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29583         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29584         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29585         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29586         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29587         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29588         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29589         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29590         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29591         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29592         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29593         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29594         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29595         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29597 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29599         * stdlib/setenv.c (__add_to_environ):
29600         Dump core quickly if setenv (..., NULL, ...) is called.
29601         This time, do it the right way, and pacify GCC with a pragma.
29603 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29605         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29606         IMAP->l_prev cannot be null, and #if out the code for the contrary
29607         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29608         believe that NS (&_dl_ns[NSID]) could point outside the array.
29610         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29611         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29612         before using NSID as an index.
29614 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29616         [BZ #17825]
29617         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29618         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29619         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29621 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29623         Add preliminary port to Google Native Client on ARM.
29624         * abi-tags (.*-.*-nacl.*): New entry.
29625         * sysdeps/arm/nacl: New directory.
29626         * sysdeps/nacl: New directory.
29628 2015-04-16  David S. Miller  <davem@davemloft.net>
29630         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29631         lowlevellock-futex.h
29633 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29635         * sysdeps/tile/configure.ac: New file.
29636         * sysdeps/tile/configure: Regenerated.
29638 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29640         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29641         conditionals for weak_alias and libc_hidden_weak.
29642         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29643         libc_hidden_weak and weak_alias.
29644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29645         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29646         and weak_alias for static one.
29648 2015-04-15  David S. Miller  <davem@davemloft.net>
29650         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29652 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29654         [BZ #18206]
29655         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29656           Use signed comparision instead of substraction to avoid
29657           overflow bug.
29658         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29659           Take the sign of ret.
29660         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29661           Do not expect precise return values. Only the sign matters.
29662         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29663         * wcsmbs/test-wcsncmp.c: New File.
29664         * string/test-strncmp.c: Add wcsncmp support.
29666 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29668         [BZ #6792]
29669         * math/w_log1p.c: New file.
29670         * math/w_log1pf.c: Likewise.
29671         * math/w_log1pl.c: Likewise.
29672         * math/Makefile (libm-calls): Add w_log1p.
29673         * math/s_log1pl.c (log1pl): Remove weak_alias.
29674         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29675         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29676         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29677         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29678         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29679         [NO_LONG_DOUBLE] (log1pl): Likewise.
29680         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29681         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29682         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29683         (log1p): Remove long_double_symbol.
29684         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29685         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29686         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29687         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29688         remove weak_alias for corresponding log1p function.
29689         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29690         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29691         * sysdeps/ia64/fpu/w_log1p.c: New file.
29692         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29693         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29694         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29696 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29698         [BZ #18247]
29699         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29700         decimal exponent by 1.
29701         * stdlib/tst-strtod-round-data: Add more tests.
29702         * stdlib/tst-strtod-round.c (tests): Regenerated.
29704 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29706         * math/auto-libm-test-in: Add more tests of clog and clog10.
29707         * math/auto-libm-test-out: Regenerated.
29708         * sysdeps/i386/fpu/libm-test-ulps: Update.
29709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29711 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29713         * Makeconfig (module-cppflags): Exclude all .v.i files.
29714         (skip-module-cppflags): Variable removed.
29716         * configure.ac (libc_config_ok): Initialize before reading
29717         preconfigure scripts, not after.
29718         * configure: Regenerated.
29720         * test-skeleton.c (TIMEOUT): Move #define to top level.
29721         (main): Grok environment variable TEST_DIRECT.  If set, print
29722         test expectation details into that file and then behave as if
29723         given --direct.
29725 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29727         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29728         warning on 32-bit.
29730 2015-04-08  David S. Miller  <davem@davemloft.net>
29732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29734 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29736         * math/auto-libm-test-in: Add more tests of atanh.
29737         * math/auto-libm-test-out: Regenerated.
29738         * sysdeps/i386/fpu/libm-test-ulps: Update.
29739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29741         * math/auto-libm-test-in: Add more tests of atan.
29742         * math/auto-libm-test-out: Regenerated.
29743         * sysdeps/i386/fpu/libm-test-ulps: Update.
29744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29746 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29748         * elf/pldd.c (main): Rewrite to use struct
29749         scratch_buffer instead of extend_alloca.
29750         * elf/pldd-xx.c (find_maps): Likewise.
29751         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29752         <alloca.h>.
29753         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29754         scratch_buffer instead of extend_alloca.
29755         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29756         grp/compat-initgroups.c.
29757         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29758         Rewrite to use struct scratch_buffer instead of extend_alloca.
29759         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29760         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29762 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29764         * math/auto-libm-test-in: Add more tests of cbrt.
29765         * math/auto-libm-test-out: Regenerated.
29766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29768         * math/auto-libm-test-in: Add more tests of cabs.
29769         * math/auto-libm-test-out: Regenerated.
29770         * sysdeps/i386/fpu/libm-test-ulps: Update.
29771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29773         [BZ #18210]
29774         [BZ #18211]
29775         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29776         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29777         computations.
29778         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29779         clog10.
29780         * math/auto-libm-test-out: Regenerated.
29781         * sysdeps/i386/fpu/libm-test-ulps: Update.
29782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29784         [BZ #18197]
29785         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29786         (atan): Set FE_TONEAREST mode for internal computations.
29787         * math/auto-libm-test-in: Add more tests of atan.
29788         * math/auto-libm-test-out: Regenerated.
29790 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29792         [BZ #17930]
29793         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29795 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29797         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29799 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29801         * include/scratch_buffer.h: New file.
29802         * malloc/scratch_buffer_grow.c: Likewise.
29803         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29804         * malloc/scratch_buffer_set_array_size.c: Likewise.
29805         * malloc/tst-scratch_buffer.c: Likewise.
29806         * malloc/Makefile (routines): Add scratch_buffer_grow.
29807         (tests): Add test case.
29808         * malloc/Versions (GLIBC_PRIVATE): Export
29809         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29810         __libc_scratch_buffer_set_array_size.
29812 2015-04-06  Richard Henderson  <rth@redhat.com>
29814         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29815         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29817         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29818         unsigned int before printing.
29820 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29822         [BZ #17596]
29823         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29824         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29826 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29828         * include/libc-internal.h (libc_max_align_t): Define.
29830 2015-04-02  Andreas Schwab  <schwab@suse.de>
29832         [BZ #16850]
29833         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29835 2015-04-02  Mel Gorman  <mgorman@suse.de>
29837         [BZ #17195]
29838         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29839         as well as the main arena.
29841 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29843         [BZ #18185]
29844         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29845         sharing L2 cache to 2 for Silvermont/Knights Landing.
29847 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29849         [BZ #17711]
29850         * config.make.in (have-protected-data): New.
29851         * configure.ac: Check linker support for protected data symbol.
29852         * configure: Regenerated.
29853         * elf/Makefile (modules-names): Add tst-protected1moda and
29854         tst-protected1modb if $(have-protected-data) is yes.
29855         (tests): Add tst-protected1a and tst-protected1b if
29856         $(have-protected-data) is yes.
29857         ($(objpfx)tst-protected1a): New.
29858         ($(objpfx)tst-protected1b): Likewise.
29859         (tst-protected1modb.so-no-z-defs): Likewise.
29860         * elf/tst-protected1a.c: New file.
29861         * elf/tst-protected1b.c: Likewise.
29862         * elf/tst-protected1mod.h: Likewise.
29863         * elf/tst-protected1moda.c: Likewise.
29864         * elf/tst-protected1modb.c: Likewise.
29866 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29868         [BZ #17711]
29869         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29870         indicates it is called from do_lookup_x on relocation against
29871         protected data, skip the data definion in the executable from
29872         copy reloc.
29873         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29874         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29875         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29876         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29877         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29878         otherwise to 0.
29879         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29880         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29881         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29882         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29883         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29884         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29886 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29888         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29889         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29891 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29893         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29894         THREAD_SETMEM_NC.
29895         * sysdeps/x86_64/nptl/tls.h: Ditto.
29897 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29899         * dlfcn/tststatic.c (main): Converted to ...
29900         (do_test): ... this.
29901         (TEST_FUNCTION): New macro.
29902         Include test-skeleton.c.
29904 2015-03-26  Alan Modra  <amodra@gmail.com>
29906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29907         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29908         zero for undefined weak.
29909         (elf_machine_plt_conflict): Similarly.
29911 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29913         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29914         atanh.
29915         * math/auto-libm-test-out: Regenerated.
29916         * sysdeps/i386/fpu/libm-test-ulps: Update.
29917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29919         * math/auto-libm-test-in: Add another test of asin.
29920         * math/auto-libm-test-out: Regenerated.
29921         * sysdeps/i386/fpu/libm-test-ulps: Update.
29922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29924         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29925         Remove macro.
29926         (LLL_EBX_REG): Likewise.
29927         (LLL_ENTER_KERNEL): Likewise.
29929         * math/auto-libm-test-in: Add more tests of asin.
29930         * math/auto-libm-test-out: Regenerated.
29931         * sysdeps/i386/fpu/libm-test-ulps: Update.
29932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29934         [BZ #18138]
29935         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29936         libc_do_syscall_args): New structure.
29937         (INTERNAL_SYSCALL_MAIN_0): New macro.
29938         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29939         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29940         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29941         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29942         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29943         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29944         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29945         Replace conditional definitions by conditional definitions of ....
29946         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29947         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29948         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29949         (libpthread-sysdep_routines): Add libc-do-syscall.
29950         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29951         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29952         to __NR_futex not 240.
29954 2015-03-25  Alan Modra  <amodra@gmail.com>
29956         * NEWS: Advertise TLS optimization.
29957         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29958         (DT_PPC_NUM): Increment.
29959         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29960         (CHECK_STATIC_TLS): Use here.
29961         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29962         TLS descriptors.
29963         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29964         * sysdeps/powerpc/dl-tls.c: New file.
29965         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29966         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29967         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29968         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29973 2015-03-25  Alan Modra  <amodra@gmail.com>
29975         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29976         for overlapping .opd entries" to "support...".
29977         * sysdeps/powerpc/powerpc64/configure: Regenerate
29979 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29981         * math/auto-libm-test-in: Add more tests of acos.
29982         * math/auto-libm-test-out: Regenerated.
29983         * sysdeps/i386/fpu/libm-test-ulps: Update.
29984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29986         * math/auto-libm-test-in: Add more tests of expm1.
29987         * math/auto-libm-test-out: Regenerated.
29988         * sysdeps/i386/fpu/libm-test-ulps: Update.
29989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29991 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29993         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29994         * math/auto-libm-test-out: Regenerated.
29995         * sysdeps/i386/fpu/libm-test-ulps: Update.
29996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29998         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30001         * math/auto-libm-test-in: Add more tests of log2.
30002         * math/auto-libm-test-out: Regenerated.
30003         * sysdeps/i386/fpu/libm-test-ulps: Update.
30004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30006 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30008         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30009         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30010         _IO_IS_APPENDING bit in READ_WRITE instead.
30012 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30014         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30015         (__determine_cpumask_size): Replace extend_alloca with a
30016         variable-length array.  Do not treat res == 0 as an error.
30018 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30020         [BZ #18100]
30021         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30022         and integer overflow.
30023         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30024         (main): Add integer overflow tests.
30025         * manual/pattern.texi (Calling Wordexp): Document additional use
30026         for WRDE_SYNTAX.
30028 2015-03-23  Alan Modra  <amodra@gmail.com>
30030         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30031         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30032         and false branch of conditional.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30034         Likewise.
30036 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30038         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30039         libc-modules.h
30040         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30041         unused declaration of _hurd_intr_rpc_msg_in_trap.
30042         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30043         defined instead of whether it is non-zero.
30044         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30045         input constraint instead of both input and output constraint.  Use ecx
30046         clobber instead of %ecx.
30047         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30048         mutex_unlock): Use a statement expression instead of an expression list.
30049         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30050         type to vm_size_t instead of vm_address_t.
30051         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30052         defined instead of whether it is non-zero.
30053         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30054         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30055         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30056         comparisons with mapaddr.
30057         * nscd/nscd-client.h: Include <time.h>.
30058         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30059         9th parameter to __vm_region instead of int.
30060         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30061         * scripts/check-local-headers.sh (exclude): Add device/,
30062         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30063         cthreads.h.
30065 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30067         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30068         to account for alignment padding.
30069         * sysdeps/arm/memmove.S: Likewise.
30071 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30073         * sysdeps/unix/sysv/linux/generic/README: New file.
30075 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30077         [BZ #18138]
30078         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30079         (futex_abstimed_wait)
30080         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30081         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30082         of lll_futex_timed_wait.
30084 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30086         [BZ #17542]
30087         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30089 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30091         [BZ #17090]
30092         [BZ #17620]
30093         [BZ #17621]
30094         [BZ #17628]
30095         * NEWS: Update.
30096         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30097         entries with Static TLS too.  Skip entries past the end of the
30098         allocated DTV, from Alan Modra.
30099         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30100         Static TLS DTV entry set up from...
30101         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30102         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30103         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30104         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30105         for Static TLS.
30106         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30107         that the slot we find is associated with the given map before
30108         using its generation count.
30109         * nptl_db/db_info.c: Include ldsodefs.h.
30110         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30111         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30112         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30113         (link_map::l_tls_offset): New struct field.
30114         (dtv_t::counter): Likewise.
30115         (rtld_global): New struct.
30116         (_rtld_global): New rtld variable.
30117         (dl_tls_dtv_slotinfo_list): New rtld global field.
30118         (dtv_slotinfo_list): New struct.
30119         (dtv_slotinfo): Likewise.
30120         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30121         (td_lookup): Rename to...
30122         (td_mod_lookup): ... this.  Use new mod parameter instead of
30123         LIBPTHREAD_SO.
30124         * nptl_db/td_thr_tlsbase.c: Include link.h.
30125         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30126         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30127         addresses even if the DTV is out of date or missing them.
30128         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30129         index zero-length arrays.
30130         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30131         (td_lookup): Make it a macro implemented in terms of...
30132         (td_mod_lookup): ... this declaration.
30133         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30134         (DB_MAIN_VARIABLE): Likewise.
30136 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30138         [BZ #18134]
30139         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30141 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30143         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30145 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30147         [BZ #18128]
30148         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30149         (atomic_add, atomic_increment_and_test)
30150         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30152 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30154         * stdlib/setenv.c (__add_to_environ):
30155         Dump core quickly if setenv (..., NULL, ...) is called.
30157 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30159         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30160         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30161         all the necessary asm magic in one place.
30162         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30163         using those.
30165 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30167         [BZ #14906]
30168         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30169         traced file mtime. Use consistent log message.
30170         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30171         (register_traced_file): Call install_watches. Always set mtime.
30172         (invalidate_cache): Iterate over all trace files. Call install_watches.
30173         (inotify_check_files): Don't inline. Handle watching parent
30174         directories and configuration file movement in and out.
30175         (handle_inotify_events): New function.
30176         (main_loop_poll): Call handle_inotify_events.
30177         (main_loop_epoll): Likewise.
30178         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30179         (struct traced_file): Use array of inotify fds. Add parent directory,
30180         and basename.
30181         (struct database_dyn): Remove unused file_mtime.
30182         (init_traced_file): New inline function.
30183         (define_traced_file): New macro.
30184         * nss/nss_db/db-init.c: Use define_traced_file.
30185         (_nss_db_init): Use init_traced_file.
30186         * nss/nss_files/files-init.c: Use define_traced_file.
30187         (_nss_files_init): Use init_traced_file.
30189 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30191         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30192         [_LIBC]: Do not include <stdlib.h>.
30193         [!_LIBC] (abort): Remove declaration.
30194         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30195         _FP_STATIC_ASSERT instead of conditionally calling abort.
30196         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30197         (_FP_EXTEND_CNAN): Likewise.
30198         (FP_TRUNC): Likewise.
30199         (__FP_CLZ): Likewise.
30200         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30202 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30204         * manual/string.texi (XPG basename): Fix prototype.
30206 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30208         [BZ #18080]
30209         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30210         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30211         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30212         (__setcontext): Likewise.
30213         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30214         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30215         Call rt_sigprocmask syscall one time to set new signal mask
30216         and retrieve the current signal mask instead of two calls.
30217         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30218         (__swapcontext): Likewise.
30219         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30220         * stdlib/tst-setcontext2.c: New file.
30222 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30224         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30226 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30228         [BZ #18093]
30229         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30230         the wrong size.
30232 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30234         [BZ #18043]
30235         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30237 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30239         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30240         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30241         Remove define.
30242         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30243         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30244         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30245         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30246         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30247         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30248         define.
30249         * nptl_db/td_symbol_list.c (td_lookup): Remove
30250         HAVE_ASM_GLOBAL_DOT_NAME code.
30251         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30252         HAVE_ASM_GLOBAL_DOT_NAME check.
30253         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30254         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30255         (DOT_LABEL): Remove define.
30256         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30257         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30258         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30259         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30260         (__TLS_GET_ADDR): Likewise.
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30262         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30264 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30266         [BZ #18111]
30267         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30268         (_FPU_SETCW): Initialize cw from fpsr before storing.
30269         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30270         (fesetexceptflag): Rewrite using fpu_control.h.
30271         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30273 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30275         [BZ #18110]
30276         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30277         asms.
30278         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30280 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30282         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30283         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30284         abort.
30285         (_FP_FMA): Likewise.
30286         (_FP_DIV): Likewise.
30288 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30290         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30291         with 0 in that case.
30292         * Makefile (summarize-tests): New canned sequence, factored out of
30293         commands for targets tests and xtests.  Display summary lines that
30294         don't start with PASS: or XFAIL: rather than ones that do start with
30295         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30296         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30297         do start with ERROR: or FAIL:.
30298         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30299         (except for [$(build-shared) = yes]).
30300         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30301         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30302         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30303         * nptl/Makefile: Revert 2015-03-04 changes.
30304         [$(CXX) empty] (tests-unsupported): New variable.
30305         * debug/Makefile: Likewise.
30307         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30308         gnulib file.  Replace __attribute with __attribute__ throughout.
30310 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30312         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30314 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30316         [BZ #18104]
30317         * math/auto-libm-test-in: Add another test of pow.
30318         * math/auto-libm-test-out: Regenerated.
30320 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30322         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30323         $(config-cflags-nofma).
30325 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30327         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30328         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30329         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30330         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30331         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30332         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30333         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30334         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30335         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30336         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30337         Add comment on closing #endif.
30339 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30341         * posix/wordexp.c (CHAR_IN_SET): New macro.
30342         (parse_param): Use it.
30344 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30346         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30348 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30350         [BZ #18043]
30351         * posix/wordexp.c (parse_param): Fix buffer overflow.
30352         * posix/wordexp-test.c (test_case): Add test case.
30354 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30356         [BZ #18042]
30357         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30358         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30360 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30362         [BZ #18043]
30363         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30364         (do_bz18043): Delete.
30365         (at_page_end): New.
30366         (testit): Refactor to have words at the edge of unreadable page.
30368 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30370         [BZ #16734]
30371         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30372         Cleanup read-only streams as well.
30373         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30375 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30377         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30378         <bits/libc-lockP.h>
30380 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30382         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30383         on [__KERNEL__].
30384         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30385         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30386         * soft-fp/op-common.h (_FP_DECL): Likewise.
30388 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30390         * elf/ifuncdep2.c (global): Replace
30391         __attribute__((visibility("protected"))) with
30392         asm (".protected global").
30393         * elf/ifuncmod1.c (global): Likewise.
30394         * elf/ifuncmod5.c (global): Likewise.
30396 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30398         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30399         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30401 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30403         * manual/install.texi (Configuring and compiling):
30404         Document test-wrapper-env-only.
30405         * INSTALL: Regenerated.
30407 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30409         [BZ #18043]
30410         * posix/wordexp.c (parse_param): Fix buffer overflow.
30411         * posix/wordexp-test.c (do_bz18043): Add test case.
30413 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30415         * time/tst-strptime2.c (do_test): Ensure failing tests are
30416         reported correctly.
30417         * time/tst-strptime3.c (do_test): Likewise.
30419 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30421         Fix aio_error thread-safety.
30422         * sysdeps/pthread/aio_error.c: New file
30423         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30424         synchronization.
30426 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30428         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30429         (group_number, vfprintf): Use it.
30430         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30431         (JUMP, REF): Use it.
30432         (WORK_BUFFER_SIZE): New enum constant.
30433         (process_arg, vfprintf): Use it.
30435 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30437         * manual/errno.texi (Error Messages): Complete example function
30438         by adding missing #define.
30439         (program_invocation_name): Add statement indicating GNU
30440         extension and reference which header file declares the variable.
30441         (program_invocation_short_name): Likewise.
30443 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30445         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30446         compatibility note.
30448 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30450         * Makeconfig (test-wrapper-env-only): New variable.
30451         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30452         then use that with $(test-wrapper-env-only) rather than using
30453         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30455 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30457         [BZ #18082]
30458         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30459         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30460         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30461         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30462         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30463         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30464         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30465         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30466         Likewise.
30467         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30468         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30469         Likewise.
30470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30471         Likewise.
30472         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30473         Likewise.
30474         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30475         Likewise.
30476         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30477         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30478         Likewise.
30479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30480         Likewise.
30481         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30482         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30484 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30486         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30487         (ETH_ALEN): New macro.
30488         (struct ether_addr): Use it for length of ether_addr_octet.
30490         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30491         (setdb): Don't call __nss_configure_lookup for "rpc".
30492         (do_test): Don't call test_rpc.
30493         (output_rpcent, test_rpc): Functions moved ...
30494         * sunrpc/test-rpcent.c: ... to this new file.
30495         * sunrpc/Makefile (tests): Add it.
30497         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30498         __xpg_sigpause.
30499         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30500         * nptl/tst-signal6.c: Likewise.
30501         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30502         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30504         * configure.ac (libc_cv_cxx_link_ok): New check.
30505         Reset CXX to empty if it fails to link.
30506         * configure: Regenerated.
30507         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30508         bug-atexit3-lib only if $(CXX) is nonempty.
30509         * nptl/Makefile (tests): Likewise for tst-cancel24.
30510         (tests, tests-static): Likewise for tst-cancel24-static.
30511         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30512         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30513         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30514         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30516 2015-03-04  Andreas Schwab  <schwab@suse.de>
30518         [BZ #17631]
30519         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30520         for non-GCC compilers.
30521         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30522         Likewise.
30524 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30526         [BZ #17776]
30527         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30528         integer before bitwise and assembly operations.
30529         (feclearexcept): Likewise.
30530         * math/test-fenvinline.c: New file.
30531         * math/Makefile: Add test-fenvinline test.
30533 2015-03-03  Alan Modra  <amodra@gmail.com>
30535         [BZ #16512]
30536         * scripts/localplt.awk: Strip off symbol version.
30537         * NEWS: Mention bug fix.
30539 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30541         * sysdeps/pthread/timer_routines.c
30542         (timer_free_list, thread_free_list, thread_active_list): Make static.
30544 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30546         [BZ #17779]
30547         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30548         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30549         Undefine.
30550         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30551         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30552         Likewise.
30553         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30554         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30555         Likewise.
30557 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30559         [BZ #18036]
30560         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30561         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30563 2015-03-02  Andreas Schwab  <schwab@suse.de>
30565         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30566         variable name.
30568 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30570         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30571         Return error status.
30573 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30575         [BZ #15969]
30576         * locale/findlocale.c (_nl_find_locale): Introduce const
30577         version of loc_name and drop unsafe type casts.
30579 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30581         * dlfcn/tststatic2.c (main): Converted to ...
30582         (do_test): ... this.
30583         (TEST_FUNCTION): New macro.
30584         Include test-skeleton.c.
30586 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30588         [BZ #17711]
30589         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30590         (tests-pie): Add vismain.
30591         (CFLAGS-vismain.c): New.
30592         * elf/vismain.c: Add comments for PIE requirement.
30594 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30596         [BZ #18046]
30597         [BZ #18047]
30598         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30599         0x1p-56L as threshold for just returning the argument.
30600         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30601         0x1p-32L as threshold for just returning the argument.
30602         * math/auto-libm-test-in: Add more tests of atanh.
30603         * math/auto-libm-test-out: Regenerated.
30604         * sysdeps/i386/fpu/libm-test-ulps: Update.
30605         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30607 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30609         * string/bcopy.c (bcopy): Call memmove for performance.
30611 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30613         * string/bzero.c (__bzero): Call memset for performance.
30615 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30617         [BZ #18068]
30618         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30619         to 00100000.
30621 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30623         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30625 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30627         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30628         (__kernel_standard): Use CSTR macro when setting exc.name.
30629         * sysdeps/ieee754/Makefile [$(subdir) = math]
30630         (CFLAGS-k_standard.c): Remove variable.
30632         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30633         setting p and q from "else if" to "else".
30634         (qzero): Likewise.
30635         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30636         (qone): Likewise.
30637         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30638         (qzerof): Likewise.
30639         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30640         (qonef): Likewise.
30641         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30642         (qzero): Likewise.
30643         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30644         (qone): Likewise.
30646         [BZ #18038]
30647         [BZ #18039]
30648         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30649         return pi/2 for arguments below 0x1p-113L.
30650         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30651         return pi/2 for arguments below 0x1p-106L.
30652         * math/auto-libm-test-in: Add more tests of acos.
30653         * math/auto-libm-test-out: Regenerated.
30655         [BZ #16351]
30656         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30657         (MO): New macro.
30658         (__ieee754_asin): Force underflow exception for results with small
30659         absolute value.
30660         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30661         (MO): New macro.
30662         (__ieee754_asinf): Force underflow exception for results with
30663         small absolute value.
30664         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30665         (__ieee754_asin): Force underflow exception for results with small
30666         absolute value.
30667         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30668         (__ieee754_asinf): Force underflow exception for results with
30669         small absolute value.
30670         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30671         (__ieee754_asinl): Force underflow exception for results with
30672         small absolute value.
30673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30674         (__ieee754_asinl): Force underflow exception for results with
30675         small absolute value.
30676         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30677         (__ieee754_asinl): Force underflow exception for results with
30678         small absolute value.
30679         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30680         Include <math.h>.
30681         * math/auto-libm-test-in: Do not mark underflow exceptions as
30682         possibly missing for bug 16351.
30683         * math/auto-libm-test-out: Regenerated.
30685         [BZ #18030]
30686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30687         of power of 2 down when low part has opposite sign.
30688         * math/libm-test.inc (logb_test_data): Add more tests.
30690 2015-02-26  Andreas Schwab  <schwab@suse.de>
30692         [BZ #18032]
30693         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30694         over collating symbol inside a bracket expression.  Minor cleanup.
30695         * posix/tst-fnmatch3.c (do_test): Add test case.
30697 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30699         [BZ #18029]
30700         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30701         Adjust exponent of power of 2 down when low part has opposite
30702         sign.
30703         * math/libm-test.inc (ilogb_test_data): Add more tests.
30705 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30707         [BZ #15969]
30708         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30709         the previous change.
30711         [BZ #15969]
30712         * locale/findlocale.c (_nl_find_locale): Retry archive search
30713         after alias expansion.
30715 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30717         * iconv/tst-iconv3.c (main): Converted to ...
30718         (do_test): ... this.
30719         (TEST_FUNCTION): New macro.
30720         Include test-skeleton.c.
30722         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30723         (convert): Make function static.
30724         (test_unalign): Likewise.  Add const to argument pointee types.
30725         (main): Replace with static function do_test.
30726         Print "Succeeded." only if RET is zero.
30727         (TEST_FUNCTION): New macro.
30728         Include test-skeleton.c.
30730         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30731         returns a null pointer.
30733 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30735         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30736         to __memcpy_ppc only for static builds.
30738 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30740         [BZ #18020]
30741         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30742         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30743         * math/auto-libm-test-in: Add more tests of asinh.
30744         * math/auto-libm-test-out: Regenerated.
30745         * sysdeps/i386/fpu/libm-test-ulps: Update.
30746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30748 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30750         [BZ #15850]
30751         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30752         and ip6_mtuinfo definitions here.
30753         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30754         in this define too.  Update comment.
30756 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30758         * elf/sprof.c (load_shobj): Tweak error message to match others.
30760 2015-02-24  Kevin Easton  <kevin@guarana.org>
30762         [BZ #16145] (partial fix)
30763         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30764         to reduce lock contention.
30766 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30768         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30769         (struct timex): Update time comment.
30770         (ADJ_SETOFFSET): Define.
30772 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30774         [BZ #18019]
30775         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30776         2**56 not 2**28 as threshold for log (2x) formula.
30777         * math/auto-libm-test-in: Add more tests of acosh.
30778         * math/auto-libm-test-out: Regenerated.
30779         * sysdeps/i386/fpu/libm-test-ulps: Update.
30780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30782 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30784         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30785         parenthesis around the buf assignment.
30786         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30788 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30790         [BZ #16783]
30791         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30792         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30793         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30794         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30795         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30796         * math/libm-test.inc (scalb_test_data): Add more tests.
30798 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30800         [BZ #17916]
30801         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30802         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30804 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30806         [BZ #17523]
30807         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30808         * io/bits/fcntl2.h (open): Use it.
30809         (openat): Likewise.
30810         * io/open.c (__libc_open): Likewise.
30811         * io/open64.c (__libc_open64): Likewise.
30812         * io/open64_2.c (__open64_2): Likewise.
30813         * io/open_2.c (__open_2): Likewise.
30814         * io/openat.c (__openat): Likewise.
30815         * io/openat64.c (__openat64): Likewise.
30816         * io/openat64_2.c (__openat64_2): Likewise.
30817         * io/openat_2.c (__openat_2): Likewise.
30818         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30819         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30820         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30821         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30822         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30823         (__open_nocancel): Likewise.
30824         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30825         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30826         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30828 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830         [BZ #14841]
30831         * resolv/gethnamaddr.c (getanswer): Skip logging if
30832         RES_USE_DNSSEC is set.
30833         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30835 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30837         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30839 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30841         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30842         201304L, for Unicode 7.
30844 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30846         [BZ #17836]
30847         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30848         shared library.  Add gmon-start.os otherwise.
30849         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30850         $(objpfx)gmon-start.os if builing shared library.
30851         ($(objpfx)g$(static-start-installed-name)): Likewise.
30853 2015-02-23  Andreas Schwab  <schwab@suse.de>
30855         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30857 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30859         [BZ #17269]
30860         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30861         (enlarge_userbuf): Likewise.
30863 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30865         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30866         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30867         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30868         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30870 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30872         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30873         expression inside statement expression.
30875 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30877         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30878         <sysdeps/nptl/lowlevellock.h> and remove macros and
30879         functions that are now defined there.
30880         (SYS_futex): Remove.
30881         (lll_compare_and_swap): Remove.
30882         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30884 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30886         [BZ #17999]
30887         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30888         instead of scandirat.
30889         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30890         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30891         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30892         __scandirat.
30893         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30894         (__scandirat): Declare.  Use libc_hidden_proto.
30895         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30896         Remove variable.
30897         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30899 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30901         [BZ #15319]
30902         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30903         (MO): New macro.
30904         (__ieee754_atan2): For results with small absolute value, force
30905         underflow exception and remove excess range and precision from
30906         return value.
30907         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30908         (MO): New macro.
30909         (__ieee754_atan2f): For results with small absolute value, force
30910         underflow exception and remove excess range and precision from
30911         return value.
30912         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30913         (MO): New macro.
30914         (__atan): For results with small absolute value, force underflow
30915         exception and remove excess range and precision from return value.
30916         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30917         (MO): New macro.
30918         (__atanf): For results with small absolute value, force underflow
30919         exception and remove excess range and precision from return value.
30920         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30921         <math.h>.
30922         (__ieee754_atan2): Force underflow exception for results with
30923         small absolute value.
30924         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30925         <math_private.h>.
30926         (atan): Force underflow exception for results with small absolute
30927         value.
30928         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30929         (__atanf): Force underflow exception for results with small
30930         absolute value.
30931         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30932         <math.h>.
30933         (__atanl): Force underflow exception for results with small
30934         absolute value.
30935         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30936         (__atanl): Force underflow exception for results with small
30937         absolute value.
30938         * sysdeps/x86/fpu/bits/mathinline.h
30939         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30940         (__ieee754_atan2): Only define inline for long double.
30941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30942         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30943         * math/auto-libm-test-in: Do not mark underflow exceptions as
30944         possibly missing for bug 15319.  Add more tests of atan2.
30945         * math/auto-libm-test-out: Regenerated.
30946         * math/libm-test.inc (casin_test_data): Do not mark underflow
30947         exceptions as possibly missing for bug 15319.
30948         (casinh_test_data): Likewise.
30949         * sysdeps/i386/fpu/libm-test-ulps: Update.
30951 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30953         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30954         * sysdeps/mips/bits/endian.h: Fix comments.
30956 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30958         [BZ #17996]
30959         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30960         (hdestroy_r): Likewise.
30961         (hsearch_r): Likewise.
30962         (__hcreate_r): Declare and use libc_hidden_proto.
30963         (__hdestroy_r): Likewise.
30964         (__hsearch_r): Likewise.
30965         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30966         (hcreate): Call __hcreate_r instead of hcreate_r.
30967         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30968         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30969         as weak alias of __hcreate_r.
30970         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30971         __hdestroy_r.
30972         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30973         __hsearch_r.
30974         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30975         Remove variable.
30976         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30977         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30978         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30979         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30981 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30983         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30984         arena_lock into a single arena_get.
30986 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30988         * dl-reloc.c: Inlucde libc-internal.h.
30989         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30990         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30991         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30992         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30993         (grow_heap): Likewise.
30994         * malloc/malloc.c: Include libc-internal.h.
30995         (do_check_malloc): Call powerof2.
30996         (sysmalloc): Use pagesize. Call ALIGN_UP.
30997         (systrim): Use pagesize.
30998         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30999         (__libc_valloc): Use pagesize.
31000         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31002 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31004         [BZ #17991]
31005         * include/sys/resource.h (__getrlimit64): Declare.  Use
31006         libc_hidden_proto.
31007         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31008         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31009         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31010         getrlimit64.
31011         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31012         __getrlimit64.
31013         [!getrlimit64] (getrlimit64): Define as weak alias of
31014         __getrlimit64.  Use libc_hidden_weak.
31015         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31016         using __getrlimit64 not __new_getrlimit64.
31017         (__GI_getrlimit64): Likewise.
31018         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31019         Likewise.
31020         (__GI_getrlimit64): Likewise.
31021         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31023         (getrlimit): Add __getrlimit64 alias.
31024         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31025         Likewise.
31026         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31027         Remove variable.
31028         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31029         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31031 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31033         * libio/fileops.c: Add missing sys/mman.h
31034         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31036 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31038         * manual/math.texi (Errors in Math Functions): Clarify goals
31039         regarding inexact and underflow exceptions.
31041 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31043         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31044         * sysdeps/mips/memset.S: Ditto.
31046 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31048         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31050 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31052         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31053         (__v1longjmp): Remove versioned symbol.
31054         (__v1siglongjmp): Remove alias and versioned symbol.
31055         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31056         (__v2siglongjmp): Likewise.
31058 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31060         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31062 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31064         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31066 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31068         [BZ #17987]
31069         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31070         zero result does not depend on the sign resulting from
31071         subtraction.
31072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31073         Likewise.
31074         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31075         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31076         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31077         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31078         * math/libm-test.inc (remquo_test_data): Add more tests.
31080 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31082         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31083         Problem reported by J William Piggott.
31085 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31087         [BZ #17978]
31088         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31089         products 4 * y and 2 * y where those would overflow.
31090         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31091         Likewise.
31092         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31093         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31094         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31095         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31096         * math/libm-test.inc (remquo_test_data): Add more tests.
31098         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31100         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31101         [defined _COMPILING_NEWLIB].
31102         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31103         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31105         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31106         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31108 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31110         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31111         acquired.
31113 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31115         [BZ #17792]
31116         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31117         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31118         HOST_STACK_END_ADDR): Likewise.
31120 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31122         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31123         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31124         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31126 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31128         * sysdeps/generic/c++-types.data: New file.
31129         * sysdeps/generic/ld.abilist: New file.
31130         * sysdeps/generic/libBrokenLocale.abilist: New file.
31131         * sysdeps/generic/libanl.abilist: New file.
31132         * sysdeps/generic/libc.abilist: New file.
31133         * sysdeps/generic/libcrypt.abilist: New file.
31134         * sysdeps/generic/libdl.abilist: New file.
31135         * sysdeps/generic/libm.abilist: New file.
31136         * sysdeps/generic/libpthread.abilist: New file.
31137         * sysdeps/generic/libresolv.abilist: New file.
31138         * sysdeps/generic/librt.abilist: New file.
31140 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31142         [BZ #17569]
31143         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31144         Compute absolute value of x as modified by fmod, not original
31145         value of x.
31146         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31147         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31148         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31149         RUN_TEST_ffI_f1_mod8.
31150         (remquo_test_data): Add more tests.
31152 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31154         * sysdeps/init_array/pt-crti.S: New file.
31156 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31158         [BZ #17967]
31159         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31160         __builtin_fmaf instead of relying on contraction of a * b + c.
31162 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31164         [BZ #17969]
31165         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31166         node.
31168 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31170         [BZ #17964]
31171         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31172         __builtin_fma instead of relying on contraction of a * b + c.
31174 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31176         * Makeconfig (ASFLAGS): Add -Werror=undef.
31177         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31178         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31179         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31181         * Makeconfig (after-link): New variable.
31182         (+link-pie, +link-pie-tests): Use it.
31183         (+link-static, +link-static-tests): Likewise.
31184         (+link, +link-tests): Likewise.
31185         * Makerules (build-module, build-module-asneeded): Likewise.
31186         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31187         Likewise.
31188         * elf/Makefile ($(objpfx)ld.so): Likewise.
31190 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31192         [BZ #17965]
31193         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31194         both struct timeval and struct timespec.
31196 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31198         [BZ #16560]
31199         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31200         and redefine.
31201         (__ieee754_exp2l): Do not multiply small fractional parts by
31202         M_LN2l.
31203         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31204         small argument.
31205         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31206         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31207         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31208         * math/auto-libm-test-in: Add more tests of exp2.
31209         * math/auto-libm-test-out: Regenerated.
31211 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31213         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31214         unaligned path.
31216 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31218         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31219         little endian.
31221 2015-02-12  Andreas Schwab  <schwab@suse.de>
31223         [BZ #15790]
31224         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31225         Filter out elision flags from value returned in kind.
31226         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31227         * nptl/tst-pthread-mutexattr.c: New file.
31229 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31231         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31232         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31233         into gnu-gnu, and update comment to refer to abi-tags.
31235 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31237         [BZ #15467]
31238         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31239         (__sincos): Set errno to EDOM for infinite argument.
31240         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31241         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31242         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31243         (__sincosl): Set errno to EDOM for infinite argument.
31244         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31245         (__sincosl): Set errno to EDOM for infinite argument.
31246         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31247         (__sincosl): Set errno to EDOM for infinite argument.
31248         * math/libm-test.inc (sincos_test_data): Test errno setting.
31250 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31252         * string/strxfrm_l.c: Remove #define STRCMP.
31253         * string/strcoll_l.c: Remove #define STRLEN.
31254         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31255         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31257 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31259         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31260         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31261         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31262         * sysdeps/mips/mips64/Makefile: ... here.
31263         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31264         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31265         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31266         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31267         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31268         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31269         * sysdeps/mips/mips64/n64/Implies: Likewise.
31271 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31273         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31274         <sys/time.h>, <string.h>, and <errno.h>.
31275         (dest_offset, dest_address, value, zero): Remove unused variables.
31276         (ldouble): Remove typedef.
31277         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31278         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31279         1).  Fix code style.
31280         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31281         (check): Function removed.
31282         (CHECK): New macro.
31283         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31284         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31285         Don't call set_sigaction_FP and remove_sigaction_FP here.
31286         (ldouble_test): Just use 'long double' as macro argument, no need for
31287         the 'ldouble' typedef.
31288         (do_test): Set up SIGFPE handler at start, using plain signal rather
31289         than sigaction.  Fix code style.
31291 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31293         [BZ #17949]
31294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31295         jump label.
31297 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31299         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31300         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31302         * sysdeps/powerpc/configure.ac: Remove file.
31303         * sysdeps/powerpc/configure: Likewise.
31305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31306         [sysdep_routines]: Remove wordcopy-power6 object.
31307         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31308         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31309         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31310         (__memmove_ppc32): Likewise.
31311         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31312         file.
31313         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31314         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31315         Remove preprocessor.
31317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31318         [sysdep_routines]: Remove wide chars objects.
31319         [wcsmbs]: New rule for wide char objects.
31321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31322         Remove wordcopy-power6 obejct.
31323         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31324         Use local call for wordcopy and memcpy symbols.
31325         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31326         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31327         implementation for loader.
31328         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31330         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31331         Remove wordcopy-power7 object.
31332         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31333         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31334         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31335         (_wordcopy_fwd_dest_aligned): Likewise.
31336         (_wordcopy_bwd_aligned): Likewise.
31337         (_wordcopy_bwd_dest_aligned): Likewise.
31339         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31340         Rewrite to call __memmove_ppc instead of include default
31341         implementation.
31343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31344         Remove wide chars objects.
31345         [wcsmbs]: New rule for wide char objects.
31347 2015-02-09  Andreas Schwab  <schwab@suse.de>
31349         [BZ #17912]
31350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31351         in terms of __O_DIRECTORY.
31353 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31355         * time/getdate.c: Include <stdbool.h>.
31356         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31357         call PTR_MANGLE.
31358         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31359         PTR_DEMANGLE.
31361 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31363         Add ersatz _Static_assert on older C hosts
31364         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31365         pre-C11 C platform that is not known to support _Static_assert.
31367 2015-02-07  Richard Braun  <rbraun@sceen.net>
31369         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31370         sigstate.
31371         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31373 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31375         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31376         priority against unexistent AIO_PRIO_DELTA_MAX.
31377         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31378         instead of int.
31379         * misc/fchflags.c (fchflags): Likewise.
31380         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31381         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31382         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31383         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31384         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31385         Declare macros.
31386         [__USE_MISC] (chflags, fchflags): Declare functions.
31387         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31388         EINVAL when nfds is greater than FD_SETSIZE.
31389         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31390         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31391         45.
31392         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31393         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31394         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31395         MACH_RCV_TIMED_OUT.
31396         * hurd/hurd/signal.h (_hurd_self_sigstate,
31397         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31398         Explicit casts from void *.
31399         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31400         * abi-tags: Rename gnu-gnu os into gnu.
31402         [BZ #4719]
31403         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31404         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31405         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31406         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31407         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31408         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31410         [BZ #17944]
31411         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31412         duplicates ADDR->sun_path with sockaddr LEN limitation.
31413         * sysdeps/mach/hurd/connect.c: Include <string.h>
31414         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31415         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31416         * sysdeps/mach/hurd/sendto.c: Likewise.
31417         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31418         implementing it by hand.
31420 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31422         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31423         Use sfi_breg on ldr.
31424         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31425         Likewise.
31427         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31428         it's defined.
31429         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31430         Test SIGSETXID only if it's defined.
31432         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31434         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31435         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31437         * nptl/tst-align2.c: Moved ...
31438         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31439         * nptl/Makefile (tests): Remove tst-align2.
31440         * sysdeps/unix/sysv/linux/Makefile
31441         [$(subdir) = nptl] (tests): Add tst-align-clone.
31442         * nptl/tst-getpid1.c: Moved ...
31443         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31444         * nptl/tst-getpid2.c: Moved ...
31445         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31446         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31447         * sysdeps/unix/sysv/linux/Makefile
31448         [$(subdir) = nptl] (tests): ... here.
31449         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31450         * sysdeps/unix/sysv/linux/Makefile
31451         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31453         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31454         Drop trailing \n from perror argument.  Use return rather than exit.
31456         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31457         on [SA_SIGINFO].
31458         * nptl/tst-cancel21.c (do_test): Likewise.
31459         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31460         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31461         [!SA_SIGINFO]: Make it a stub test.
31463         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31464         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31466         * posix/tst-getlogin.c: Move to ...
31467         * login/tst-getlogin.c: ... here.
31468         * posix/Makefile (tests): Move tst-getlogin to ...
31469         * login/Makefile (tests): ... here.
31471         * libio/tst-atime.c (do_test): Move local variables SV and E
31472         inside [ST_NOATIME] conditional.
31474         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31476         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31478         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31479         (wait_code): New function replaces macro.
31480         Call nanosleep rather than syscall.
31482         * nptl/pt-system.c: Rewritten.  Put everything under
31483         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31484         Use IFUNC to redirect when possible.
31486         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31487         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31488         Use IFUNC to redirect when possible.
31490         * nptl/pt-fork.c: Rewritten.  Put everything under
31491         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31492         Use IFUNC to redirect when possible.
31493         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31496         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31497         unconditionally nowadays.  This included the only reference to
31498         __vdso_clock_gettime that appears outside libc proper.
31499         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31500         Remove version set (containing only __vdso_clock_gettime).
31501         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31502         Add attribute_hidden.
31503         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31504         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31505         libc_hidden_data_def.
31506         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31507         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31509         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31510         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31511         setrpcent, and getrpcport to ...
31512         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31513         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31514         getrpcbynumber_r, and getrpcent_r to ...
31515         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31516         * inet/getrpcbyname.c: Moved ...
31517         * sunrpc/getrpcbyname.c: ... here.
31518         * inet/getrpcbyname_r.c: Moved ...
31519         * sunrpc/getrpcbyname_r.c: ... here.
31520         * inet/getrpcbynumber.c: Moved ...
31521         * sunrpc/getrpcbynumber.c: ... here.
31522         * inet/getrpcbynumber_r.c: Moved ...
31523         * sunrpc/getrpcbynumber_r.c: ... here.
31524         * inet/getrpcent.c: Moved ...
31525         * sunrpc/getrpcent.c: ... here.
31526         * inet/getrpcent_r.c: Moved ...
31527         * sunrpc/getrpcent_r.c: ... here.
31528         * inet/Makefile (routines): Move those to ...
31529         * sunrpc/Makefile (routines): ... here.
31530         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31531         the $(subdirs) list.
31532         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31533         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31534         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31535         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31537         * elf/Makefile (routines): Include $(all-dl-routines), not just
31538         $(dl-routines).
31539         (rtld-routines): Likewise.  Use = rather than :=.
31540         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31541         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31542         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31543         * sysdeps/arm/Makefile: Likewise.
31544         * sysdeps/i386/Makefile: Likewise.
31545         * sysdeps/x86_64/Makefile: Likewise.
31546         * sysdeps/hppa/Makefile [$(subdir) = elf]
31547         (sysdep_routines, sysdep-rtld-routines): Don't add
31548         $(sysdep-dl-routines) to these.
31549         * sysdeps/ia64/Makefile: Likewise.
31550         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31551         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31552         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31553         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31554         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31555         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31556         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31557         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31558         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31559         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31560         these; sysdep-dl-routines alone is enough.
31562 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31564         [BZ #17932]
31565         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31566         where multiplication results in zero and third argument is finite
31567         and nonzero.
31568         * math/auto-libm-test-in: Add more tests of fma.
31569         * math/auto-libm-test-out: Regenerated.
31571         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31572         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31573         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31574         (_FP_CMP_EQ): Likewise.
31575         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31577         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31578         extra argument CHECK_NAN.  Redefine as wrapper around
31579         _FP_EXTEND_CNAN.
31581 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31583         * version.h (RELEASE): Set to "stable".
31584         (VERSION): Set to "2.21"
31585         * include/features.h (__GLIBC_MINOR__): Set to 21.
31587         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31589 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31590             Paul Eggert  <eggert@cs.ucla.edu>
31592         [BZ #16618]
31593         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31594         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31595         size in bytes. Store needed elements in wpmax. Use needed size
31596         in bytes for extend_alloca.
31598 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31600         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31601         binutls 2.25, and texinfo 5.2.
31602         * INSTALL: Regenerate.
31603         * sysdeps/nios2/configure: Regenerate.
31604         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31605         * manual/contrib.texi: Update.
31606         * po/be.po: Update.
31607         * po/bg.po: Update.
31608         * po/ca.po: Update.
31609         * po/cs.po: Update.
31610         * po/da.po: Update.
31611         * po/de.po: Update.
31612         * po/el.po: Update.
31613         * po/eo.po: Update.
31614         * po/es.po: Update.
31615         * po/fi.po: Update.
31616         * po/fr.po: Update.
31617         * po/gl.po: Update.
31618         * po/hr.po: Update.
31619         * po/hu.po: Update.
31620         * po/ia.po: Update.
31621         * po/id.po: Update.
31622         * po/it.po: Update.
31623         * po/ja.po: Update.
31624         * po/ko.po: Update.
31625         * po/lt.po: Update.
31626         * po/nb.po: Update.
31627         * po/nl.po: Update.
31628         * po/pl.po: Update.
31629         * po/pt_BR.po: Update.
31630         * po/ru.po: Update.
31631         * po/rw.po: Update.
31632         * po/sk.po: Update.
31633         * po/sl.po: Update.
31634         * po/sv.po: Update.
31635         * po/tr.po: Update.
31636         * po/uk.po: Update.
31637         * po/vi.po: Update.
31638         * po/zh_CN.po: Update.
31639         * po/zh_TW.po: Update.
31641         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31642         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31643         * sysdeps/hppa/dl-irel.h: Remove #warning.
31644         * sysdeps/hppa/entry.h: Provide prototype for
31645         __canonicalize_funcptr_for_compare and cast argument.
31646         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31647         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31648         * sysdeps/hppa/sotruss-lib.c: New file.
31649         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31650         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31651         (atomic_compare_and_exchange_bool_acq): Likewise.
31652         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31653         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31655         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31656         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31657         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31659 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31661         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31662         called function in non-PIC case.
31664 2015-01-31  David S. Miller  <davem@davemloft.net>
31666         * sysdeps/sparc/sparc32/bits/atomic.h
31667         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31668         unlock not after it.
31669         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31670         volatile register usage warnings from the compiler.
31672         * sysdeps/sparc/nptl/sem_init.c: Delete.
31673         * sysdeps/sparc/nptl/sem_post.c: Delete.
31674         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31675         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31676         * sysdeps/sparc/sparc32/sem_init.c: New file.
31677         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31678         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31679         padding explicitly initialized.
31680         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31681         padding for in-semaphore spinlock.
31682         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31683         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31684         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31685         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31686         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31687         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31688         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31689         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31690         version.
31691         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31692         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31694 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31696         [BZ #17801]
31697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31698         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31699         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31700         New.
31701         (index_AVX_Fast_Unaligned_Load): Likewise.
31702         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31703         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31704         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31705         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31706         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31707         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31708         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31709         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31710         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31712 2015-01-29  Andreas Schwab  <schwab@suse.de>
31714         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31716 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31718         [BZ #17892]
31719         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31721 2015-01-28  Martin Sebor  <msebor@redhat.com>
31723         * math/README.libm-test: Clarify. Add "How to read the test output."
31725 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31727         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31728         Define to 0.
31730 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31732         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31733         (__HAVE_64B_ATOMICS): Define to 0.
31735 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31737         [BZ #17885]
31738         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31739         value to set as new flag.
31741         [BZ #16576]
31742         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31743         and use _ARCH_PPCSQ instead.
31744         (__ieee754_sqrt): Likewise.
31745         (__ieee754_sqrtf): Likewise.
31746         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31747         _ARCH_PPCSQ is defined.
31748         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31749         fsqrt instruction.
31750         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31751         _ARCH_PPCSQ is defined.
31752         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31753         fsqrts instruction.
31754         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31756 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31758         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31759         bug (GCC BZ #64739).
31761 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31763         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31764         Mark _retval as used.
31765         (lll_futex_wake_unlock): Likewise.
31766         (lll_futex_timed_wait_requeue_pi): Likewise.
31768         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31769         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31770         register variables.
31772         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31773         libm_hidden_def.
31775         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31776         (__bswap_64): Mark as __always_inline.
31778 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31780         [BZ #15378]
31781         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31782         when none of the search directories exist.
31784 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31786         [BZ #17869]
31787         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31788         power8 in .machine directive.
31790         [BZ #17868]
31791         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31792         set dependency from opd value.
31794 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31797         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31798         architecture.
31800 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31802         [BZ #17870]
31803         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31804         with uint64_t.
31805         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31806         (uint64_t) 1.
31807         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31808         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31809         Replace 1UL with (uint64_t) 1.
31810         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31811         int with uint64_t.
31813 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31815         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31816         (if_freenameindex): Likewise.
31818         * resource/getrlimit64.c: Add missing libc_hidden_def.
31820 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31822         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31823         __label__.
31824         (_FP_FMA): Likewise.
31825         (_FP_TO_INT_ROUND): Likewise.
31826         (_FP_FROM_INT): Likewise.
31828 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31830         [BZ #16418]
31831         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31832         Make code racy and cancel safe.
31834 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31836         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31837         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31838         attribution.
31840         * pwd/tst-getpw.c: Rewrite.
31842         [BZ #17702]
31843         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31844         (modules-names): Add moddummy1 and moddummy2.
31845         ($(objpfx)tst-rec-dlopen): Define.
31846         * dlfcn/moddummy1.c: New file.
31847         * dlfcn/moddummy2.c: New file.
31848         * dlfcn/tst-rec-dlopen.c: New file.
31849         * elf/dl-cache.c (_dl_load_cache_lookup):
31850         Return char*. Copy result with alloca/strcpy/strdup.
31851         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31852         returns char*. Free cached. If not saving realname
31853         free cached.
31854         * elf/dl-open.c (dl_open_worker): Do not assert that
31855         _r_debug->r_state is RT_CONSISTENT.
31856         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31857         returns char*.
31859 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31860             Carlos O'Donell  <carlos@redhat.com>
31862         [BZ #12674]
31863         * nptl/sem_waitcommon.c: New file.
31864         * nptl/sem_wait.c: Include sem_waitcommon.c.
31865         (__sem_wait_cleanup, do_futex_wait): Remove.
31866         (__new_sem_wait): Adapt.
31867         (__new_sem_trywait): New function.
31868         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31869         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31870         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31871         (sem_timedwait): Adapt.
31872         * nptl/sem_post.c (__new_sem_post): Adapt.
31873         (futex_wake): New function.
31874         (__old_sem_post): Add release MO fence.
31875         * nptl/sem_open.c (sem_open): Adapt.
31876         * nptl/sem_init.c (__new_sem_init): Adapt.
31877         (futex_private_if_supported): New function.
31878         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31879         (__old_sem_getvalue): Add using previous code.
31880         * sysdeps/nptl/internaltypes.h: Adapt.
31881         * nptl/tst-sem13.c (do_test): Adapt.
31882         * nptl/tst-sem11.c (main): Adapt.
31883         * nptl/sem_trywait.c: Remove.
31884         * nptl/DESIGN-sem.txt: Remove.
31885         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31886         (gen-as-const-headers): Remove structsem.sym.
31887         * nptl/structsem.sym: Remove.
31888         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31889         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31890         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31891         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31892         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31893         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31894         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31895         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31896         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31897         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31898         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31899         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31900         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31901         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31902         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31903         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31904         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31905         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31906         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31907         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31908         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31909         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31911 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31913         * INSTALL: Regenerated.
31915         * po/libc.pot: Regenerated.
31917 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31918             Sandra Loosemore  <sandra@codesourcery.com>
31919             Andrew Jenner  <andrew@codesourcery.com>
31920             Joseph Myers  <joseph@codesourcery.com>
31921             Nathan Sidwell  <nathan@codesourcery.com>
31923         * NEWS: Mention new Nios II port.
31924         * sysdeps/nios2/Implies: New file.
31925         * sysdeps/nios2/Makefile: New file.
31926         * sysdeps/nios2/Subdirs: New file.
31927         * sysdeps/nios2/Versions: New file.
31928         * sysdeps/nios2/__longjmp.S: New file.
31929         * sysdeps/nios2/abort-instr.h: New file.
31930         * sysdeps/nios2/backtrace.c: New file.
31931         * sysdeps/nios2/bits/endian.h: New file.
31932         * sysdeps/nios2/bits/fenv.h: New file.
31933         * sysdeps/nios2/bits/link.h: New file.
31934         * sysdeps/nios2/bits/setjmp.h: New file.
31935         * sysdeps/nios2/bsd-_setjmp.S: New file.
31936         * sysdeps/nios2/bsd-setjmp.S: New file.
31937         * sysdeps/nios2/configure: New generated file.
31938         * sysdeps/nios2/configure.ac: New file.
31939         * sysdeps/nios2/crti.S: New file.
31940         * sysdeps/nios2/crtn.S: New file.
31941         * sysdeps/nios2/dl-init.c: New file.
31942         * sysdeps/nios2/dl-machine.h: New file.
31943         * sysdeps/nios2/dl-sysdep.h: New file.
31944         * sysdeps/nios2/dl-tls.h: New file.
31945         * sysdeps/nios2/dl-trampoline.S: New file.
31946         * sysdeps/nios2/gccframe.h: New file.
31947         * sysdeps/nios2/gmp-mparam.h: New file.
31948         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31949         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31950         * sysdeps/nios2/ldsodefs.h: New file.
31951         * sysdeps/nios2/libc-tls.c: New file.
31952         * sysdeps/nios2/libm-test-ulps: New file.
31953         * sysdeps/nios2/machine-gmon.h: New file.
31954         * sysdeps/nios2/math-tests.h: New file.
31955         * sysdeps/nios2/math_private.h: New file.
31956         * sysdeps/nios2/memusage.h: New file.
31957         * sysdeps/nios2/nptl/Makefile: New file.
31958         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31959         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31960         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31961         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31962         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31963         * sysdeps/nios2/nptl/tls.h: New file.
31964         * sysdeps/nios2/preconfigure: New file.
31965         * sysdeps/nios2/s_fma.c: New file.
31966         * sysdeps/nios2/s_fmaf.c: New file.
31967         * sysdeps/nios2/setjmp.S: New file.
31968         * sysdeps/nios2/sfp-machine.h: New file.
31969         * sysdeps/nios2/sotruss-lib.c: New file.
31970         * sysdeps/nios2/stackguard-macros.h: New file.
31971         * sysdeps/nios2/stackinfo.h: New file.
31972         * sysdeps/nios2/start.S: New file.
31973         * sysdeps/nios2/sysdep.h: New file.
31974         * sysdeps/nios2/tls-macros.h: New file.
31975         * sysdeps/nios2/tst-audit.h: New file.
31976         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31977         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31978         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31979         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31980         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31981         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31982         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31983         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31984         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31985         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31986         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31987         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31988         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31989         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31990         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31991         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31992         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31993         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31994         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31995         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31996         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31997         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31998         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31999         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32000         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32001         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32002         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32003         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32004         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32005         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32006         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32007         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32008         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32009         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32010         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32011         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32012         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32013         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32014         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32015         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32016         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32017         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32018         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32019         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32021 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32023         [BZ #17844]
32024         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32025         (getutent): Use weak_alias in non SHARED case
32026         and default_symbol_version in SHARED case.
32027         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32028         (getutent_r, pututline): Likewise.
32029         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32030         (getutid): Likewise.
32031         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32032         (getutid_r): Likewise.
32033         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32034         (getutline): Likewise.
32035         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32036         (getutline_r): Likewise.
32037         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32038         (updwtmp): Likewise.
32040 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32042         [BZ #17848]
32043         * sysdeps/s390/s390-32/memcmp.S
32044         (memcmp_g5): Rename to __memcmp_g5.
32045         * sysdeps/s390/s390-32/memcpy.S
32046         (memcpy_g5): Rename to __memcpy_g5.
32047         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32048         (memcpy_mvcle) Rename to __memcpy_mvcle.
32049         * sysdeps/s390/s390-32/memset.S
32050         (memset_g5): Rename to __memset_g5.
32051         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32052         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32053         and use prefixed functions.
32054         * sysdeps/s390/s390-32/multiarch/memcmp.S
32055         (memcmp_z196): Rename to __memcmp_z196.
32056         (memcmp_z10): Rename to __memcmp_z10.
32057         (memcmp): Set alias to __memcmp_g5.
32058         (bcmp): Set alias to __memcmp_g5.
32059         * sysdeps/s390/s390-32/multiarch/memcpy.S
32060         (memcpy_z196): Rename to __memcpy_z196.
32061         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32062         (memcpy_z10): Rename to __memcpy_z10.
32063         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32064         (memcpy): Set alias to __memcpy_g5.
32065         * sysdeps/s390/s390-32/multiarch/memset.S
32066         (memset_z196): Rename to __memset_z196.
32067         Jump to __memset_mvcle instead of memset_mvcle.
32068         (memset_z10): Rename to __memset_z10.
32069         Jump to __memset_mvcle instead of memset_mvcle.
32070         (memset_mvcle) Rename to __memset_mvcle.
32071         (memset): Set alias to __memset_g5.
32072         * sysdeps/s390/s390-64/memcmp.S
32073         (memcmp_z900): Rename to __memcmp_z900.
32074         * sysdeps/s390/s390-64/memcpy.S
32075         (memcpy_z900): Rename to __memcpy_z900.
32076         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32077         (memcpy_mvcle) Rename to __memcpy_mvcle.
32078         * sysdeps/s390/s390-64/memset.S
32079         (memset_z900): Rename to __memset_z900.
32080         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32081         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32082         and use prefixed functions.
32083         * sysdeps/s390/s390-64/multiarch/memcmp.S
32084         (memcmp_z196): Rename to __memcmp_z196.
32085         (memcmp_z10): Rename to __memcmp_z10.
32086         (memcmp): Set alias to __memcmp_z900.
32087         (bcmp): Set alias to __memcmp_z900.
32088         * sysdeps/s390/s390-64/multiarch/memcpy.S
32089         (memcpy_z196): Rename to __memcpy_z196.
32090         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32091         (memcpy_z10): Rename to __memcpy_z10.
32092         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32093         (memcpy): Set alias to __memcpy_z900.
32094         * sysdeps/s390/s390-64/multiarch/memset.S
32095         (memset_z196): Rename to __memset_z196.
32096         Jump to __memset_mvcle instead of memset_mvcle.
32097         (memset_z10): Rename to __memset_z10.
32098         Jump to __memset_mvcle instead of memset_mvcle.
32099         (memset_mvcle) Rename to __memset_mvcle.
32100         (memset): Set alias to __memset_z900.
32102 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32104         [BZ #17748]
32105         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32106         __fesetenv instead of fesetenv.
32108 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32110         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32111         macro.
32113 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32115         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32116         regression on LE.
32118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32119         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32120         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32121         strncmp-power8 object.
32122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32123         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32124         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32125         * NEWS: Update.
32127 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32128             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32130         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32131         trailing byte check.
32133 2015-01-13  David S. Miller  <davem@davemloft.net>
32135         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32137 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32139         * login/logout.c (logout): Use memset rather than bzero.
32140         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32141         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32142         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32143         (_gethtbyaddr): Likewise.
32144         * locale/programs/simple-hash.c (bcopy): Macro removed.
32146 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32149         Add strcmp-power8 object.
32150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32151         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32152         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32153         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32154         __strcmp_power8 implementation.
32155         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32156         * NEWS: Update.
32158         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32159         Add strncpy-power8 and stpncpy-power8 objects.
32160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32161         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32162         implementations.
32163         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32164         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32165         __stpncpy_power8 implementation.
32166         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32167         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32168         __strncpy_power8 implementation.
32169         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32170         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32171         * NEWS: Update.
32173         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32174         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32175         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32177         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32178         strncat-power8 object.
32179         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32180         __strcat_power8 implementation.
32181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32182         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32183         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32184         optimized strcat for power8.
32186         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32187         strcpy-power8 and stpcpy-power8 objects.
32188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32189         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32190         implementations.
32191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32192         multiarch stpcpy implementation for POWER8.
32193         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32194         multiarch strcpy implementation for POWER8.
32195         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32196         __strcpy_power8 function.
32197         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32198         stpcpy for POWER8.
32199         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32200         strcpy for POWER8.
32201         * NEWS: Update.
32203 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32205         [BZ #16009]
32206         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32207         weights and rules. Use do_xfrm_cached if data fits in cache,
32208         do_xfrm otherwise.  Moved former main loop to...
32209         * (do_xfrm_cached): New function.
32210         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32211         find_idx, find_position and stack_push.
32212         * (find_idx): New function.
32213         * (find_position): Likewise.
32214         * localedata/sort-test.sh: Added test run for do_xfrm.
32215         * localedata/xfrm-test.c (main): Added command line option
32216         -nocache to run the test with strings that are too large for
32217         the STRXFRM cache.
32219 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32221         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32222         variable to lll_futex_wake call, not the value itself.
32224 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32226         [BZ #17803]
32227         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32228         twom64.  Adjust value to 0x1p-64L.
32229         (__scalblnl): Only return standard underflowing result for K <=
32230         -64 not K <= -63; adjust exponent for underflowing result by 64
32231         not 63.
32232         * math/libm-test.inc (scalbn_test_data): Add more tests.
32233         (scalbln_test_data): Likewise.
32235         [BZ #17834]
32236         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32237         0x1p63L.
32238         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32239         not HX.
32240         * math/libm-test.inc (scalbn_test_data): Add more tests.
32241         (scalbln_test_data): Likewise.
32243 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32244             Stefani Seibold  <stefani@seibold.net>
32246         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32247         (sysdep_routines): Add dl-vdso here, ...
32248         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32249         (sysdep_routines): ... not here.
32250         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32251         fallback when vDSO is not presented.
32252         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32253         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32254         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32255         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32256         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32257         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32258         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32259         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32260         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32261         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32262         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32263         fallback configurable symbol when vDSO is not available.
32264         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32265         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32266         be able to redefine fallback symbol when vDSO is not available.
32267         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32268         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32270 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32272         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32273         (TLS_INIT_TP): Add tm_capable initialization.
32274         (TLS_DEFINE_INIT_TP): Likewise.
32275         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32276         TCB.
32277         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32278         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32279         calculation.
32280         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32281         transactoion is lock elision is built and TCB tm_capable is set.
32282         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32284         (INTERNAL_SYSCALL_NCS): Likewise.
32285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32286         (INTERNAL_SYSCALL_NCS): Likewise.
32287         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32289         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32290         for powerpc.
32291         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32292         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32293         and remove it for 32 bits case.
32294         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32296         initialization.
32297         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32298         Disable lock elision with rdlocks if elision is not available.
32300         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32301         (sysdep_routines): Add lock elision objects.
32302         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32303         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32304         [pthread_mutex_t] (__elision): Add field.
32305         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32306         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32307         elision definitions for powerpc.
32308         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32309         implementation of lock elision for powerpc.
32310         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32311         implementation of timed lock elision for powerpc.
32312         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32313         implementation of trylock with lock elision for powerpc.
32314         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32315         implementaion of unlock for lock elision for powerpc.
32316         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32317         automatic enable lock elision for mutexes.
32318         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32319         transaction execution definitions for powerpc.
32320         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32321         definitions.
32322         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32323         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32324         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32325         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32326         * NEWS: Update.
32328 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32330         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32331         for #include of <shm-directory.h>.
32333 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32335         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32336         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32338 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32340         [BZ #17791]
32341         * NEWS: Mention bug fix.
32342         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32343         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32344         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32346 2015-01-09  Torvald Riegel <triegel@redhat.com>
32348         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32350 2015-01-09  Torvald Riegel <triegel@redhat.com>
32352         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32354 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32356         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32357         pointer and cast to uintptr_t.
32359 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32361         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32362         removed.
32363         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32365 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32367         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32368         of 0.
32370 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32372         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32373         <nptl/pthreadP.h> instead.
32374         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32376         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32377         already defined.
32378         [__SIGRTMIN] (init): Function removed.
32379         [__SIGRTMIN] (initialized): Variable removed.
32380         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32381         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32382         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32383         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32384         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32385         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32386         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32387         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32388         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32389         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32390         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32391         * sysdeps/nptl/allocrtsig.c: New file.
32392         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32393         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32394         * sysdeps/generic/testrtsig.h: File removed.
32396         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32397         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32399         * nptl/nptl-init.c (pthread_functions): Conditionalize
32400         .ptr__nptl_setxid initialization on [SIGSETXID].
32402         * sysdeps/nptl/sys/procfs.h: New file.
32403         * nptl_db/Makefile (headers): Add it.
32404         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32406         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32407         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32408         * nptl/pthread_attr_setaffinity.c: Include it.
32409         * nptl/pthread_setattr_default_np.c: Likewise.
32410         * nptl/check-cpuset.h: New file.
32412 2015-01-08  Richard Henderson  <rth@redhat.com>
32414         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32415         (CFLAGS-tst-execstack-prog.c): Likewise.
32416         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32418 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32419             Sandra Loosemore  <sandra@codesourcery.com>
32420             Andrew Jenner  <andrew@codesourcery.com>
32421             Joseph Myers  <joseph@codesourcery.com>
32422             Nathan Sidwell  <nathan@codesourcery.com>
32424         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32425         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32426         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32427         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32428         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32429         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32430         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32431         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32432         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32433         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32434         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32435         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32436         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32437         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32438         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32439         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32440         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32442 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32444         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32445         timespec struct member in syscall macro.
32446         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32447         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32448         first timeval struct member in syscall macro.
32449         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32451 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32453         [BZ #17748]
32454         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32455         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32456         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32457         __feupdateenv and define as weak alias of __feupdateenv.  Use
32458         libm_hidden_weak.
32459         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32460         libm_hidden_def.
32461         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32462         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32463         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32464         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32465         libm_hidden_def.
32466         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32467         __feupdateenv and define as weak alias of __feupdateenv.  Use
32468         libm_hidden_weak.
32469         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32470         libm_hidden_def.
32471         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32472         __feupdateenv and define as weak alias of __feupdateenv.  Use
32473         libm_hidden_weak.
32474         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32475         libm_hidden_def.
32476         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32477         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32478         (__feupdateenv): Likewise.
32479         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32480         __feupdateenv and define as weak alias of __feupdateenv.  Use
32481         libm_hidden_weak.
32482         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32483         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32484         libm_hidden_def.
32485         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32486         function.
32487         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32488         libm_hidden_def.
32489         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32490         __feupdateenv instead of feupdateenv.
32491         (default_libc_feupdateenv_test): Likewise.
32492         (libc_feresetround_ctx): Likewise.
32494 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32496         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32497         prototype.
32499 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32501         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32502         COLL_SYM in a couple of places to avoid uninitialized variable
32503         wanings on tilegx gcc 4.8.2.
32505 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32507         * sysdeps/aarch64/strcpy.S: New file.
32508         * sysdeps/aarch64/stpcpy.S: New file.
32509         * NEWS: Updated.
32511 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32513         * sysdeps/aarch64/strrchr.S: New file.
32514         * NEWS: Updated.
32516 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32518         [BZ #17658]
32519         * stdlib/setenv.c: Fix memory leak when setting large,
32520         duplicate string.
32522 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32524         [BZ #17273]
32525         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32526         and tabs from buffer before parsing fstab entry.
32527         * misc/tst-mntent.c (main): Add test for mount entry with
32528         trailing spaces and tabs.
32530 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32532         [BZ #17748]
32533         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32534         * math/fesetround.c (fesetround): Rename to __fesetround and
32535         define as weak alias of __fesetround.  Use libm_hidden_weak.
32536         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32537         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32538         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32539         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32540         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32541         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32542         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32543         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32544         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32545         __fesetround_inline.
32546         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32547         __fesetround_inline instead of __fesetround.
32548         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32549         __fesetround and define as weak alias of __fesetround.  Use
32550         libm_hidden_weak.  Call __fesetround_inline instead of
32551         __fesetround.
32552         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32553         __fesetround and define as weak alias of __fesetround.  Use
32554         libm_hidden_weak.
32555         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32556         Likewise.
32557         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32558         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32559         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32560         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32561         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32562         __fesetround and define as weak alias of __fesetround.  Use
32563         libm_hidden_weak.
32564         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32565         __fesetround instead of fesetround.
32566         (default_libc_feholdexcept_setround): Likewise.
32567         (libc_feholdsetround_ctx): Likewise.
32568         (libc_feholdsetround_noex_ctx): Likewise.
32570         [BZ #17748]
32571         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32572         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32573         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32574         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32575         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32576         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32577         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32578         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32579         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32580         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32581         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32582         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32583         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32584         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32585         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32586         libm_hidden_def.
32587         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32588         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32589         Likewise.
32590         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32591         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32592         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32593         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32594         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32595         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32596         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32597         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32598         __fesetenv instead of fesetenv.
32599         (libc_feresetround_noex_ctx): Likewise.
32600         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32601         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32602         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32603         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32604         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32605         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32606         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32607         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32608         (__feupdateenv): Likewise.
32609         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32610         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32611         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32612         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32614 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32616         [BZ #17806]
32617         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32618         addresses have been freed.
32620 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32622         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32623         and nservall.
32625 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32627         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32628         Clean up check_pf allocation pattern. addresses
32630 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32632         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32633         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32634         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32635         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32636         * nptl/pthread_join.c (pthread_join): Likewise.
32637         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32638         * sysdeps/posix/waitid.c (__waitid): Likewise.
32639         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32640         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32641         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32642         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32644         Likewise.
32645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32646         (__libc_pread64): Likewise.
32647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32648         (__libc_pwrite): Likewise.
32649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32650         (__libc_pwrite64): Likewsie.
32651         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32652         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32653         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32654         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32655         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32656         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32657         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32659         Likewise.
32660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32661         (__libc_pread64): Likewise.
32662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32663         Likewise.
32664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32665         (__libc_pwrite64): Likewise.
32666         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32667         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32668         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32669         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32670         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32671         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32672         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32673         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32674         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32675         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32676         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32677         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32678         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32679         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32680         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32681         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32682         Likewise.
32684 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32686         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32687         (CFLAGS-test-double.c): Likewise.
32688         (CFLAGS-test-ldouble.c): Likewise.
32689         (CPPFLAGS-test-ifloat.c): Likewise.
32690         (CPPFLAGS-test-idouble.c): Likewise.
32691         (CPPFLAGS-test-ildoubl.c): Likewise.
32692         (CFLAGS-test-test-fenv.c): Remove variable.
32693         (CFLAGS-test-misc.c): Likewise.
32695 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32697         [BZ #17797]
32698         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32699         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32700         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32701         CLOCKS_PER_SEC == 1000000.
32702         * time/clocktest.c (main): Replace %ld with %jd and cast to
32703         intmax_t.
32705 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32707         * sysdeps/generic/unwind-resume.h: New file.
32708         * sysdeps/gnu/unwind-resume.c: Include it.
32709         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32710         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32711         argument list.
32712         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32713         global rather than static.
32714         (_Unwind_Resume): Update user.
32715         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32716         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32717         rather than static.  Add __attribute__ ((cold)).
32718         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32719         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32720         * sysdeps/arm/arm-unwind-resume.S: New file.
32721         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32722         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32723         * sysdeps/arm/Makefile [$(subdir) = csu]
32724         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32725         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32726         Add rt-arm-unwind-resume.
32727         [$(subdir) = nptl]
32728         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32729         Add pt-arm-unwind-resume.
32730         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32731         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32733 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32735         [BZ #17748]
32736         * include/fenv.h (__feholdexcept): Declare.  Use
32737         libm_hidden_proto.
32738         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32739         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32740         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32741         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32742         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32743         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32744         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32745         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32746         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32747         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32748         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32749         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32750         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32751         (feholdexcept): Likewise.
32752         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32753         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32754         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32755         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32756         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32757         __feholdexcept instead of feholdexcept.
32758         (default_libc_feholdexcept_setround): Likewise.
32760 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32762         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32763         to avoid using stl/str to align destination.
32765 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32767         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32769 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32771         [BZ #17796]
32772         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32773         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32774         Define as weak alias not strong alias.
32776 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32778         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32779         bltzal with addiupc.
32780         (RTLD_START): Ditto.
32782 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32784         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32785         for __vdso_* functions in declarations.
32786         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32787         definitions.
32788         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32789         INTERNAL_VSYSCALL): Use struct return types to check for error.
32791         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32792         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32793         function with cast from llround().
32794         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32795         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32796         Define.
32798 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32800         [BZ #17793]
32801         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32802         Define as weak alias not strong alias.
32804         [BZ #17635]
32805         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32806         ...
32807         * ctype/ctype-extn.c: ... here.
32808         (__isblank_l): Move to ...
32809         * ctype/ctype-c99_l.c: ... here.  New file.
32810         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32811         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32812         Remove variable.
32813         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32814         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32815         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32816         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32817         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32819         [BZ #17777]
32820         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32821         (posix_fadvise64): Define as weak alias not strong alias.
32822         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32823         (posix_fallocate64): Likewise.
32824         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32825         Remove variable.
32826         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32827         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32828         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32829         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32830         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32832 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32834         [BZ #16191]
32835         * NEWS: Mention bug fix.
32836         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32837         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32838         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32839         (HOST_STACK_END_ADDR): Likewise.
32841 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32843         [BZ #17748]
32844         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32845         * math/fegetround.c (fegetround): Rename to __fegetround and
32846         define as weak alias of __fegetround.  Use libm_hidden_weak.
32847         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32848         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32849         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32850         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32851         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32852         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32853         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32854         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32855         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32856         Undefine after rather than before function definition; use
32857         parentheses around function name in definition.
32858         (__fegetround): Also undefine macro after function definition.
32859         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32860         __fegetround and define as weak alias of __fegetround.  Use
32861         libm_hidden_weak.  Do not undefine as macro.
32862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32863         Likewise.
32864         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32865         __fegetround and define as weak alias of __fegetround.  Use
32866         libm_hidden_weak.
32867         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32868         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32869         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32870         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32871         __fegetround and define as weak alias of __fegetround.  Use
32872         libm_hidden_weak.
32873         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32874         __fegetround instead of fegetround.
32876         [BZ #17782]
32877         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32878         Condition macro definition on [__USE_MISC].
32880         [BZ #17781]
32881         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32882         (struct sigaction): Change type of sa_flags field to int.
32884         [BZ #17780]
32885         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32886         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32887         __glibc_reserved0.
32889         * nptl/version.c (banner): Use single year in copyright notice.
32891         * NEWS: Update copyright dates.
32892         * catgets/gencat.c (print_version): Likewise.
32893         * csu/version.c (banner): Likewise.
32894         * debug/catchsegv.sh: Likewise.
32895         * debug/pcprofiledump.c (print_version): Likewise.
32896         * debug/xtrace.sh (do_version): Likewise.
32897         * elf/ldconfig.c (print_version): Likewise.
32898         * elf/ldd.bash.in: Likewise.
32899         * elf/pldd.c (print_version): Likewise.
32900         * elf/sotruss.sh: Likewise.
32901         * elf/sprof.c (print_version): Likewise.
32902         * iconv/iconv_prog.c (print_version): Likewise.
32903         * iconv/iconvconfig.c (print_version): Likewise.
32904         * locale/programs/locale.c (print_version): Likewise.
32905         * locale/programs/localedef.c (print_version): Likewise.
32906         * login/programs/pt_chown.c (print_version): Likewise.
32907         * malloc/memusage.sh (do_version): Likewise.
32908         * malloc/memusagestat.c (print_version): Likewise.
32909         * malloc/mtrace.pl: Likewise.
32910         * manual/libc.texinfo: Likewise.
32911         * nptl/version.c (banner): Likewise.
32912         * nscd/nscd.c (print_version): Likewise.
32913         * nss/getent.c (print_version): Likewise.
32914         * nss/makedb.c (print_version): Likewise.
32915         * posix/getconf.c (main): Likewise.
32916         * scripts/test-installation.pl: Likewise.
32917         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32919 2015-01-02  Will Newton  <will.newton@linaro.org>
32921         * sysdeps/arm/armv7/configure: Removed.
32922         * sysdeps/arm/armv7/configure.ac: Likewise.
32924 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32926         * All files with FSF copyright notices: Update copyright dates
32927         using scripts/update-copyrights.
32928         * intl/plural.c: Regenerated.
32929         * locale/programs/charmap-kw.h: Likewise.
32930         * locale/programs/locfile-kw.h: Likewise.
32932 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32934         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32936 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32938         [BZ #17748]
32939         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32940         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32941         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32942         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32943         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32944         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32945         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32946         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32947         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32948         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32949         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32950         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32951         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32952         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32953         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32954         libm_hidden_def.
32955         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32956         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32957         Likewise.
32958         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32959         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32960         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32961         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32962         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32963         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32964         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32965         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32966         __fegetenv instead of fegetenv.
32967         (libc_feholdsetround_noex_ctx): Likewise.
32969 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32971         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32972         (Elf_MIPS_ABIFlags_v0): New structure.
32973         (EF_MIPS_FP64): Define.
32974         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32975         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32976         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32977         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32978         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32979         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32980         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32981         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32982         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32983         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32984         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32985         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32986         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32987         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32988         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32989         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32990         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32991         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32992         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32993         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32994         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32995         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32996         field.
32997         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32998         EF_MIPS_FP64.
32999         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33000         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33001         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33002         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33003         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33004         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33005         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33006         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33007         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33008         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33009         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33010         record the current FP ABI extension.
33011         (mips-mode-switch): Define to show if kernel headers support mode
33012         switching.
33013         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33014         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33015         supported SYSV ABI version to 3.
33016         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33017         feature.
33019 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33020             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33022         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33023         path.
33024         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33026 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33028         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33029         __fegetround and redefine to call __fegetround.  Remove condition
33030         on [!__NO_MATH_INLINES].
33031         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33032         function.
33033         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33034         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33035         Remove macro.
33036         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33037         instead of <fenv_libc.h>.
33038         (__llrintl): Call fegetround instead of __fegetround.
33039         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33040         instead of <fenv_libc.h>.
33041         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33042         (__lrintl): Call fegetround instead of __fegetround.
33043         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33044         instead of <fenv_libc.h>.
33045         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33046         (__rintl): Call fegetround instead of __fegetround.
33048 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33050         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33051         arrays.
33053 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33055         [BZ #17775]
33056         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33057         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33058         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33060 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33062         * sysdeps/i386/tls-macros.h: Include <features.h>.
33063         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33064         (TLS_IE): Likewise.
33065         (TLS_LD): Likewise.
33066         (TLS_GD): Likewise.
33067         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33068         define for GCC >= 5.0.
33070 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33072         * math/test-fenv.c (test_single_exception, set_single_exc,
33073         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33074         feexcp_mask_test, feenable_test, fe_single_test): Add
33075         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33076         case where they are not used.
33077         * math/libm-test.inc: Likewise.
33078         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33079         unused in the absence of FP rounding/exception support.
33080         * stdio-common/tst-printf-round.c: Likewise.
33081         * stdlib/tst-strtod-round.c: Likewise.
33082         * stdlib/tst-strtod-underflow.c: Likewise.
33084 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33086         [BZ #17723]
33087         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33088         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33089         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33090         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33091         libm_hidden_weak.
33092         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33093         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33094         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33095         libm_hidden_def.
33096         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33097         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33098         libm_hidden_weak.
33099         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33100         Likewise.
33101         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33102         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33103         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33104         libm_hidden_weak.
33105         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33106         libm_hidden_def.
33107         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33108         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33109         (__feraiseexcept): Likewise.
33110         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33111         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33112         libm_hidden_weak.
33113         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33114         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33115         libm_hidden_def.
33116         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33117         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33118         Use libm_hidden_def.
33119         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33120         libm_hidden_def.
33121         (feraiseexcept): Define as weak not strong alias.  Use
33122         libm_hidden_weak.
33123         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33124         New inline function.  Factored out of ...
33125         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33126         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33127         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33128         feraiseexcept.
33129         * math/w_acos.c (__acos): Likewise.
33130         * math/w_asin.c (__asin): Likewise.
33131         * math/w_ilogb.c (__ilogb): Likewise.
33132         * math/w_j0.c (y0): Likewise.
33133         * math/w_j1.c (y1): Likewise.
33134         * math/w_jn.c (yn): Likewise.
33135         * math/w_log.c (__log): Likewise.
33136         * math/w_log10.c (__log10): Likewise.
33137         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33138         * sysdeps/aarch64/fpu/math_private.h
33139         (libc_feupdateenv_test_aarch64): Likewise.
33140         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33141         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33142         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33143         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33144         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33145         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33146         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33147         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33148         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33149         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33151 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33153         [BZ #17732]
33154         * io/test-utime.c (main): Replace %ld with %jd and cast to
33155         intmax_t.
33156         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33157         * nptl/tst-mutex5.c: Include <stdint.h>.
33158         (do_test): Replace %ld with %jd and cast to intmax_t.
33159         * posix/tst-regex.c (run_test): Likewise.
33160         (run_test_backwards): Likewise.
33161         * rt/tst-clock.c: Include <stdint.h>.
33162         (clock_test): Replace %ld with %jd and cast to intmax_t.
33163         * rt/tst-cpuclock1.c: Include <stdint.h>.
33164         (do_test): Replace %lu with %ju and cast to uintmax_t.
33165         * rt/tst-cpuclock2.c: Include <stdint.h>.
33166         (do_test): Replace %lu with %ju and cast to uintmax_t.
33167         * rt/tst-mqueue1.c: Include <stdint.h>.
33168         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33169         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33170         intmax_t.
33171         * rt/tst-mqueue4.c (do_test): Likewise.
33172         * rt/tst-timer4.c: Include <stdint.h>.
33173         (check_ts): Replace %ld with %jd and cast to intmax_t.
33174         (do_test): Likewise.
33175         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33176         and cast to intmax_t.
33177         * sysdeps/pthread/tst-timer.c (main): Likewise.
33178         * time/clocktest.c (main): Likewise.
33179         * time/tst-posixtz.c (do_test): Likewise.
33180         * timezone/tst-timezone.c (main): Likewise.
33182 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33183             H.J. Lu  <hongjiu.lu@intel.com>
33185         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33186         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33187         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33188         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33189         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33190         version if bit_Fast_Unaligned_Load is set.
33191         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33192         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33193         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33194         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33196         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33198         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33199         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33200         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33201         to 4.
33202         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33203         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33204         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33205         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33207 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33209         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33210         instead of #if to avoid a Wundef warning.
33211         * stdlib/tst-limits.c (do_test): Likewise.
33213         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33214         parallel other exception macros.
33215         (fegetenv): Convert from macro to extern inline so that it applies
33216         retroactively to inline functions already seen by the compiler.
33217         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33219         * posix/Makefile (before-compile): Use $(objpfx) for
33220         posix-conf-vars-def.h.
33222 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33224         * posix/getconf.c (main): Use size_t for type of I.
33225         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33226         NSPEC.
33228         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33229         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33230         * posix/posix-envs.def: Likewise.
33231         * sysdeps/posix/sysconf.c: Likewise.
33232         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33233         (specs): Remove array.
33234         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33235         array.
33237         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33238         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33239         (__sysconf): Use CONF_IS_* macros.
33241         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33242         ($(objpfx)posix-conf-vars-def.h): New target.
33243         * posix/posix-conf-vars.list: New file.
33244         * posix/posix-conf-vars.h: New file.
33245         * posix/confstr.c: Include posix-conf-vars.h.
33246         (confstr): Use CONF_IS_* macros.
33247         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33248         CONF_IS_* macros.
33249         * scripts/gen-posix-conf-vars.awk: New file.
33251 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33253         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33254         fegetround): Add no-op macros to avoid linknamespace issues.
33256         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33257         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33259         * sysdeps/unix/sysv/linux/tile/sysdep.h
33260         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33261         assembly-specific section to avoid a redefinition warning.
33263         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33264         long before casting to pointer to avoid a cast warning.
33266 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33268         * sysdeps/tile/tilegx/Implies: New file.
33270 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33272         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33274 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33276         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33278 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33280         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33281         not define.
33282         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33283         <kernel-features.h>.
33284         (__utimes) [__NR_utimes]: Make code unconditional.
33285         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33286         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33287         (__ASSUME_UTIMES): Do not undefine.
33288         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33289         (__ASSUME_UTIMES): Likewise.
33290         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33291         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33292         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33293         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33295 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33297         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33299 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33301         [BZ #17747]
33302         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33303         alias to weak alias for j0l, y0l.
33304         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33305         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33307         [BZ #17746]
33308         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33309         conversion.
33311 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33313         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33314         to zero if not already defined.
33316 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33318         [BZ #17724]
33319         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33320         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33321         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33322         (char *) casts added.
33323         * sysdeps/ieee754/k_standardf.c: New file.
33324         * sysdeps/ieee754/k_standardl.c: Likewise.
33325         * math/Makefile (libm-support): Remove k_standard.
33326         (libm-calls): Add k_standard.
33328 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33330         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33331         Optimize to avoid an unnecessary FPCR read.
33333 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33335         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33336         Optimize to reduce FPCR/FPSR accesses.
33338 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33340         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33341         Call libc_fetestexcept_aarch64.
33343 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33345         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33346         Call libc_fesetround_aarch64.
33348 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33350         [BZ #17733]
33351         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33352         (__bind): Do not define as weak alias.
33353         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33354         define.
33355         (__getsockname): Do not define as weak alias.
33357 2014-12-22  Will Newton  <will.newton@linaro.org>
33359         * manual/install.texi: Document that we require bison 2.7
33360         or above.
33361         * INSTALL: Regenerate.
33362         * configure.ac: Use AC_CHECK_PROG_VER instead of
33363         AC_PATH_PROG when checking for bison and check for
33364         version 2.7 or above.
33365         * configure: Regenerate.
33367 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33369         [BZ #17745]
33370         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33371         * sysdeps/tile/ffsll.c (ffsll): To here.
33373         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33375 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33377         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33378         if not defined.
33379         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33380         definition.
33381         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33382         hidden ___tls_get_addr.
33383         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33384         hidden __tls_get_addr.
33385         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33386         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33387         Likewise.
33389 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33391         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33392         _dl_init call.
33394 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33396         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33397         from "call _dl_init@PLT".
33398         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33400 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33402         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33403         guarantees.
33405 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33407         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33409 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33411         [BZ #17744]
33412         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33413         strnlen.
33415 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33417         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33418         of multu on MIPSr6.
33419         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33420         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33421         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33422         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33423         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33425 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33427         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33428         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33429         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33430         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33431         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33432         mips32r6/mips64r6.
33433         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33435 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33437         * string/strncat.c (STRNCAT): Simplify implementation.
33439 2014-12-19  David S. Miller  <davem@davemloft.net>
33441         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33442         access the quad as both a long double and as a series of 4 words.
33444         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33445         link_map->l_info array access.
33447 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33449         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33451         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33452         * math/atest-exp2.c (TIMEOUT): Likewise.
33453         * math/atest-sincos.c (TIMEOUT): Likewise.
33455 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33457         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33458         -Wno-error with -fno-builtin-lround.
33460 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33462         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33463         Contains futex constants and functions moved over from ...
33464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33465         <lowlevellock-futex.h>.
33466         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33467         (lll_timedwait_tid): Add comments and parentheses around macro
33468         arguments.
33470 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33472         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33473         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33474         (__lll_private_flag): Remove.
33475         (lll_futex_wait): Likewise.
33476         (lll_futex_timed_wait): Likewise.
33477         (lll_futex_wake): Likewise.
33478         (lll_futex_requeue): Likewise.
33479         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33480         (__lll_timedwait_tid): Spell out argument names.
33481         (lll_timedwait_tid): Add comments and parentheses around macro
33482         arguments.
33483         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33484         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33486 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33488         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33489         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33490         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33491         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33492         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33493         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33494         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33495         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33496         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33497         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33498         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33499         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33502         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33503         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33504         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33505         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33506         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33508 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33510         * sysdeps/x86_64/x32/Makefile: New file.
33512 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33514         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33515         1L with (mp_limb_t) 1.
33517 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33519         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33520         * nptl/libc_pthread_init.c: ... here.
33521         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33522         * nptl/register-atfork.c: ... here.
33524         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33525         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33526         Use assert_perror to check its return value.
33527         (__gai_create_helper_thread): Likewise.
33529         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33531         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33533 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33535         [BZ #17725]
33536         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33537         __profil_counter.
33538         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33539         Likewise.
33540         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33541         Likewise.
33542         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33543         Likewise.
33544         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33545         (profil_counter): Likewise.
33546         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33547         (profil_counter): Likewise.
33548         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33549         Likewise.
33550         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33551         Likewise.
33552         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33553         (profil_counter): Likewise.
33554         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33555         Likewise.
33556         [!__profil_counter] (profil_counter): Define as weak alias of
33557         __profil_counter.
33558         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33559         (profil_counter): Rename to __profil_counter.
33560         [!__profil_counter] (profil_counter): Define as weak alias of
33561         __profil_counter.
33562         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33563         (profil_counter): Rename to __profil_counter.
33564         [!__profil_counter] (profil_counter): Define as weak alias of
33565         __profil_counter.
33566         * sysdeps/posix/profil.c: Update comment referring to
33567         profil_counter.
33568         (__profil): Use __profil_counter instead of profil_counter.
33569         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33570         __profil_counter.  Use __profil_counter_ushort and
33571         __profil_counter_uint in definitions.
33572         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33573         instead of profil_counter_uint and profil_counter_ushort.
33575         [BZ #17722]
33576         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33577         define as weak alias of __inet_makeaddr.
33578         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33579         as weak alias of __inet_addr.
33580         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33581         as weak alias of __inet_pton.  Use libc_hidden_weak.
33582         * include/arpa/inet.h (__inet_pton): Declare.  Use
33583         libc_hidden_proto.
33584         (inet_makeaddr): Don't use libc_hidden_proto.
33585         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33586         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33587         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33588         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33589         Remove variable.
33590         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33591         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33593 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33595         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33597 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33599         * stdio-common/bug-vfprintf-nargs.c (do_test):
33600         Cast value to intptr_t to avoid format warning
33601         for usage with PRIdPTR printing macro.
33603 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33605         * libio/tst-widetext.c (do_test):
33606         Use format type %td instead of %Zd for ptrdiff_t
33607         in order to avoid format warning.
33609 2014-12-17  Andreas Schwab  <schwab@suse.de>
33611         * nscd/mem.c (gc): Add size_t cast to match printf format.
33613 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33615         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33616         (init): Apply PTR_MANGLE to pointers before storing them.
33617         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33618         before using them.
33620 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33622         [BZ #17719]
33623         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33624         define as weak alias of __memrchr.
33625         (__memrchr): Do not define as strong alias of memrchr.
33626         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33627         Remove variable.
33628         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33629         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33630         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33632         [BZ #17717]
33633         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33634         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33635         (if_indextoname): Rename to __if_indextoname and define as weak
33636         alias of __if_indextoname.  Use libc_hidden_weak.
33637         (if_freenameindex): Rename to __if_freenameindex and define as
33638         weak alias of __if_freenameindex.
33639         (if_nameindex): Rename to __if_nameindex and define as weak alias
33640         of __if_nameindex.
33641         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33642         __if_nametoindex and define as weak alias of __if_nametoindex.
33643         Use libc_hidden_weak.
33644         (if_freenameindex): Rename to __if_freenameindex and define as
33645         weak alias of __if_freenameindex.
33646         (if_nameindex): Rename to __if_nameindex and define as weak alias
33647         of __if_nameindex.
33648         (if_indextoname): Rename to __if_indextoname and define as weak
33649         alias of __if_indextoname.  Use libc_hidden_weak.
33650         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33651         __if_nametoindex and define as weak alias of __if_nametoindex.
33652         Use libc_hidden_weak.
33653         (if_freenameindex): Rename to __if_freenameindex and define as
33654         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33655         (if_nameindex_netlink): Use __if_freenameindex instead of
33656         if_freenameindex.
33657         (if_nameindex): Rename to __if_nameindex and define as weak alias
33658         of __if_nameindex.  Use libc_hidden_weak.
33659         (if_indextoname): Rename to __if_indextoname and define as weak
33660         alias of __if_indextoname.  Use libc_hidden_weak.
33661         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33662         libc_hidden_proto.
33663         [!_ISOMAC] (__if_freenameindex): Likewise.
33664         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33665         if_nametoindex.
33666         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33667         variable.
33668         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33669         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33670         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33671         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33672         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33673         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33674         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33676         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33677         Remove variable.
33678         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33679         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33681 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33683         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33684         subscript above bounds'
33686         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33687         bounds.
33689 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33691         * libio/tst-fopenloc.c: Use test-skeleton.c.
33693         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33694         (entry): Rename to ITEM.
33695         (do_test, comp): Adjust.
33697         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33699 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33701         * string/tester.c: Include <libc-internal.h>.
33702         (test_memset): Ignore -Wmemset-transposed-args.
33704 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33706         * misc/tst-mntent2.c (do_test): Fix warning.
33708 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33710         * elf/tst-unique4lib.cc(a): Mark as used.
33712 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33714         [BZ #17630]
33715         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33716         names.
33718 2014-12-16  Allan McRae  <allan@archlinux.org>
33720         * stdio-common/Makefile (tests): Re-add bug26.
33722 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33724         [BZ #17657]
33725         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33726         static array.
33728 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33730         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33731         (__lll_lock_wait): Likewise.
33732         (__lll_timedlock_wait): Likewise.
33733         (__lll_timedwait_tid): Likewise.
33734         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33735         (__lll_robust_timedlock_wait): Likewise.
33736         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33737         (lll_cond_trylock): Likewise.
33738         (__lll_lock): Likewise.
33739         (__lll_robust_lock): Likewise.
33740         (__lll_cond_lock): Likewise.
33741         (lll_robust_cond_lock): Likewise.
33742         (__lll_timedlock): Likewise.
33743         (__lll_robust_timedlock): Likewise.
33744         (__lll_unlock): Likewise.
33745         (__lll_robust_unlock): Likewise.
33746         (lll_wait_tid): Likewise.
33747         (lll_timedwait_tid): Likewise.
33749 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33751         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33753 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33755         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33757 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33759         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33760         * stdio-common/tst-sprintf.c: Likewise.
33762 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33764         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33766 2014-12-15  Jeff Law  <law@redhat.com>
33768         [BZ #16617]
33769         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33770         on the heap.  (CVE-2012-3406)
33771         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33772         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33773         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33775 2014-12-15  Will Newton  <will.newton@linaro.org>
33777         * manual/install.texi: Bump required version of texinfo
33778         to 4.7 from 4.5.
33779         * INSTALL: Regenerated.
33780         * configure.ac: Check for makeinfo version 4.7 and above.
33781         * configure: Regenerated.
33783 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33785         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33786         PREFIX, string constant to insert between directory and name.
33787         * sysdeps/posix/shm_open.c: Update caller.
33788         * sysdeps/posix/shm_unlink.c: Likewise.
33789         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33790         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33791         (SEM_SHM_PREFIX): New macro.
33792         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33793         [$(have-thread-library) = no].
33794         * nptl/Makefile (libpthread-routines): Add shm-directory.
33795         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33796         * sysdeps/nptl/shm-directory.h: New file.
33797         * sysdeps/posix/shm-directory.c
33798         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33799         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33800         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33801         INTERNAL_SYSCALL.
33802         (__where_is_shmfs): Function removed.
33803         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33804         Variables removed.
33805         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33806         Use SHM_GET_NAME.
33807         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33809         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33810         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33811         unconditional for use inside libpthread.
33812         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33814 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33816         * nptl/pthread_getaffinity.c: New file.
33817         * nptl/pthread_setaffinity.c: New file.
33818         * nptl/pthread_getname.c: New file.
33819         * nptl/pthread_setname.c: New file.
33821         * nptl/pthread_create.c (START_THREAD_DEFN)
33822         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33824 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33827         * resolv/res_send.c (send_vc): Disable warning resplen may
33828         be used uninitialized.
33830 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33832         * nptl/tst-mutex6.c
33833         (ATTR_NULL): New define checks ATTR against NULL.
33834         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33835         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33837 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33839         [BZ #17581]
33840         * malloc/hooks.c
33841         (mem2mem_check): Revert my previous change.
33842         (malloc_check_get_size): Revert my previous change.
33843         (mem2chunk_check): Revert my previous change.
33845 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33847         * sysdeps/posix/shm-directory.c: New file.
33848         * sysdeps/posix/shm-directory.h: New file.
33849         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33850         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33851         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33852         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33853         Transmute EPERM to EACCES.
33854         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33855         from ...
33856         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33857         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33859 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33861         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33862         pointer and cast to uintptr_t.
33863         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33864         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33865         Add cast to avoid warning.
33866         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33868 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33870         * nptl/semaphore.h: Move to ...
33871         * sysdeps/pthread/semaphore.h: ... here.
33872         * Makefile (installed-headers): Change nptl/semaphore.h to
33873         sysdeps/pthread/semaphore.h.
33875 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33877         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33878         generated error format strings.
33880         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33881         -Wformat-extra-args warnings for scanf formats.
33882         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33883         test of zero-length format (duh).
33884         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33885         corner-case scanf format test.
33886         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33887         generated fprintf format string.
33888         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33889         corner-case sprintf format tests.
33890         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33891         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33892         -Wformat-extra-args warnings throughout.
33893         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33894         (CFLAGS-scanf4.c): Likewise.
33895         (CFLAGS-scanf7.c): Likewise.
33896         (CFLAGS-tst-sprintf.c): Likewise.
33897         (CFLAGS-tst-printf.c): Likewise.
33898         (CFLAGS-tst-printfsz.c): Likewise.
33900 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33902         * include/cpio.h: New file.
33903         * include/fmtmsg.h: Likewise.
33905         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33906         corresponding format argument to size_t.
33907         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33908         arguments.
33909         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33910         corresponding format argument to size_t.
33911         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33912         arguments.
33913         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33914         corresponding format argument to size_t.
33915         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33916         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33917         (CFLAGS-tst-mbswcs2.c): Likewise.
33918         (CFLAGS-tst-mbswcs3.c): Likewise.
33919         (CFLAGS-tst-mbswcs4.c): Likewise.
33920         (CFLAGS-tst-mbswcs5.c): Likewise.
33921         (CFLAGS-tst-trans.c): Likewise.
33923 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33925         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33926         rather than assuming they won't contain any '%'s.
33928 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33930         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33931         inhibit_loop_to_libcall to avoid recursive calls.
33932         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33933         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33935 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33937         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33938         prototype.
33940 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33942         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33943         integer value instead of boolean.
33945 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33947         * malloc/malloc.c: Fix powerof2 check.
33949 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33951         * locale/programs/locfile.h (maybe_swap_uint32):
33952         Remove inline and add unused attribute.
33954 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33956         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33957         Truncating assembler expression to a .long expression.
33959 2014-12-11  Andreas Schwab  <schwab@suse.de>
33961         * elf/rtld.c (struct map_args): Constify str member.
33962         (do_preload): Constify fname argument.
33964 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33967         constants definition.
33969 2014-12-11  Andreas Schwab  <schwab@suse.de>
33971         [BZ #16657]
33972         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33973         FORCE_ELISION instead of DO_ELISION.
33974         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33975         Remove.
33976         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33977         Likewise.
33979         * iconvdata/gconv-modules: Remove duplicate entry.
33981 2014-12-11  Will Newton  <will.newton@linaro.org>
33983         Merge gettext 0.19.3 into intl/.
33985         This involves a number of cosmetic changes to comments
33986         and ANSI function definitions and prototypes throughout
33987         all the files. The gettext copyright header is used but
33988         with the date ranges taken from the glibc copy.
33990         * NEWS: Add gettext merge to 2.21.
33991         * intl/bindtextdom.c: Switch to gettext copyright.
33992         Use ANSI definitions and prototypes.
33993         Use gl_* locking primitives rather than __libc_* ones.
33994         Use __builtin_expect rather than __glibc_likely/unlikely.
33995         * intl/dcgettext.c: Switch to gettext copyright.
33996         Use ANSI definitions and prototypes.
33997         * intl/dcigettext.c: Switch to gettext copyright.
33998         Use ANSI definitions and prototypes.
33999         (INTDIV0_RAISES_SIGFPE): New define.
34000         Use gl_* locking primitives rather than __libc_* ones.
34001         Include eval-plural.h instead of plural-eval.c.
34002         Use __builtin_expect rather than __glibc_likely/unlikely.
34003         * intl/dcngettext.c: Switch to gettext copyright.
34004         Use ANSI definitions and prototypes.
34005         * intl/dgettext.c: Likewise.
34006         * intl/dngettext.c: Likewise.
34007         * intl/plural-eval.c: Renamed to...
34008         * intl/eval-plural.h: ...this.
34009         * intl/explodename.c: Switch to gettext copyright.
34010         Use ANSI definitions and prototypes.
34011         (_nl_explode_name): Use strchr instead of __rawmemchr.
34012         * intl/finddomain.c: Switch to gettext copyright.
34013         Use ANSI definitions and prototypes.
34014         Use gl_* locking primitives rather than __libc_* ones.
34015         (_nl_find_domain): Use malloc rather than alloca for
34016         allocation of temporary locale name.
34017         * intl/gettext.c: Switch to gettext copyright.
34018         Use ANSI definitions and prototypes.
34019         * intl/gettextP.h: Switch to gettext copyright.
34020         Use ANSI definitions and prototypes.
34021         Use gl_* locking primitives rather than __libc_* ones.
34022         * intl/gmo.h: Switch to gettext copyright.
34023         (struct sysdep_string): Move struct segment_pair outside of
34024         struct definition.
34025         * intl/hash-string.c: Use ANSI definitions and prototypes.
34026         * intl/hash-string.h: Switch to gettext copyright.
34027         Use ANSI definitions and prototypes.
34028         * intl/l10nflist.c: Switch to gettext copyright.
34029         Use ANSI definitions and prototypes.
34030         (_nl_normalize_codeset): Avoid integer overflow.
34031         * intl/loadinfo.h: Switch to gettext copyright.
34032         Use ANSI definitions and prototypes.
34033         (LIBINTL_DLL_EXPORTED): New define.
34034         (PATH_SEPARATOR): New define.
34035         * intl/loadmsgcat.c: Switch to gettext copyright.
34036         * intl/localealias.c: Switch to gettext copyright.
34037         Use ANSI definitions and prototypes.
34038         (_nl_expand_alias): Use PATH_SEPARATOR.
34039         * intl/ngettext.c: Switch to gettext copyright.
34040         Use ANSI definitions and prototypes.
34041         * intl/plural-exp.c: Likewise.
34042         * intl/plural-exp.h: Switch to gettext copyright.
34043         Use ANSI definitions and prototypes.
34044         (struct expression): Move definition of enum operator outside
34045         of struct definition.
34046         * intl/plural.c: Regenerate.
34047         * intl/plural.y: Switch to gettext copyright.
34048         Use ANSI definitions and prototypes.
34049         Port to bison 3.0.
34050         * intl/textdomain.c: Switch to gettext copyright.
34051         Use ANSI definitions and prototypes.
34052         Use gl_* locking primitives rather than __libc_* ones.
34054 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34056         * debug/warning-nop.c: Add used atrribute.
34058 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34060         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34062         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34063         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34064         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34066 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34067             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34069         [BZ #17634]
34070         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34071         Undefine after defining function.  Define as weak alias of
34072         __wcschr.  Use libc_hidden_weak.
34073         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34074         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34075         (libc_hidden_def): Also define __GI___wcschr alias.
34076         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34077         __wcschr and define as weak alias of __wcschr.
34078         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34079         __wcschr.
34080         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34081         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34082         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34083         libc_hidden_weak.  Do not use libc_hidden_def.
34084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34085         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34086         __GI___wcschr alias.
34087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34088         [IS_IN (libc)] (wcschr): Define as macro expanding to
34089         __redirect_wcschr.
34090         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34091         [IS_IN (libc)] (__wcschr_power6): Likewise.
34092         [IS_IN (libc)] (__wcschr_power7): Likewise.
34093         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34094         instead of wcschr.
34095         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34096         __libc_wcschr.
34097         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34098         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34099         __wcschr and define as weak alias of __wcschr.  Use
34100         libc_hidden_builtin_def.
34101         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34102         as weak alias of __wcschr.  Use libc_hidden_weak.
34103         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34104         wcschr.
34105         * time/era.c (_nl_init_era_entries): Likewise.
34106         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34107         variable.
34108         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34109         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34111 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34113         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34114         format for long int variable.
34116 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34118         [BZ #10672]
34119         * manual/search.texi: (Array Sort Function): Remove claim how to make
34120         qsort stable.
34122 2014-12-10  Andreas Schwab  <schwab@suse.de>
34124         [BZ #12847]
34125         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34126         user-controlled locks.
34128 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34130         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34131         register.
34133 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34135         * configure.ac (--disable-werror): New configure option.
34136         (enable_werror): New AC_SUBST.
34137         * configure: Regenerated.
34138         * config.make.in (enable-werror): New variable.
34139         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34140         -Wno-error=undef.
34141         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34142         * manual/install.texi (Configuring and compiling): Document
34143         --disable-werror.
34144         * INSTALL: Regenerated.
34145         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34146         (CFLAGS-tst-chk2.c): Likewise.
34147         (CFLAGS-tst-chk3.c): Likewise.
34148         (CFLAGS-tst-chk4.cc): Likewise.
34149         (CFLAGS-tst-chk5.cc): Likewise.
34150         (CFLAGS-tst-chk6.cc): Likewise.
34151         (CFLAGS-tst-lfschk1.c): Likewise.
34152         (CFLAGS-tst-lfschk2.c): Likewise.
34153         (CFLAGS-tst-lfschk3.c): Likewise.
34154         (CFLAGS-tst-lfschk4.cc): Likewise.
34155         (CFLAGS-tst-lfschk5.cc): Likewise.
34156         (CFLAGS-tst-lfschk6.cc): Likewise.
34158         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34159         (main): Disable -Wdeprecated-declarations around calls to
34160         register_printf_function.
34162         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34163         (do_test): Disable -Wdiv-by-zero around some calls to
34164         fwrite_unlocked and fread_unlocked.
34166         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34167         (DIAG_POP_NEEDS_COMMENT): Likewise.
34168         (_DIAG_STR1): Likewise.
34169         (_DIAG_STR): Likewise.
34170         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34171         * stdio-common/bug21.c: Include <libc-internal.h>.
34172         (do_test): Disable -Wformat around call to sscanf.
34173         * stdio-common/scanf14.c: Include <libc-internal.h>.
34174         (main): Disable -Wformat around some calls to scanf functions.
34176 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34178         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34180 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34182         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34183         stack variable alignment.
34185 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34187         [BZ #17682]
34188         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34189         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34190         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34191         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34192         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34193         __getrlimit instead of getrlimit.
34194         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34195         __gettimeofday instead of gettimeofday.
34196         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34197         Likewise.
34198         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34199         Likewise.
34200         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34201         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34202         Remove variable.
34203         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34204         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34206 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34208         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34209         for wide-character tests.
34211 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34213         * io/openat64.c: #include <libc-internal.h>
34214         (__openat64): Prototypify.  Use ignore_value on MODE.
34215         * io/openat.c: Likewise.
34216         * misc/reboot.c: #include <libc-internal.h>
34217         (reboot): Prototypify.  Use ignore_value on HOWTO.
34218         * misc/ptrace.c: #include <libc-internal.h>
34219         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34221 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34223         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34224         XPG4, UNIX98 and XOPEN2K.
34225         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34226         Remove variable.
34227         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34229 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34231         * libio/fileops.c: Use ISO C style for function definitions.
34232         * libio/iofopen.c: Likewise.
34233         * libio/wfileops.c: Likewise.
34235         [BZ #17653]
34236         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34237         offset on EOF.
34238         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34239         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34240         (fgets_func): Function pointer to fgets and fgetws.
34241         (do_ftell_test): Add test to verify ftell value after read
34242         EOF.
34243         (do_test): Set fgets_func.
34245         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34246         O_TRUNC flag for w and w+ modes.
34247         (do_rewind_test): Likewise.
34248         (do_ftell_test): Likewise.
34249         (do_write_test): Likewise.
34251         [BZ #17647]
34252         * libio/fileops.c (do_ftell): Seek only when there are
34253         unflushed writes.
34254         * libio/wfileops.c (do_ftell_wide): Likewise.
34255         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34256         test case.
34257         (do_one_test): Call it.
34259 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34261         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34262         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34263         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34264         Remove variable.
34265         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34266         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34267         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34269 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34271         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34272         Remove variable.
34273         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34275         [BZ #17668]
34276         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34277         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34278         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34279         __freeifaddrs.  Use libc_hidden_weak.
34280         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34281         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34282         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34283         __freeifaddrs.  Use libc_hidden_weak.
34284         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34285         __getifaddrs and define as weak alias of __getifaddrs.  Use
34286         libc_hidden_weak.
34287         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34288         __freeifaddrs.  Use libc_hidden_weak.
34289         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34290         Remove variable.
34291         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34292         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34294 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34296         [BZ #17601]
34297         * sysdeps/mips/start.S (__start): Use indirect jump to call
34298         __libc_start_main.
34300 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34302         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34304         * nptl/tst-mutex1.c: Include <stdbool.h>.
34305         [!ATTR] (ATTR_NULL): New macro.
34306         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34307         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34308         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34310         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34311         to char *.
34313         [BZ #17665]
34314         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34315         Change conditional to [__USE_MISC].
34317         [BZ #17664]
34318         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34319         fgets_unlocked.
34320         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34321         __fgets_unlocked.
34322         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34323         fgets_unlocked.
34324         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34325         Remove variable.
34326         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34327         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34328         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34329         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34330         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34331         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34332         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34333         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34334         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34336         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34338 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34340         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34341         Remove strpbrk objects.
34342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34343         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34344         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34345         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34346         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34347         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34350         Remove strcspn objects.
34351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34352         (__libc_ifunc_impl_list): Remove strcspn implementation.
34353         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34354         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34355         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34356         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34358         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34359         Remove strspn objetcs.
34360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34361         (__libc_ifunc_impl_list): Remove strspn implementation.
34362         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34363         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34364         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34365         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34367 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34369         [BZ #17581]
34370         * malloc/hooks.c
34371         (mem2mem_check): Add a terminator to the chain of checking blocks.
34372         (malloc_check_get_size): Use it here.
34373         (mem2chunk_check): Ditto.
34375 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34377         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34378         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34380 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34382         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34384         * nptl/nptl-init.c: Include libc-internal.h.
34385         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34387         * elf/ldconfig.c (search_dir): Expand comment.
34389 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34391         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34392         variable.
34393         (linknamespace-symlist-stdlibs-tests): Likewise.
34394         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34395         instead of $(objpfx)symlist-stdlibs.
34396         (linknamespace-libs-isoc): New variable.
34397         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34398         (linknamespace-libs-ISO): New variable.
34399         (linknamespace-libs-ISO99): Likewise.
34400         (linknamespace-libs-ISO11): Likewise.
34401         (linknamespace-libs-XPG3): Likewise.
34402         (linknamespace-libs-XPG4): Likewise.
34403         (linknamespace-libs-POSIX): Likewise.
34404         (linknamespace-libs-UNIX98): Likewise.
34405         (linknamespace-libs-XOPEN2K): Likewise.
34406         (linknamespace-libs-POSIX2008): Likewise.
34407         (linknamespace-libs-XOPEN2K8): Likewise.
34408         ($(objpfx)symlist-stdlibs): Replace by
34409         $(linknamespace-symlist-stdlibs-tests).  Use
34410         $(linknamespace-libs-$*) as set of libraries.
34411         ($(linknamespace-header-tests)): Update dependencies.  Use
34412         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34413         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34414         * conform/linknamespace.pl: Remove comment about considering
34415         definitions of symbols from irrelevant libraries.
34417 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34419         [BZ #13862]
34420         * elf/dl-tls.c: Include <atomic.h>.
34421         (oom): Remove #ifdef SHARED/#endif.
34422         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34423         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34424         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34425         big enough.
34426         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34427         * nptl/Makefile (tests): Add tst-stack4.
34428         (modules-names): Add tst-stack4mod.
34429         ($(objpfx)tst-stack4): New.
34430         (tst-stack4mod.sos): Likewise.
34431         ($(objpfx)tst-stack4.out): Likewise.
34432         ($(tst-stack4mod.sos)): Likewise.
34433         (clean): Likewise.
34434         * nptl/tst-stack4.c: New file.
34435         * nptl/tst-stack4mod.c: Likewise.
34437 2014-11-27  J. Brown  <jb999@gmx.de>
34439         * sysdeps/x86/bits/string.h: Add recent CPUs.
34441 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34443         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34444         sigblock.
34446         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34447         feof.
34449         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34450         variable.
34452 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34454         * nscd/connections.c: Include libc-internal.h because of macro
34455         usage ignore_value.
34457 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34459         * string/bits/string3.h (__warn_memset_zero_len): Don't
34460         declare for gcc newer than 5.0.
34461         (memset): Don't test for zero-length __LEN for gcc newer than
34462         5.0.
34464 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34466         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34467         size_t for %zu format.
34469         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34470         difference, not %ju.
34472 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34474         * include/libc-internal.h (ignore_value): New macro.
34475         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34476         with ignore_value.
34478         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34479         definition.
34481         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34482         pthread_cleanup_push to void *.
34484         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34485         Undefine.
34487         [BZ #16619]
34488         [BZ #16740]
34489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34490         instead of 1L << 52.
34492         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34493         * libio/bug-rewind2.c (do_test): Likewise.
34495         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34496         * debug/test-strcpy_chk-ifunc.c: Likewise.
34497         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34498         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34499         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34500         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34501         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34502         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34503         * Rules [$(multi-arch) = no] (tests): Do not filter out
34504         $(tests-ifunc).
34505         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34506         * debug/Makefile (tests-ifunc): Remove variable.
34507         (tests): Do not add $(tests-ifunc).
34508         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34509         (tests): Do not add $(tests-ifunc).
34510         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34511         [TEST_IFUNC]: Remove conditionals.
34512         * string/test-string.h (TEST_IFUNC): Remove macro.
34513         [TEST_IFUNC]: Remove conditionals.
34515         * string/test-strchr.c [!WIDE] (L): New macro.
34516         [WIDE] (L): Likewise.
34517         (check1): Use CHAR instead of char.  Use L on string and character
34518         constants.
34520 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34522         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34523         tests.
34524         * sysdeps/powerpc/bits/atomic.h
34525         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34526         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34527         (atomic_exchange_and_add_acq): Likewise.
34528         (atomic_exchange_and_add_rel): Likewise.
34529         * sysdeps/powerpc/powerpc32/bits/atomic.h
34530         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34531         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34532         * sysdeps/powerpc/powerpc64/bits/atomic.h
34533         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34534         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34536 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34538         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34539         Change synchronization of __sched_fifo_min_prio and
34540         __sched_fifo_max_prio.
34541         * nptl/pthread_mutexattr_getprioceiling.c
34542         (pthread_mutexattr_getprioceiling): Likewise.
34543         * nptl/pthread_mutexattr_setprioceiling.c
34544         (pthread_mutexattr_setprioceiling): Likewise.
34545         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34546         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34547         Likewise.
34549 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34551         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34552         void.
34554 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34556         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34557         third argument const.
34559 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34561         fnmatch: work around GCC compiler warning bug with uninit var
34562         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34563         This works around a bug with x86-64 GCC 4.9.2 and earlier
34564         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34565         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34566         used uninitialized in this function [-Wmaybe-uninitialized]".
34568 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34570         * posix/bug-regex31.c (main): Return RES not 0.
34572 2014-11-25  Anton Blanchard <anton@samba.org>
34574         * sysdeps/powerpc/bits/atomic.h
34575         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34577 2014-11-24  Sterling Augustine  <saugustine@google.com>
34579         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34581 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34583         [BZ #17608]
34584         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34586 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34588         [BZ #17633]
34589         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34590         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34591         variable.
34592         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34593         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34595 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34597         * string/strncpy.c (strncpy): Improve performance by using memset.
34599 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34601         * string/strcpy.c (strcpy):
34602         Improve performance by using strlen and memcpy.
34604 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34606         * string/strcoll_l.c (get_next_seq): __always_inline.
34607         * string/strcoll_l.c (do_compare): __always_inline.
34609 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34611         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34612         defined.
34613         * include/mqueue.h: Likewise.
34614         * include/stdlib.h: Likewise.
34616         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34617         (get_null_defines): Adjust.
34618         * sunrpc/Makefile: Adjust comment.
34619         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34620         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34621         (CFLAGS-interp.c): Likewise.
34622         (CFLAGS-ldconfig.c): Likewise.
34623         (CPPFLAGS-.os): Likewise.
34624         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34625         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34626         * extra-modules.mk (extra-modules.mk): Likewise.
34627         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34628         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34629         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34630         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34631         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34632         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34633         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34634         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34635         * iconvdata/Makefile (CPPFLAGS): Likewise.
34636         (cpp-srcs-left): Add libof for all iconvdata routines.
34637         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34638         * include/assert.h: Likewise.
34639         * include/ctype.h: Likewise.
34640         * include/errno.h: Likewise.
34641         * include/libc-symbols.h: Likewise.
34642         * include/math.h: Likewise.
34643         * include/netdb.h: Likewise.
34644         * include/resolv.h: Likewise.
34645         * include/stdio.h: Likewise.
34646         * include/stdlib.h: Likewise.
34647         * include/string.h: Likewise.
34648         * include/sys/stat.h: Likewise.
34649         * include/wctype.h: Likewise.
34650         * intl/l10nflist.c: Likewise.
34651         * libidn/idn-stub.c: Likewise.
34652         * libio/libioP.h: Likewise.
34653         * nptl/libc_multiple_threads.c: Likewise.
34654         * nptl/pthreadP.h: Likewise.
34655         * posix/regex_internal.h: Likewise.
34656         * resolv/res_hconf.c: Likewise.
34657         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34658         * sysdeps/arm/memmove.S: Likewise.
34659         * sysdeps/arm/sysdep.h: Likewise.
34660         * sysdeps/generic/_itoa.h: Likewise.
34661         * sysdeps/generic/symbol-hacks.h: Likewise.
34662         * sysdeps/gnu/errlist.awk: Likewise.
34663         * sysdeps/gnu/errlist.c: Likewise.
34664         * sysdeps/i386/i586/memcpy.S: Likewise.
34665         * sysdeps/i386/i586/memset.S: Likewise.
34666         * sysdeps/i386/i686/memcpy.S: Likewise.
34667         * sysdeps/i386/i686/memmove.S: Likewise.
34668         * sysdeps/i386/i686/mempcpy.S: Likewise.
34669         * sysdeps/i386/i686/memset.S: Likewise.
34670         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34671         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34672         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34673         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34674         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34675         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34676         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34677         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34678         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34679         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34680         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34681         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34682         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34683         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34684         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34685         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34686         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34687         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34688         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34689         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34690         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34691         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34692         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34693         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34694         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34695         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34696         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34697         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34698         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34699         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34700         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34701         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34702         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34703         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34704         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34705         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34706         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34707         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34708         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34709         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34710         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34711         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34712         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34713         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34714         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34715         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34716         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34717         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34718         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34719         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34720         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34721         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34722         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34723         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34724         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34725         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34726         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34727         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34728         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34729         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34730         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34731         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34732         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34733         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34734         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34735         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34736         * sysdeps/posix/closedir.c: Likewise.
34737         * sysdeps/posix/opendir.c: Likewise.
34738         * sysdeps/posix/readdir.c: Likewise.
34739         * sysdeps/posix/rewinddir.c: Likewise.
34740         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34741         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34742         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34743         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34744         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34745         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34746         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34749         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34751         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34752         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34754         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34755         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34756         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34757         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34760         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34761         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34762         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34763         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34765         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34767         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34768         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34769         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34775         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34776         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34777         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34778         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34779         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34780         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34781         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34782         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34783         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34784         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34785         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34786         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34787         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34788         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34789         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34790         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34791         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34792         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34793         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34794         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34795         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34796         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34797         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34798         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34799         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34800         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34801         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34802         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34803         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34804         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34805         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34806         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34807         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34808         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34809         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34810         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34811         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34812         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34813         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34814         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34815         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34816         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34817         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34818         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34819         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34820         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34821         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34822         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34823         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34824         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34825         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34826         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34827         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34828         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34829         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34830         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34831         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34832         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34833         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34834         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34835         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34836         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34838         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34839         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34840         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34841         * sysdeps/unix/alpha/sysdep.S: Likewise.
34842         * sysdeps/unix/alpha/sysdep.h: Likewise.
34843         * sysdeps/unix/make-syscalls.sh: Likewise.
34844         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34846         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34847         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34848         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34849         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34850         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34851         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34852         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34853         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34854         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34855         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34857         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34858         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34859         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34860         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34861         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34862         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34863         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34864         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34865         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34866         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34867         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34868         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34869         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34870         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34873         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34874         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34877         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34878         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34881         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34882         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34883         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34884         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34885         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34886         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34887         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34888         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34890         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34891         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34894         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34895         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34896         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34897         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34900         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34902         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34903         * sysdeps/x86_64/memcpy.S: Likewise.
34904         * sysdeps/x86_64/memmove.c: Likewise.
34905         * sysdeps/x86_64/memset.S: Likewise.
34906         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34907         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34908         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34909         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34910         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34913         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34914         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34915         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34916         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34917         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34918         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34919         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34920         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34921         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34922         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34923         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34924         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34925         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34926         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34927         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34928         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34929         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34930         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34931         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34932         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34933         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34934         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34935         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34936         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34937         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34938         * sysdeps/x86_64/strcmp.S: Likewise.
34940         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34942         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34943         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34944         * elf/rtld-Rules: Likewise.
34945         * elf/setup-vdso.h: Likewise.
34946         * include/assert.h: Likewise.
34947         * include/bits/stdlib-float.h: Likewise.
34948         * include/errno.h: Likewise.
34949         * include/sys/stat.h: Likewise.
34950         * include/unistd.h: Likewise.
34951         * sysdeps/aarch64/setjmp.S: Likewise.
34952         * sysdeps/alpha/setjmp.S: Likewise.
34953         * sysdeps/arm/__longjmp.S: Likewise.
34954         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34955         * sysdeps/arm/setjmp.S: Likewise.
34956         * sysdeps/arm/sysdep.h: Likewise.
34957         * sysdeps/generic/_itoa.h: Likewise.
34958         * sysdeps/generic/dl-sysdep.h: Likewise.
34959         * sysdeps/generic/ldsodefs.h: Likewise.
34960         * sysdeps/i386/dl-tls.h: Likewise.
34961         * sysdeps/i386/setjmp.S: Likewise.
34962         * sysdeps/m68k/setjmp.c: Likewise.
34963         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34964         * sysdeps/mach/hurd/opendir.c: Likewise.
34965         * sysdeps/posix/getcwd.c: Likewise.
34966         * sysdeps/posix/opendir.c: Likewise.
34967         * sysdeps/posix/profil.c: Likewise.
34968         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34969         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34970         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34971         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34972         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34973         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34974         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34975         * sysdeps/s390/dl-tls.h: Likewise.
34976         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34977         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34978         * sysdeps/sh/sh3/setjmp.S: Likewise.
34979         * sysdeps/sh/sh4/setjmp.S: Likewise.
34980         * sysdeps/unix/alpha/sysdep.h: Likewise.
34981         * sysdeps/unix/arm/sysdep.S: Likewise.
34982         * sysdeps/unix/i386/sysdep.S: Likewise.
34983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34984         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34985         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34986         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34987         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34988         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34989         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34990         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34991         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34992         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34993         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34994         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34999         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35001         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35002         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35003         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35005         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35006         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35007         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35008         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35010         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35011         * sysdeps/x86_64/setjmp.S: Likewise.
35013         * include/math.h: Use IS_IN instead of IS_IN_libm.
35014         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35015         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35016         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35017         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35019         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35020         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35023         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35024         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35025         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35026         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35027         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35028         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35029         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35030         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35031         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35032         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35033         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35034         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35035         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35036         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35037         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35038         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35039         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35040         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35041         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35042         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35043         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35044         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35045         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35046         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35048         Likewise.
35049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35050         Likewise.
35051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35052         Likewise.
35053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35054         Likewise.
35055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35056         Likewise.
35057         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35058         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35059         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35060         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35061         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35062         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35068         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35069         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35070         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35071         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35072         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35073         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35074         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35075         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35076         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35077         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35078         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35079         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35081         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35083         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35085         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35086         * nptl/pthreadP.h: Likewise.
35087         * nptl_db/structs.def: Likewise.
35088         * sysdeps/arm/sysdep.h: Likewise.
35089         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35090         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35091         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35092         * sysdeps/unix/alpha/sysdep.h: Likewise.
35093         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35095         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35096         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35097         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35098         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35099         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35100         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35101         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35102         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35103         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35104         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35105         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35106         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35109         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35111         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35114         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35115         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35116         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35117         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35118         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35120         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35121         * nptl/pthreadP.h: Likewise.
35122         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35123         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35124         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35125         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35126         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35127         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35128         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35129         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35130         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35131         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35132         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35133         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35135         Likewise.
35136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35137         Likewise.
35138         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35139         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35140         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35142         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35143         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35144         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35145         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35147         * dlfcn/dladdr.c: Use IS_IN.
35148         * dlfcn/dladdr1.c: Likewise.
35149         * dlfcn/dlclose.c: Likewise.
35150         * dlfcn/dlerror.c: Likewise.
35151         * dlfcn/dlinfo.c: Likewise.
35152         * dlfcn/dlmopen.c: Likewise.
35153         * dlfcn/dlopen.c: Likewise.
35154         * dlfcn/dlsym.c: Likewise.
35155         * dlfcn/dlvsym.c: Likewise.
35157         * include/ifaddrs.h: Use IS_IN.
35158         * inet/check_pf.c: Likewise.
35159         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35160         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35162         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35163         IS_IN_ldconfig.
35164         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35165         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35167         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35168         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35169         IS_IN (libc).
35171         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35173         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35174         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35175         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35176         * include/libc-symbols.h (IS_IN_LIB): New macro.
35177         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35178         * include/netdb.h: Likewise.
35179         * include/stap-probe.h: Remove all uses of IN_LIB.
35181         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35182         instead of IN_MODULE.
35183         * include/libc-symbols.h (IN_MODULE): Define using
35184         MODULE_NAME.
35185         (PASTE_NAME, PASTE_NAME1): New macros.
35186         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35187         of IN_LIB.
35188         (STAP_PROBE_ASM): Likewise.
35190 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35192         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35193         __mach_init in dlopened libc.
35195 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35197         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35198         * sysdeps/arm/preconfigure: Regenerate.
35200 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35202         * nptl/pthread_create.c (__pthread_create_2_1): Set
35203         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35204         when copying values from IATTR into PD.
35206 2014-11-21  Will Newton  <will.newton@linaro.org>
35207             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35209         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35210         Refactor inline-asm.  Also add comment.
35212         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35213         ElfW macro instead of hardcoded Elf64 types.
35214         (la_aarch64_gnu_pltenter): Likewise.
35215         * sysdeps/aarch64/dl-machine.h
35216         (elf_machine_runtime_setup): Use ElfW(Addr).
35218         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35219         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35220         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35221         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35222         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35223         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35224         (R_AARCH64_TLS_DTPMOD): This.
35225         (R_AARCH64_TLS_DTPREL64): Rename to ...
35226         (R_AARCH64_TLS_DTPREL): This.
35227         (R_AARCH64_TLS_TPREL64): Rename to ...
35228         (R_AARCH64_TLS_TPREL): This.
35229         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35230         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35231         R_AARCH64_TLS_TPREL64.
35232         (elf_machine_rela): Likewise.
35234 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35236         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35237         by setting it to 0.  64b atomics are not supported currently.
35239 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35241         [BZ #16469]
35242         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35243         search domain names.
35245 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35247         [BZ #16469]
35248         * NEWS: Update.
35249         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35250         trailing dot.
35251         * posix/tst-getaddrinfo5.c: New.
35252         * posix/Makefile (tests): Add it.
35254 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35256         [BZ #14498]
35257         * NEWS: Fixed.
35258         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35259         after parsing line but before break_if_match.
35260         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35261         if there is a protocol mismatch.
35263 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35265         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35266         because the potential race is on the user-supplied stream.
35268 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35270         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35271         string literal if not passed a buffer.
35272         * manual/job.texi (ctermid): Update reasoning, note deviation
35273         from posix, suggest mtasurace when not passed a buffer, for
35274         future non-preliminary safety notes.
35276 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35278         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35279         of not passing it a buffer.
35280         Reported by Peng Haitao.
35282 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35284         * manual/Makefile ($(objpfx)stamp-summary): Require
35285         check-safety.sh to pass.
35286         * manual/check-safety.sh: Wish for verification that every
35287         @deftypefn and @deftypefun is followed by a @safety remark.
35289 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35291         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35293         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35294         PTHREAD_CANCEL_ASYNCHRONOUS.
35295         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35296         send SIGCANCEL.
35298         * nptl/default-sched.h: New file.
35299         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35300         * nptl/pthread_create.c: Include it.
35301         (__pthread_create_2_1): Use collect_default_sched instead of making
35302         Linux syscalls here directly.
35304 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35306         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35307         __pthread_once): Use C11 atomics.
35309 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35311         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35313 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35315         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35316         atomic_thread_fence_acquire, atomic_thread_fence_release,
35317         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35318         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35319         atomic_compare_exchange_weak_relaxed,
35320         atomic_compare_exchange_weak_acquire,
35321         atomic_compare_exchange_weak_release,
35322         atomic_exchange_acquire, atomic_exchange_release,
35323         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35324         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35325         atomic_fetch_and_acquire,
35326         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35328 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35330         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35331         USE_ATOMIC_COMPILER_BUILTINS): Define.
35332         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35333         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35334         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35335         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35336         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35337         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35338         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35339         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35340         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35341         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35342         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35343         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35344         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35345         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35346         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35347         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35348         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35350         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35352         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35354         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35356         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35358         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35360         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35362         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35364         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35366         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35367         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35368         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35370         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35373 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35375         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35376         the sched_priority value here.  It was already checked when the user
35377         called pthread_attr_setschedparam.
35379         * nptl/tst-bad-schedattr.c: New file.
35380         * nptl/Makefile (tests): Add it.
35382 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35383             Florian Weimer  <fweimer@redhat.com>
35384             Joseph Myers  <joseph@codesourcery.com>
35385             Adam Conrad  <adconrad@0c3.net>
35386             Andreas Schwab  <schwab@suse.de>
35387             Brooks  <bmoses@google.com>
35389         [BZ #17625]
35390         * wordexp-test.c (__dso_handle): Add prototype.
35391         (__register_atfork): Likewise.
35392         (__app_register_atfork): New function.
35393         (registered_forks): New global.
35394         (register_fork): New function.
35395         (test_case): Add 3 new tests for WRDE_CMDSUB.
35396         (main): Call __app_register_atfork.
35397         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35398         fork count is non-zero fail the test.
35399         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35400         is set.
35401         (parse_dollars): Remove check for WRDE_NOCMD.
35402         (parse_dquote): Likewise.
35404 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35406         * Makeconfig (built-modules): List non-library modules to be
35407         built.
35408         (module-cppflags): Include libc-modules.h for
35409         everything except shlib-versions.v.i.
35410         (CPPFLAGS): Use it.
35411         (before-compile): Add libc-modules.h.
35412         ($(common-objpfx)libc-modules.h,
35413         $(common-objpfx)libc-modules.stmp): New targets.
35414         (common-generated): Add libc-modules.h and libc-modules.stmp.
35415         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35416         * include/libc-symbols.h: Don't include libc-modules.h.
35417         * include/libc-modules.h: Remove file.
35418         * scripts/gen-libc-modules.awk: New script to generate
35419         libc-modules.h.
35420         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35421         Depend on libc-modules.stmp.
35423         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35425         * Makeconfig (in-module): Get value of libof set for the
35426         translation unit.
35427         (CPPFLAGS): Use $(in-module).
35428         * Makerules: Don't suffix routine names for nonlib.
35429         * include/libc-modules.h: New file.
35430         * include/libc-symbols.h: Include libc-modules.h
35431         (IS_IN): New macro to replace IS_IN_* macros.
35432         * elf/Makefile: Set libof-* for each routine.
35433         * elf/rtld-Rules: Likewise.
35434         * extra-modules.mk: Likewise.
35435         * iconv/Makefile: Likewise.
35436         * iconvdata/Makefile: Likewise.
35437         * locale/Makefile: Likewise.
35438         * malloc/Makefile: Likewise.
35439         * nss/Makefile: Likewise.
35440         * sysdeps/gnu/Makefile: Likewise.
35441         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35442         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35443         * sysdeps/s390/s390-64/Makefile: Likewise.
35444         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35445         CPPFLAGS for nscd instead of nonlib.
35447 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35449         * nptl/createthread.c: New file.
35451         * nptl/createthread.c: Moved ...
35452         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35454         * nptl/createthread.c: Add proper top-line comment.
35455         (do_clone): Folded into ...
35456         (create_thread): ... here.  Take new arguments STOPPED_START and
35457         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35458         increment __nptl_threads, do event-reporting logic, do
35459         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35460         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35461         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35462         just send SIGCANCEL.
35463         * nptl/pthread_create.c: Forward-declare create_thread before
35464         including createthread.c.
35465         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35466         declaration, and new macro START_THREAD_SELF to replace argument.
35467         Remove return statement.
35468         (report_thread_creation): New function.
35469         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35470         synchronization logic, and __nptl_nthreads increment here, around
35471         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35472         PD->parent_cancelhandling here, before create_thread.  When
35473         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35474         __deallocate_stack, and ENOMEM translation here.
35476 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35478         [BZ #17616]
35479         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35480         (mptwo): Rename to __mptwo.
35481         (__inv): Use __mptwo instead of mptwo.
35482         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35483         (mptwo): Rename to __mptwo.
35484         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35485         of mpone and __mptwo instead of mptwo.
35486         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35487         instead of mpone.
35488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35489         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35490         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35491         of mpone and __mptwo instead of mptwo.
35492         (__mpranred): Use __mpone instead of mpone.
35493         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35494         variable.
35495         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35496         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35497         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35498         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35499         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35500         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35501         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35502         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35503         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35504         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35505         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35506         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35507         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35508         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35509         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35510         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35511         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35512         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35513         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35515 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35517         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35518         replace BSD Handler xref with BSD Signal Handling.
35520 2014-11-17  Richard Henderson  <rth@redhat.com>
35522         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35523         (_FP_PACK_RAW_2): Remove.
35524         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35525         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35526         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35527         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35528         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35529         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35530         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35531         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35532         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35533         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35534         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35535         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35536         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35537         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35538         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35539         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35541 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35543         * signal/signal.h [__USE_MISC]
35544         (struct sigvec): Remove type.
35545         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35546         (sigvec): Remove declaration.
35547         * sysdeps/posix/sigvec.c: Moved ...
35548         * signal/sigvec.c: ... here, replacing old file.
35549         (struct sigvec): New type, copied from old signal.h definition.
35550         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35551         (__sigvec): Convert definition to prototype.
35552         (sigvec): Replace weak_alias with compat_symbol.
35553         * signal/Versions (libc: GLIBC_2.21): New version set.
35554         * include/signal.h: Remove __sigvec declaration.
35555         * sysdeps/unix/bsd/sigvec.c: Remove file.
35556         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35557         * manual/signal.texi (BSD Handler): Remove subsection.
35558         Move siginterrupt up to ...
35559         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35560         (Blocking in BSD): Fold subsection into its parent.
35561         * NEWS: Mention sigvec removal.
35563 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35565         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35566         (DLA_FMS): Make definition conditional only on [__FMA4__].
35567         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35568         definition.
35570         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35571         Make definition conditional only on [PROF].
35572         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35573         definition.
35574         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35575         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35577         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35578         !__GNUC__].
35579         * include/signal.h (__sigpause): Move declaration above call to
35580         libc_hidden_proto.
35581         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35582         variable.
35583         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35584         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35586 2014-11-14  David S. Miller  <davem@davemloft.net>
35588         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35589         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35591 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35593         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35594         * configure: Regenerated.
35595         * manual/install.texi (Tools for Compilation): Document a
35596         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35597         compiler verified to work.
35598         * INSTALL: Regenerated.
35600         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35601         redeclare with asm name.
35602         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35603         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35604         including <string.h>.
35605         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35606         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35607         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35608         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35609         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35610         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35611         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35613 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35615         * stdlib/strtol.c (__strtol): Use prototype definition.
35617         [BZ #17594]
35618         * stdlib/strtol.c (SYM__): New macro.
35619         (SYM__1): Likewise.
35620         (__strtol): Likewise.
35621         (strtol): Rename to __strtol and define as weak alias of
35622         __strtol.  Use libc_hidden_weak.
35624 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35626         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35627         Use numbered labels in inline assembly.
35629 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35631         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35632         Add setjmp LIBC_PROBE.
35633         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35634         Likewise.
35635         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35636         Add longjmp, longjmp_target LIBC_PROBE.
35637         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35638         Likewise.
35640 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35643         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35644         to get rid of unused variable warning.
35646 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35648         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35649         Check for unwind_backtrace ==  NULL only in SHARED case.
35650         (__backchain_backtrace): Compile only in SHARED case.
35651         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35652         Likewise.
35653         (__backchain_backtrace): Declare as static.
35655 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35657         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35658         (__libc_multiple_threads_ptr): Variable moved ...
35659         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35661 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35663         * conform/GlibcConform.pm: New file.
35664         * conform/conformtest.pl: Use GlibcConform module.
35665         * conform/linknamespace.pl: New file.
35666         * conform/list-header-symbols.pl: Likewise.
35667         * conform/Makefile (linknamespace-symlists-base): New variable.
35668         (linknamespace-symlists-tests): Likewise.
35669         (linknamespace-header-base): Likewise.
35670         (linknamespace-header-tests): Likewise.
35671         (tests-special): Add new tests.
35672         ($(linknamespace-symlists-tests)): New rule.
35673         (linknamespace-libs): New variable.
35674         ($(objpfx)symlist-stdlibs): New rule.
35675         ($(linknamespace-header-tests)): Likewise.
35676         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35677         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35678         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35679         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35680         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35681         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35682         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35683         (test-xfail-ISO/math.h/linknamespace): Likewise.
35684         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35685         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35686         (test-xfail-ISO/time.h/linknamespace): Likewise.
35687         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35688         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35689         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35690         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35691         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35692         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35693         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35694         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35695         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35696         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35697         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35698         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35699         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35700         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35701         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35702         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35703         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35704         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35705         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35706         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35707         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35708         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35709         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35710         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35711         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35712         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35713         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35714         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35715         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35716         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35717         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35718         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35719         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35720         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35721         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35722         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35723         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35724         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35725         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35726         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35727         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35728         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35729         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35730         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35731         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35732         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35733         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35734         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35735         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35736         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35737         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35738         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35739         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35740         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35741         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35742         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35743         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35744         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35745         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35746         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35747         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35748         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35749         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35750         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35751         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35752         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35753         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35754         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35755         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35756         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35757         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35758         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35759         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35760         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35761         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35762         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35763         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35764         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35765         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35766         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35767         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35768         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35769         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35770         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35771         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35772         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35773         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35774         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35775         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35776         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35777         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35778         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35779         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35780         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35781         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35782         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35783         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35784         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35785         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35786         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35787         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35788         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35789         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35790         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35791         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35792         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35793         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35794         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35795         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35796         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35797         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35798         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35799         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35800         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35801         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35802         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35803         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35804         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35805         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35806         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35807         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35808         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35809         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35810         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35811         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35812         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35813         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35814         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35815         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35816         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35817         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35818         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35819         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35820         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35821         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35822         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35823         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35824         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35825         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35826         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35827         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35828         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35829         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35830         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35831         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35832         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35833         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35834         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35835         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35836         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35838         [BZ #17589]
35839         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35840         of fgets_unlocked.
35842         [BZ #17585]
35843         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35844         (memmem): Rename to __memmem and define as weak alias of
35845         __memmem.  Use libc_hidden_weak.
35846         (__memmem): Use libc_hidden_def.
35847         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35848         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35849         memmem.
35851         [BZ #17582]
35852         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35853         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35854         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35855         and define as weak alias of __fgets_unlocked.  Use
35856         libc_hidden_weak.
35857         (__fgets_unlocked): Use libc_hidden_def.
35858         * include/stdio.h (__fgets_unlocked): Declare.  Use
35859         libc_hidden_proto.
35860         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35861         __fgets_unlocked instead of fgets_unlocked.
35862         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35863         (GET_NPROCS_CONF_PARSER): Likewise.
35864         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35865         (GET_NPROCS_CONF_PARSER): Likewise.
35867         [BZ #17574]
35868         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35869         weak alias of __wmemset.  Use libc_hidden_weak.
35870         (__wmemset): Use libc_hidden_def.
35871         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35872         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35873         of wmemset.
35875         [BZ #17573]
35876         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35877         with asm name __mempcpy.
35878         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35880         [BZ #17572]
35881         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35882         and define as weak alias of __rawmemchr.
35883         (__rawmemchr): Do not define as strong alias of rawmemchr.
35885         [BZ #17571]
35886         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35887         alias of __qsort_r.
35888         (qsort): Call __qsort_r instead of qsort_r.
35889         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35890         (__qsort_r): Declare.  Call libc_hidden_proto.
35891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35892         instead of qsort_r.
35893         * nscd/gai.c (__qsort_r): Define to qsort_r.
35894         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35895         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35896         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35898         [BZ #17570]
35899         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35900         define as weak alias of __malloc_info.
35902         [BZ #17584]
35903         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35904         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35905         (__rewinddir): Use libc_hidden_def.
35906         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35907         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35908         (__rewinddir): Use libc_hidden_def.
35909         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35910         weak alias of __rewinddir.  Don't use libc_hidden_def.
35911         (__rewinddir): Use libc_hidden_def.
35912         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35913         (__rewinddir): Use libc_hidden_proto.
35914         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35915         rewinddir.
35916         (__getcwd): Use __rewinddir instead of rewinddir.
35918         [BZ #17583]
35919         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35920         alias of __fileno.  Use libc_hidden_weak.
35921         (__fileno): Use libc_hidden_def.
35922         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35923         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35924         alias of __ftello.
35925         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35926         __ftello.
35927         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35928         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35929         libc_hidden_def.
35930         (fread_unlocked): Don't use libc_hidden_ver.
35931         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35932         and define as weak alias of __fread_unlocked.  Don't use
35933         libc_hidden_def.
35934         (__fread_unlocked): Use libc_hidden_def.
35935         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35936         (ftello): Don't use libc_hidden_proto.
35937         (__ftello): Declare.  Use libc_hidden_proto.
35938         (fread_unlocked): Don't use libc_hidden_proto.
35939         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35940         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35941         and __ftello instead of fileno, fread_unlocked and ftello.
35943 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35945         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35946         GOT12.
35947         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35948         Likewise.
35949         (_dl_start_user): Likewise.
35950         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35952 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35953             Siddhesh Poyarekar  <siddhesh@redhat.com>
35955         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35956         Move argv and envp down instead of moving argc up.
35957         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35959 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35961         [BZ #17506]
35962         * test-skeleton.c (main): Return successful if one of
35963         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35964         * string/tst-strcoll-overflow.c: Define expected status.
35966 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35968         [BZ #17475]
35969         * locale/iso-639.def: Define Bhili and Tulu language codes.
35971 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35973         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35975 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35977         [BZ #17555]
35978         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35980 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35982         * configure.ac: Updated check of minimal required version to
35983         2.22.
35984         * manual/install.texi (Tools for Compilation): Updated version
35985         number.
35986         * configure: Regenerated.
35987         * INSTALL: Likewise.
35989 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35991         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35992         __tls_get_addr.
35994 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35996         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35997         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35998         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35999         libc_hidden_weak.
36000         (waitpid): Define as alias of __waitpid.
36001         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36002         __waitpid.
36003         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36004         libc_hidden_weak.
36005         (waitpid): Define as alias of __waitpid.
36006         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36007         __libc_waitpid alias.
36008         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36009         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36010         Likewise.
36011         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36012         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36013         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36014         alias.
36015         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36016         __waitpid.
36017         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36018         libc_hidden_weak.
36019         (waitpid): Define as alias of __waitpid.
36021 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36023         * manual/llio.texi: Add comment that write safety has been
36024         fixed in Linux.
36026         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36027         (localplt-build-dso): Add elf/ld.so.
36028         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36029         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36030         and free for ld.so.
36031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36032         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36034         Likewise.
36035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36036         Likewise.
36037         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36038         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36039         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36040         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36041         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36042         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36043         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36044         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36045         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36046         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36047         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36049 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36051         [BZ #14132]
36052         * include/libc-symbols.h (INTUSE): Remove macro.
36053         (INTDEF): Likewise.
36054         (INTVARDEF): Likewise.
36055         (_INTVARDEF): Likewise.
36056         (INTDEF2): Likewise.
36057         (INTVARDEF2): Likewise.
36058         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36059         rtld_hidden_def instead of INTVARDEF.
36060         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36061         (_dl_starting_up_internal): Remove declaration.
36062         (_dl_starting_up): Use rtld_hidden_proto.
36063         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36064         declaration.
36065         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36066         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36067         _dl_starting_up.
36068         * elf/dl-writev.h (_dl_writev): Likewise.
36069         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36070         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36071         _dl_starting_up_internal.
36073 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36075         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36076         test-skeleton.c.
36078 2014-11-05  Will Newton  <will.newton@linaro.org>
36080         * benchtests/Makefile: (bench-malloc): Add malloc thread
36081         scalability benchmark.
36082         * benchtests/bench-malloc-threads.c: New file.
36084 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36086         * sysdeps/aarch64/strchrnul.S: New file.
36088 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36090         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36091         definition.
36092         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36093         Likewise.
36094         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36095         Likewise.
36096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36097         Likewise.
36098         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36099         Likewise.
36100         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36101         Likewise.
36103 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36105         * catgets/test-gencat.c: Use test-skeleton.c.
36106         * catgets/tst-catgets.c: Likewise.
36107         * csu/tst-empty.c: Likewise.
36108         * elf/tst-audit2.c: Likewise.
36109         * elf/tst-global1.c: Likewise.
36110         * elf/tst-pathopt.c: Likewise.
36111         * elf/tst-piemod1.c: Likewise.
36112         * elf/tst-tls10.c: Likewise.
36113         * elf/tst-tls11.c: Likewise.
36114         * elf/tst-tls12.c: Likewise.
36115         * gnulib/tst-gcc.c: Likewise.
36116         * iconvdata/tst-e2big.c: Likewise.
36117         * iconvdata/tst-loading.c: Likewise.
36118         * iconv/tst-iconv1.c: Likewise.
36119         * iconv/tst-iconv2.c: Likewise.
36120         * inet/test-inet6_opt.c: Likewise.
36121         * inet/tst-gethnm.c: Likewise.
36122         * inet/tst-network.c: Likewise.
36123         * inet/tst-ntoa.c: Likewise.
36124         * intl/tst-codeset.c: Likewise.
36125         * intl/tst-gettext2.c: Likewise.
36126         * intl/tst-gettext3.c: Likewise.
36127         * intl/tst-ngettext.c: Likewise.
36128         * intl/tst-translit.c: Likewise.
36129         * io/test-stat.c: Likewise.
36130         * libio/test-fmemopen.c: Likewise.
36131         * libio/tst-freopen.c: Likewise.
36132         * libio/tst-sscanf.c: Likewise.
36133         * libio/tst-ungetwc1.c: Likewise.
36134         * libio/tst-ungetwc2.c: Likewise.
36135         * libio/tst-widetext.c: Likewise.
36136         * localedata/tst-ctype.c: Likewise.
36137         * localedata/tst-digits.c: Likewise.
36138         * localedata/tst-leaks.c: Likewise.
36139         * localedata/tst-mbswcs1.c: Likewise.
36140         * localedata/tst-mbswcs2.c: Likewise.
36141         * localedata/tst-mbswcs3.c: Likewise.
36142         * localedata/tst-mbswcs4.c: Likewise.
36143         * localedata/tst-mbswcs5.c: Likewise.
36144         * localedata/tst-setlocale.c: Likewise.
36145         * localedata/tst-trans.c: Likewise.
36146         * localedata/tst-wctype.c: Likewise.
36147         * localedata/tst-xlocale1.c: Likewise.
36148         * login/tst-grantpt.c: Likewise.
36149         * malloc/tst-calloc.c: Likewise.
36150         * malloc/tst-malloc.c: Likewise.
36151         * malloc/tst-mallocstate.c: Likewise.
36152         * malloc/tst-mcheck.c: Likewise.
36153         * malloc/tst-mtrace.c: Likewise.
36154         * malloc/tst-obstack.c: Likewise.
36155         * math/atest-exp2.c: Likewise.
36156         * math/atest-exp.c: Likewise.
36157         * math/atest-sincos.c: Likewise.
36158         * math/test-matherr.c: Likewise.
36159         * math/test-misc.c: Likewise.
36160         * math/test-powl.c: Likewise.
36161         * math/tst-definitions.c: Likewise.
36162         * misc/tst-dirname.c: Likewise.
36163         * misc/tst-efgcvt.c: Likewise.
36164         * misc/tst-fdset.c: Likewise.
36165         * misc/tst-hsearch.c: Likewise.
36166         * misc/tst-mntent2.c: Likewise.
36167         * nptl/tst-sem7.c: Likewise.
36168         * nptl/tst-sem8.c: Likewise.
36169         * nptl/tst-sem9.c: Likewise.
36170         * nss/test-netdb.c: Likewise.
36171         * posix/tst-fnmatch.c: Likewise.
36172         * posix/tst-getlogin.c: Likewise.
36173         * posix/tst-gnuglob.c: Likewise.
36174         * posix/tst-mmap.c: Likewise.
36175         * pwd/tst-getpw.c: Likewise.
36176         * resolv/tst-inet_ntop.c: Likewise.
36177         * rt/tst-timer.c: Likewise.
36178         * stdio-common/test-fseek.c: Likewise.
36179         * stdio-common/test-popen.c: Likewise.
36180         * stdio-common/test-vfprintf.c: Likewise.
36181         * stdio-common/tst-cookie.c: Likewise.
36182         * stdio-common/tst-fileno.c: Likewise.
36183         * stdio-common/tst-gets.c: Likewise.
36184         * stdio-common/tst-obprintf.c: Likewise.
36185         * stdio-common/tst-perror.c: Likewise.
36186         * stdio-common/tst-sprintf2.c: Likewise.
36187         * stdio-common/tst-sprintf3.c: Likewise.
36188         * stdio-common/tst-sprintf.c: Likewise.
36189         * stdio-common/tst-swprintf.c: Likewise.
36190         * stdio-common/tst-tmpnam.c: Likewise.
36191         * stdio-common/tst-unbputc.c: Likewise.
36192         * stdio-common/tst-wc-printf.c: Likewise.
36193         * stdlib/tst-environ.c: Likewise.
36194         * stdlib/tst-fmtmsg.c: Likewise.
36195         * stdlib/tst-limits.c: Likewise.
36196         * stdlib/tst-rand48-2.c: Likewise.
36197         * stdlib/tst-rand48.c: Likewise.
36198         * stdlib/tst-random2.c: Likewise.
36199         * stdlib/tst-random.c: Likewise.
36200         * stdlib/tst-strtol.c: Likewise.
36201         * stdlib/tst-strtoll.c: Likewise.
36202         * stdlib/tst-tls-atexit.c: Likewise.
36203         * stdlib/tst-xpg-basename.c: Likewise.
36204         * string/test-ffs.c: Likewise.
36205         * string/tst-bswap.c: Likewise.
36206         * string/tst-inlcall.c: Likewise.
36207         * string/tst-strtok.c: Likewise.
36208         * string/tst-strxfrm.c: Likewise.
36209         * sysdeps/x86_64/tst-audit10.c: Likewise.
36210         * sysdeps/x86_64/tst-audit3.c: Likewise.
36211         * sysdeps/x86_64/tst-audit4.c: Likewise.
36212         * sysdeps/x86_64/tst-audit5.c: Likewise.
36213         * time/tst-ftime_l.c: Likewise.
36214         * time/tst-getdate.c: Likewise.
36215         * time/tst-mktime3.c: Likewise.
36216         * time/tst-mktime.c: Likewise.
36217         * time/tst-posixtz.c: Likewise.
36218         * time/tst-strptime2.c: Likewise.
36219         * time/tst-strptime3.c: Likewise.
36220         * wcsmbs/tst-btowc.c: Likewise.
36221         * wcsmbs/tst-mbrtowc.c: Likewise.
36222         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36223         * wcsmbs/tst-wchar-h.c: Likewise.
36224         * wcsmbs/tst-wcpncpy.c: Likewise.
36225         * wcsmbs/tst-wcrtomb.c: Likewise.
36226         * wcsmbs/tst-wcsnlen.c: Likewise.
36227         * wcsmbs/tst-wcstof.c: Likewise.
36229 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36231         [BZ #14132]
36232         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36233         INTDEF.
36234         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36235         declaration.
36236         (_dl_mcount): Use rtld_hidden_proto.
36237         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36238         _dl_mcount.
36239         * elf/rtld.c (_rtld_global_ro): Likewise.
36241         [BZ #14132]
36242         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36243         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36244         of _dl_init_internal.
36245         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36246         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36247         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36248         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36249         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36250         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36251         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36252         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36253         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36254         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36255         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36256         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36257         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36258         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36259         * sysdeps/tile/dl-start.S (_start): Likewise.
36260         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36261         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36263         [BZ #14132]
36264         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36265         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36266         (rtld_progname): Make macro definition unconditional.
36267         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36268         INTDEF.
36269         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36270         (dl_main): Likewise.
36271         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36272         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36273         instead of _dl_argv_internal.
36274         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36275         __GI__dl_argv instead of INTUSE(_dl_argv).
36276         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36277         __GI__dl_argv instead of _dl_argv_internal.
36279         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36280         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36281         macro.
36282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36283         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36284         New macro.
36285         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36286         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36287         macro.
36288         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36289         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36291 2014-11-04  Andreas Schwab  <schwab@suse.de>
36293         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36295 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36297         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36298         mtvsrd instruction in binary form.
36300 2014-11-03  Andreas Schwab  <schwab@suse.de>
36302         [BZ #17522]
36303         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36304         for less than MB_LEN_MAX use a local buffer of that size.
36305         * libio/tst-fputws.c: New file.
36306         * libio/Makefile (tests): Add tst-fputws.
36308 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36310         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36311         the size of the fpu_fr.fpu_dregs[] array.
36313 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36315         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36316         (__nanosleep): Do not define as alias.
36317         (nanosleep): Define as alias of __nanosleep.
36318         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36319         __libc_nanosleep name.
36321 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36323         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36324         install.texi in comment.
36326 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36328         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36329         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36330         ... add here and use lwsync or sync ...
36331         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36332         ... and add here using lwsync.
36334 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36336         * elf/dl-machine-reject-phdr.h: New file.
36337         * elf/dl-load.c: #include that.
36338         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36339         if that returned true.
36341 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36343         [BZ #17496]
36344         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36345         gen-as-const-headers chunk.  Add a big scare comment after the last
36346         safe place to touch before-compile.
36348 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36350         * manual/install.texi (Tools for Compilation): Update autoconf
36351         version requirements.
36352         * INSTALL: Regenerated.
36354         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36355         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36356         (__libc_pselect): Likewise.
36358         [BZ #14138]
36359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36364 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36366         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36367         correct barrier instruction.
36368         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36369         Likewise.
36370         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36371         Likewise.
36373 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36375         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36376         after defining inlines.  Instead, just use parens to defeat macro
36377         expansion of __isctype in its declaration.
36379 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36381         * include/sys/uio.h (__libc_readv): Remove declaration.
36382         (__libc_writev): Likewise.
36383         * misc/readv.c (__libc_readv): Rename to __readv.
36384         (__readv): Do not define as alias.
36385         (readv): Define as alias of __readv.
36386         * misc/writev.c (__libc_writev): Rename to __writev.
36387         (__writev): Do not define as alias.
36388         (writev): Define as alias of __writev.
36389         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36390         (__readv): Do not define as alias.
36391         (readv): Define unconditionally as alias of __readv.
36392         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36393         (__writev): Do not define as alias.
36394         (writev): Define unconditionally as alias of __writev.
36395         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36396         name.
36397         (writev): Do not define __libc_writev name.
36399 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36401         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36402         (convert_charseq): New function, broken out of ...
36403         (use_from_charmap): ... here.  Call it.
36404         (use_to_charmap): Use convert_charseq and free instead of duplicating
36405         its code with a variable-length stack struct.
36407 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36409         * include/fcntl.h (__libc_creat): Remove declaration.
36410         * io/creat.c (__libc_creat): Rename to creat.
36411         (creat): Do not define as alias.
36412         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36413         of creat instead of __libc_creat.
36414         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36415         to creat.
36416         (creat): Do not define as alias.
36417         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36418         __libc_creat.
36419         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36420         __libc_creat name.
36421         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36422         Likewise.
36424 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36426         * manual/llio.texi: Add comments discussing why write() may be
36427         considered MT-unsafe on Linux.
36429 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36431         * dl-load.c (local_strdup): Remove.
36432         (expand_dynamic_string_token): Use __strdup.
36433         (decompose_rpath): Likewise.
36434         (_dl_map_object): Likewise.
36436 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36438         [BZ #14132]
36439         * sysdeps/generic/unwind-dw2-fde.c
36440         (__register_frame_info_bases_internal): Do not declare.
36441         (__register_frame_info_table_bases_internal): Likewise.
36442         (__deregister_frame_info_bases_internal): Likewise.
36443         (__register_frame_info_bases): Declare and use hidden_proto before
36444         definition.  Use hidden_def instead of INTDEF.
36445         (__register_frame_info_table_bases): Likewise.
36446         (__deregister_frame_info_bases): Likewise.
36447         (__register_frame_info): Do not use INTUSE.
36448         (__register_frame): Likewise.
36449         (__register_frame_info_table): Likewise.
36450         (__register_frame_table): Likewise.
36451         (__deregister_frame_info): Likewise.
36452         (__deregister_frame): Likewise.
36454 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36456         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36457         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36458         not undefine.
36459         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36460         Likewise.
36461         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36462         Likewise.
36464 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36466         [BZ #14138]
36467         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36468         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36469         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36470         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36471         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36472         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36473         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36474         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36475         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36476         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36477         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36478         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36479         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36480         syscall.
36481         (setfsuid): Likewise.
36482         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36483         (setfsuid): Likewise.
36484         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36485         (setfsuid): Likewise.
36486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36487         Likewise.
36488         (setfsuid): Likewise.
36489         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36490         (setfsuid): Likewise.
36491         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36492         Likewise.
36493         (setfsuid): Likewise.
36495 2014-10-27  Andreas Schwab  <schwab@suse.de>
36497         [BZ #17501]
36498         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36499         check for Slow_SSE4_2 feature bit.
36500         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36501         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36502         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36503         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36505 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36507         * configure.ac: Validate compiler version with a empirical test of
36508         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36509         $CC -v output.
36510         * configure: Regenerated.
36512         * inet/htons.c (htons): Prototypify.
36513         * inet/htonl.c (htonl): Likewise.
36515 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36517         * string/strncat.c (strncat): Improve performance by using strlen.
36519 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36521         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36523 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36525         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36526         Call libc_fetestexcept_aarch64.
36528 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36530         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36531         Call libc_feholdexcept_aarch64.
36533 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36535         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36536         Call get_rounding_mode.
36538 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36540         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36541         Simplify logic.
36543 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36545         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36546         Simplify logic.
36548 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36550         [BZ #14138]
36551         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36552         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36553         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36554         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36555         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36556         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36557         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36558         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36559         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36560         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36561         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36562         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36563         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36564         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36565         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36566         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36567         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36568         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36569         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36570         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36571         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36572         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36573         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36574         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36575         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36576         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36577         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36578         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36579         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36580         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36581         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36582         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36583         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36584         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36585         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36586         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36587         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36588         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36589         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36590         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36591         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36592         syscall.
36593         (geteuid): Likewise.
36594         (getgid): Likewise.
36595         (getuid): Likewise.
36596         (getresgid): Likewise.
36597         (getresuid): Likewise.
36598         (getgroups): Likewise.
36599         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36600         (geteuid): Likewise.
36601         (getgid): Likewise.
36602         (getuid): Likewise.
36603         (getresgid): Likewise.
36604         (getresuid): Likewise.
36605         (getgroups): Likewise.
36606         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36607         (geteuid): Likewise.
36608         (getgid): Likewise.
36609         (getuid): Likewise.
36610         (getresgid): Likewise.
36611         (getresuid): Likewise.
36612         (getgroups): Likewise.
36613         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36614         Likewise.
36615         (geteuid): Likewise.
36616         (getgid): Likewise.
36617         (getuid): Likewise.
36618         (getresgid): Likewise.
36619         (getresuid): Likewise.
36620         (getgroups): Likewise.
36621         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36622         (geteuid): Likewise.
36623         (getgid): Likewise.
36624         (getuid): Likewise.
36625         (getresgid): Likewise.
36626         (getresuid): Likewise.
36627         (getgroups): Likewise.
36628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36629         Likewise.
36630         (geteuid): Likewise.
36631         (getgid): Likewise.
36632         (getuid): Likewise.
36633         (getgroups): Likewise.
36635         [BZ #14138]
36636         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36637         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36638         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36639         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36640         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36641         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36642         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36643         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36644         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36645         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36646         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36647         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36648         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36649         __chown.
36650         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36651         (lchown): Likewise.
36652         (fchown): Likewise.
36653         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36654         Likewise.
36655         (lchown): Likewise.
36656         (fchown): Likewise.
36657         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36658         (lchown): Likewise.
36659         (fchown): Likewise.
36660         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36661         Likewise.
36662         (lchown): Likewise.
36663         (fchown): Likewise.
36665 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36667         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36668         Simplify logic.
36670 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36672         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36673         Cleanup logic.
36675 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36677         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36678         Remove unused include.
36680 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36682         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36683         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36684         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36685         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36687 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36688             Helge Deller <deller@gmx.de>
36690         [BZ #17508]
36691         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36692         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36693         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36695 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36697         [BZ #14132]
36698         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36699         Remove macro definition.
36700         (__ashrdi3_v_glibc20): Likewise.
36701         (__lshrdi3_v_glibc20): Likewise.
36702         (__cmpdi2_v_glibc20): Likewise.
36703         (__ucmpdi2_v_glibc20): Likewise.
36704         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36705         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36706         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36707         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36708         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36709         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36711 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36713         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36714         old GNU extension [0] syntax.
36715         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36716         alloca rather than an array member with variable length.
36717         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36718         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36719         (parse_opt): ... here.  Likewise use alloca there.
36720         Validate the -i argument before checking for rootness.
36721         (send_shutdown): New function, broken out of ...
36722         (parse_opt): ... here.
36724 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36726         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36727         macro to get at the _rt_local_ro field.
36728         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36729         ([PIC] case) or _dl_hwcap ([!PIC] case).
36730         * sysdeps/arm/setjmp.S: Likewise.
36732         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36733         * sysdeps/arm/configure.ac: New check to define it.
36734         * sysdeps/arm/configure: Regenerated.
36735         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36736         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36737         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36738         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36739         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36740         Use move/movt pair instead of a load.
36741         (LDST_GLOBAL): Macro removed.
36742         (LDR_GLOBAL): New macro replaces it.
36743         (LDR_HIDDEN): New macro.
36744         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36745         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36747         * setjmp/tst-setjmp-static.c: New file.
36748         * setjmp/Makefile (tests): Add it.
36749         (tests-static): New variable.
36751 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36753         [BZ #17485]
36754         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36756 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36758         [BZ #14132]
36759         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36761 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36763         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36765 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36767         * io/fts.c (dirent_not_directory): New function.
36768         (fts_build): Call it.
36770 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36772         * nptl/version.c (__nptl_main): Use normal __write rather than
36773         INTERNAL_SYSCALL.
36774         (banner): Update copyright years.
36776         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36777         gettimeofday.
36778         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36779         * nptl/pthread_cond_timedwait.c: Likewise.
36780         * nptl/pthread_mutex_timedlock.c: Likewise.
36781         * nptl/sem_timedwait.c: Likewise.
36783         * sysdeps/nptl/bits/libc-lock.h
36784         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36785         (__libc_lock_init_recursive): Return void, not 0.
36786         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36787         (__libc_rwlock_init): Likewise.
36788         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36790 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36792         [BZ #15215]
36793         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36794         (__pthread_once_slow): ... here.
36795         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36796         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36798 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36800         [BZ #15215]
36801         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36802         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36803         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36804         * nptl/pthread_once.c (__pthread_once): Likewise.
36805         Update comments.
36807 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36809         [BZ #14138]
36810         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36811         name.
36812         (writev): Use __libc_writev as strong name.
36813         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36814         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36816 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36818         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36820         * sysdeps/i386/nptl/tls.h
36821         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36822         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36823         New macros.
36824         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36825         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36826         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36827         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36828         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36829         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36831         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36832         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36833         on [__NR_futex].
36834         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36835         broken out of ...
36836         (__pthread_mutex_init): ... here.  Call it.
36837         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36838         Conditionalize PI cases on [__NR_futex].
36839         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36840         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36841         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36843         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36844         conditional on [SIGSETXID].
36845         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36846         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36847         is defined.  Likewise for SIGSETXID.
36848         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36849         Conditionalize definitions on [SIGSETXID].
36850         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36851         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36852         unblocking on [SIGCANCEL].
36854         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36855         [__NR_set_robust_list].
36857 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36859         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36860         (do_compare): Likewise.
36862 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36864         [BZ #15884]
36865         * string/strcoll_l.c: Don't include stdio.h.
36866         (coll_seq): Remove members idxarr and rulearr.
36867         (get_next_seq_cached): Remove function.
36868         (get_next_seq): Likewise.
36869         (get_next_seq_nocache): Rename to get_next_seq.
36870         (do_compare): Remove function.
36871         (do_compare_nocache): Rename to do_compare.
36872         (STRCOLL): Remove weight and rules cache.
36874 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36876         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36877         * sysdeps/arm/sfp-machine.h: ... to here.
36878         * sysdeps/arm/Implies: Remove arm/soft-fp.
36880 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36882         * conform/data/sys/utsname.h-data (*_t): Allow.
36883         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36884         [POSIX] (WEXITED): Do not expect constant.
36885         [POSIX] (WSTOPPED): Likewise.
36886         [POSIX] (WNOHANG): Likewise.
36887         [POSIX] (WNOWAIT): Likewise.
36888         [POSIX] (siginfo_t): Do not expect type or elements.
36889         [POSIX] (pid_t): Do not expect type.
36890         [POSIX] (signal.h): Do not allow header.
36891         [POSIX] (sys/resource.h): Likewise.
36892         [POSIX] (si_*): Do not allow pattern.
36893         [POSIX] (W*): Likewise.
36894         [POSIX] (P_*): Likewise.
36895         [POSIX] (BUS_*): Likewise.
36896         [POSIX] (CLD_*): Likewise.
36897         [POSIX] (FPE_*): Likewise.
36898         [POSIX] (ILL_*): Likewise.
36899         [POSIX] (POLL_*): Likewise.
36900         [POSIX] (SEGV_*): Likewise.
36901         [POSIX] (SI_*): Likewise.
36902         [POSIX] (TRAP_*): Likewise.
36903         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36904         variable.
36906 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36908         [BZ #12926]
36909         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36910         infinite loop when __recvmsg returns 0.
36912 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36914         * CANCEL-FCT-WAIVE: Remove file.
36915         * CANCEL-FILE-WAIVE: Likewise.
36917         [BZ #14132]
36918         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36919         instead of INTVARDEF.
36920         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36921         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36922         rtld_hidden_data_def instead of INTVARDEF.
36923         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36924         * elf/dl-deps.c (expand_dst): Likewise.
36925         * elf/dl-load.c (_dl_dst_count): Likewise.
36926         (_dl_dst_substitute): Likewise.
36927         (decompose_rpath): Likewise.
36928         (_dl_init_paths): Likewise.
36929         (open_path): Likewise.
36930         (_dl_map_object): Likewise.
36931         * elf/rtld.c (dl_main): Likewise.
36932         (process_dl_audit): Likewise.
36933         (process_envvars): Likewise.
36934         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36935         Remove declaration.
36936         (__libc_enable_secure): Use rtld_hidden_proto.
36938 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36940         * elf/dl-load.c
36941         (add_path): New function broken out of _dl_rtld_di_serinfo.
36942         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36944 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36946         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36947         parentheses around macro arguments.
36948         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36950         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36951         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36952         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36953         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36954         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36955         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36956         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36957         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36959         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36960         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36961         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36962         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36963         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36964         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36965         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36966         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36968         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36970         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36971         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36973         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36974         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36975         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36977         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36978         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36979         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36980         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36981         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36982         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36983         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36984         Likewise.
36985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36986         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36987         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36988         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36989         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36990         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36992         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36993         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36994         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36995         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36996         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36997         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36998         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36999         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37000         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37001         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37002         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37003         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37004         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37006         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37007         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37008         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37009         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37010         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37011         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37012         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37013         (_FP_FRAC_SRS_1): Likewise.
37014         (_FP_FRAC_CLZ_1): Likewise.
37015         (_FP_MUL_MEAT_1_imm): Likewise.
37016         (_FP_MUL_MEAT_1_wide): Likewise.
37017         (_FP_MUL_MEAT_1_hard): Likewise.
37018         (_FP_SQRT_MEAT_1): Likewise.
37019         (_FP_FRAC_ASSEMBLE_1): Likewise.
37020         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37021         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37022         (__FP_CLZ_2): Likewise.
37023         (_FP_MUL_MEAT_2_wide): Likewise.
37024         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37025         (_FP_MUL_MEAT_2_gmp): Likewise.
37026         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37027         (_FP_SQRT_MEAT_2): Likewise.
37028         (_FP_FRAC_ASSEMBLE_2): Likewise.
37029         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37030         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37031         (_FP_FRAC_CLZ_4): Likewise.
37032         (_FP_MUL_MEAT_4_wide): Likewise.
37033         (_FP_MUL_MEAT_4_gmp): Likewise.
37034         (_FP_SQRT_MEAT_4): Likewise.
37035         (_FP_FRAC_ASSEMBLE_4): Likewise.
37036         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37037         * soft-fp/op-common.h (_FP_CMP): Likewise.
37038         (_FP_CMP_EQ): Likewise.
37039         (_FP_CMP_UNORD): Likewise.
37040         (_FP_TO_INT): Likewise.
37041         (_FP_FROM_INT): Likewise.
37042         [!__FP_CLZ] (__FP_CLZ): Likewise.
37043         (_FP_DIV_HELP_imm): Likewise.
37044         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37045         Likewise.
37046         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37047         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37048         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37049         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37050         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37051         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37052         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37053         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37054         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37055         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37057         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37058         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37059         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37060         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37061         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37062         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37063         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37064         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37065         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37066         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37071         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37072         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37073         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37075         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37076         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37077         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37078         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37079         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37080         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37081         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37082         (FP_UNPACK_RAW_SP): Likewise.
37083         (FP_PACK_RAW_S): Likewise.
37084         (FP_PACK_RAW_SP): Likewise.
37085         (FP_UNPACK_S): Likewise.
37086         (FP_UNPACK_SP): Likewise.
37087         (FP_UNPACK_SEMIRAW_S): Likewise.
37088         (FP_UNPACK_SEMIRAW_SP): Likewise.
37089         (FP_PACK_S): Likewise.
37090         (FP_PACK_SP): Likewise.
37091         (FP_PACK_SEMIRAW_S): Likewise.
37092         (FP_PACK_SEMIRAW_SP): Likewise.
37093         (_FP_SQRT_MEAT_S): Likewise.
37094         (FP_CMP_S): Likewise.
37095         (FP_CMP_EQ_S): Likewise.
37096         (FP_CMP_UNORD_S): Likewise.
37097         (FP_TO_INT_S): Likewise.
37098         (FP_FROM_INT_S): Likewise.
37100         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37102         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37103         (FP_EX_INVALID_IMZ): Likewise.
37104         (FP_EX_INVALID_IMZ_FMA): Likewise.
37105         (FP_EX_INVALID_ISI): Likewise.
37106         (FP_EX_INVALID_ZDZ): Likewise.
37107         (FP_EX_INVALID_IDI): Likewise.
37108         (FP_EX_INVALID_SQRT): Likewise.
37109         (FP_EX_INVALID_CVI): Likewise.
37110         (FP_EX_INVALID_VC): Likewise.
37111         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37112         "invalid" exceptions.
37113         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37114         (_FP_ADD_INTERNAL): Likewise.
37115         (_FP_MUL): Likewise.
37116         (_FP_FMA): Likewise.
37117         (_FP_DIV): Likewise.
37118         (_FP_CMP_CHECK_NAN): Likewise.
37119         (_FP_SQRT): Likewise.
37120         (_FP_TO_INT): Likewise.
37121         (FP_EXTEND): Likewise.
37123 2014-10-09  Allan McRae  <allan@archlinux.org>
37125         * po/fr.po: Update French translation from translation project.
37127 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37129         [BZ #14132]
37130         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37131         of INTDEF.
37132         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37133         (__cxa_atexit): Use libc_hidden_proto.
37134         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37136         [BZ #14132]
37137         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37138         declaration.
37139         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37140         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37141         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37142         [!_ISOMAC] (__iswctype_internal): Likewise.
37143         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37144         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37145         alias.
37146         (fcntl): Remove __fcntl_internal alias.
37147         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37148         __connect_internal alias.
37149         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37150         Likewise.
37152         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37153         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37154         FP_DENORM_ZERO.
37155         (_FP_CHECK_FLUSH_ZERO): New macro.
37156         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37157         (_FP_CMP): Likewise.
37158         (_FP_CMP_EQ): Likewise.
37159         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37160         FP_DENORM_ZERO.
37161         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37162         (FP_TRUNC): Likewise.
37164         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37165         treated as invalid conversion, not as normal exponent.
37167         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37168         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37169         (_FP_CMP_EQ): Likewise.
37170         (_FP_CMP_UNORD): Likewise.
37171         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37172         (FP_CMP_EQ_D): Likewise.
37173         (FP_CMP_UNORD_D): Likewise.
37174         * soft-fp/extended.h (FP_CMP_E): Likewise.
37175         (FP_CMP_EQ_E): Likewise.
37176         (FP_CMP_UNORD_E): Likewise.
37177         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37178         (FP_CMP_EQ_Q): Likewise.
37179         (FP_CMP_UNORD_Q): Likewise.
37180         * soft-fp/single.h (FP_CMP_S): Likewise.
37181         (FP_CMP_EQ_S): Likewise.
37182         (FP_CMP_UNORD_S): Likewise.
37183         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37184         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37185         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37186         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37187         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37188         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37189         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37190         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37191         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37192         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37193         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37194         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37195         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37196         to FP_CMP_Q.
37197         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37198         FP_CMP_Q.
37199         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37200         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37201         FP_CMP_EQ_Q.
37202         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37203         FP_CMP_Q.
37204         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37205         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37206         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37207         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37208         FP_CMP_EQ_Q.
37209         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37210         FP_CMP_Q.
37211         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37212         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37213         FP_CMP_EQ_Q.
37214         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37215         FP_CMP_Q.
37216         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37217         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37218         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37219         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37220         FP_CMP_EQ_Q.
37222         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37223         a subnormal result, set the underflow exception if trapping on
37224         underflow is enabled.
37225         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37226         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37227         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37228         redefine to 0.
37229         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37230         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37231         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37232         * soft-fp/extendxftf2.c (__extendxftf2): Use
37233         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37235         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37236         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37237         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37238         FP_HANDLE_EXCEPTIONS.
37239         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37240         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37241         FP_HANDLE_EXCEPTIONS.
37242         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37243         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37244         FP_HANDLE_EXCEPTIONS.
37245         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37246         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37247         FP_HANDLE_EXCEPTIONS.
37249 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37251         [BZ #14132]
37252         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37253         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37254         use INTUSE.
37255         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37256         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37257         Remove alias.
37258         (__adjtimex): Define using libc_hidden_ver.
37259         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37260         Remove declaration.
37261         (ntp_gettime): Call __adjtimex directly.
37262         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37263         Remove declaration.
37264         (ntp_gettimex): Call __adjtimex directly.
37265         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37266         __adjtimex_internal alias.
37268 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37270         [BZ #17460]
37271         * nscd/nscd.c (more_help): Rewrite list of tables collection
37272         using xstrdup and asprintf.
37274         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37276 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37277             Roland McGrath  <roland@hack.frob.com>
37279         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37280         (do_lookup_unique): ... local function 'enter' here; update callers.
37282 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37284         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37285         compat_symbol calls on [SHARED].
37286         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37287         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37288         Remove.
37289         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37290         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37291         (oldsetrlimit): Remove.
37292         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37294         (lchown): New syscall entry.
37295         (oldsetrlimit): Remove.
37296         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37297         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37298         (oldsetrlimit): Remove.
37299         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37301         [BZ #14138]
37302         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37303         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37304         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37305         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37306         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37307         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37308         (fchown): Likewise.
37309         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37310         (fchown): Likewise.
37311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37312         Likewise.
37314 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37316         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37317         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37318         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37319         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37320         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37321         Likewise.
37322         (__old_sem_post): Likewise.
37324 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37326         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37327         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37328         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37329         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37330         Use INLINE_VSYSCALL macro.
37331         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37332         __vdso_clock_gettime.
37333         * sysdeps/unix/sysv/linux/tile/init-first.c
37334         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37335         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37336         __vdso_clock_gettime.
37338         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37339         to set up frame more cleanly.
37341         * sysdeps/tile/memcmp.c: New file.
37343         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37345         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37346         * sysdeps/tile/tilegx/strcasestr.c: New file.
37347         * sysdeps/tile/tilegx/strnlen.c: New file.
37348         * sysdeps/tile/tilegx/strstr.c: New file.
37350         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37352 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37354         * nptl/tst-setuid3.c: Write errors to stdout.
37356 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37358         * elf/dl-deps.c
37359         (preload): New functions broken out of _dl_map_object_deps.
37360         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37362 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37364         [BZ #14138]
37365         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37366         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37368 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37370         * sysdeps/mips/strcmp.S: New.
37372 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37374         [BZ #14138]
37375         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37376         (linkat): Likewise.
37377         (mkdirat): Likewise.
37378         (readlinkat): Likewise.
37379         (renameat): Likewise.
37380         (symlinkat): Likewise.
37381         (unlinkat): Likewise.
37382         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37383         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37384         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37385         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37386         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37387         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37388         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37390 2014-09-30  Will Newton  <will.newton@linaro.org>
37392         * math/math.h: Define long double math functions if
37393         _LIBC_TEST is defined.
37394         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37396         * localedata/Makefile: Move assignment to tests-special
37397         into an ifdef testing run-built-tests.
37398         * timezone/Makefile: Likewise.
37400 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37402         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37403         with $(BASH) not $(SHELL).
37405 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37406             Matthew LeGendre  <legendre1@llnl.gov>
37408         [BZ #17411]
37409         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37410         l_reloc_result.
37412 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37414         * stdio-common/printf_fp.c
37415         (hack_digit): New function, broken out of ...
37416         (__printf_fp): ... local function here.  Update call sites.
37417         hack_digit now takes an additional parameter that is a pointer
37418         to a struct of the referenced locals.  Those locals moved inside
37419         the struct and references updated.
37421 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37423         * aclocal.m4: Require autoconf 2.69.
37424         * configure: Regenerated.
37425         * sysdeps/aarch64/configure: Likewise.
37426         * sysdeps/alpha/configure: Likewise.
37427         * sysdeps/arm/armv7/configure: Likewise.
37428         * sysdeps/arm/configure: Likewise.
37429         * sysdeps/ia64/configure: Likewise.
37430         * sysdeps/mach/configure: Likewise.
37431         * sysdeps/mips/configure: Likewise.
37432         * sysdeps/s390/configure: Likewise.
37433         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37436         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37437         file.
37438         * sysdeps/ia64/configure.ac: Likewise.
37440 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37443         specify symbol version for ld.so.  Do not include entry for
37444         libpthread.
37445         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37446         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37447         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37449         [BZ #14171]
37450         * Makeconfig [$(build-shared) = yes]
37451         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37452         makefiles.
37453         [$(build-shared) = yes && $(soversions.mk-done) = t]
37454         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37455         [$(build-shared) = yes && $(soversions.mk-done) = t]
37456         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37457         to Makerules.
37458         [$(build-shared) = yes && $(soversions.mk-done) = t]
37459         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37460         here.
37461         [$(build-shared) = yes && $(soversions.mk-done) = t]
37462         (common-generated): Don't append gnu/lib-names.h and
37463         gnu/lib-names.stmp here.
37464         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37465         (lib-names-h-abi): New variable.
37466         [$(build-shared) = yes && $(soversions.mk-done) = t]
37467         (lib-names-stmp-abi): Likewise.
37468         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37469         abi-variants] (before-compile): Append
37470         $(common-objpfx)$(lib-names-h-abi).
37471         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37472         abi-variants] (common-generated): Append gnu/lib-names.h.
37473         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37474         abi-variants] (install-others-nosubdir): Depend on
37475         $(inst_includedir)/$(lib-names-h-abi).
37476         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37477         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37478         [$(build-shared) = yes && $(soversions.mk-done) = t]
37479         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37480         [$(build-shared) = yes && $(soversions.mk-done) = t]
37481         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37482         [$(build-shared) = yes && $(soversions.mk-done) = t]
37483         (common-generated): Append $(lib-names-h-abi) and
37484         $(lib-names-stmp-abi).
37485         * scripts/lib-names.awk: Do not handle multi being set.
37486         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37487         Remove variable.
37488         (abi-lp64_be-ld-soname): Likewise.
37489         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37490         Likewise.
37491         (abi-hard-ld-soname): Likewise.
37492         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37493         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37494         Remove variable.
37495         (abi-o32_hard-ld-soname): Likewise.
37496         (abi-o32_soft_2008-ld-soname): Likewise.
37497         (abi-o32_hard_2008-ld-soname): Likewise.
37498         (abi-n32_soft-ld-soname): Likewise.
37499         (abi-n32_hard-ld-soname): Likewise.
37500         (abi-n32_soft_2008-ld-soname): Likewise.
37501         (abi-n32_hard_2008-ld-soname): Likewise.
37502         (abi-n64_soft-ld-soname): Likewise.
37503         (abi-n64_hard-ld-soname): Likewise.
37504         (abi-n64_soft_2008-ld-soname): Likewise.
37505         (abi-n64_hard_2008-ld-soname): Likewise.
37506         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37507         Likewise.
37508         (abi-64-v2-ld-soname): Likewise.
37509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37510         ld.so entries.
37511         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37512         variable.
37513         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37514         entry.
37515         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37516         variable.
37517         (abi-64-ld-soname): Likewise.
37518         (abi-x32-ld-soname): Likewise.
37519         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37520         entry.
37521         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37523 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37525         [BZ #14138]
37526         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37527         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37528         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37529         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37530         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37531         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37532         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37533         syscall entry for GLIBC_2.2 symbol version.
37534         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37535         Likewise.
37536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37537         (setrlimit): Likewise.
37538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37539         Likewise.
37541 2014-09-23  Will Newton  <will.newton@linaro.org>
37543         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37544         _LINUX_ARM_SYSDEP_H include guard too.
37545         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37546         define.
37548 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37550         * sysdeps/unix/sysv/linux/eventfd.c:
37551         Make first argument unsigned.
37552         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37553         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37555 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37557         [BZ #16852]
37558         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37559         * socket/sys/socket.h: Likewise.
37560         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37562 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37564         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37566 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37568         * time/tst-ftime.c: New test.
37569         * time/Makefile (tests): Add tst-ftime.
37571 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37573         * soft-fp/extended.h: Fix comment formatting.
37574         * soft-fp/op-1.h: Likewise.
37575         * soft-fp/op-2.h: Likewise.
37576         * soft-fp/op-4.h: Likewise.
37577         * soft-fp/op-8.h: Likewise.
37578         * soft-fp/op-common.h: Likewise.
37579         * soft-fp/soft-fp.h: Likewise.
37581         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37583 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37585         [BZ #6652]
37586         * Makeconfig (soversions-default-setname): Remove variable.
37587         ($(common-objpfx)soversions.i): Don't pass default_setname to
37588         soversions.awk.
37589         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37590         oldest_abi to abi-versions.awk.
37591         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37592         * config.make.in (oldest-abi): Remove variable.
37593         * configure.ac (--enable-oldest-abi): Remove configure option.
37594         * configure: Regenerated.
37595         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37596         text.
37597         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37598         * scripts/soversions.awk: Do not handle default_setname variable.
37599         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37600         variable.
37601         * sysdeps/mach/hurd/configure: Regenerated.
37602         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37603         variable.
37604         * sysdeps/unix/sysv/linux/configure: Regenerated.
37606 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37608         * elf/Makefile (CFLAGS-interp.c): Remove.
37609         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37610         path string.
37611         * elf/interp.c: Include generated runtime-linker.h
37613         * Makerules (lib%.so): Don't include $(+interp) in
37614         prerequisites.
37615         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37616         * dlfcn/eval.c: Remove file.
37618         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37619         macros.
37621         [BZ #17266]
37622         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37623         4.2 and newer.
37625         [BZ #17370]
37626         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37628 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37629             Jakub Jelinek  <jakub@redhat.com>
37631         [BZ #17266]
37632         * libio/stdio.h: Check definition of __fortify_function
37633         instead of __extern_always_inline to include bits/stdio2.h.
37634         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37635         check if __extern_always_inline is defined.
37636         [__USE_MISC || __USE_XOPEN]: Likewise.
37637         [__USE_ISOC99] Likewise.
37638         * misc/sys/cdefs.h (__fortify_function): Define only if
37639         __extern_always_inline is defined.
37640         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37641         __extern_always_inline and __extern_inline only for g++-4.3
37642         and newer or a compatible gcc.
37644 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37646         [BZ #17371]
37647         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37648         last change to handle zero prefix length.
37650 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37652         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37653         _SC_REGEX_VERSION.
37655         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37656         _POSIX_RAW_SOCKETS.
37658 2014-09-13  Allan McRae  <allan@archlinux.org>
37660         * po/ru.po: Update Russian translation from translation project.
37662 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37664         * locale/programs/locale.c (show_locale_vars): Inline local function
37665         into its sole call site.  Clean up some style nits.
37666         (print_item): New function, broken out of ...
37667         (show_info): ... local function here.  Clean up style nits.
37669         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37670         out of ...
37671         (set_class_defaults): ... local function set_default here.
37672         Define set_default as a macro locally to pass constant parameters.
37673         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37674         rather than a shared local.
37676         * stdlib/rpmatch.c (try): New function, broken out of ...
37677         (rpmatch): ... local function here.  Also, prototypify definition.
37679 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37681         * scripts/soversions.awk: Do not handle configuration names.
37682         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37683         vendor and os variables to soversions.awk.
37684         * configure.ac: Do not modify gnu-* host_os.
37685         * configure: Regenerated
37686         * shlib-versions: Remove first column with configuration names.
37687         * nptl/shlib-versions: Likewise.
37688         * nptl_db/shlib-versions: Likewise.
37689         * sysdeps/hppa/shlib-versions: Likewise.
37690         * sysdeps/m68k/shlib-versions: Likewise.
37691         * sysdeps/mach/hurd/shlib-versions: Likewise.
37692         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37693         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37694         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37695         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37696         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37697         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37698         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37699         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37701         Likewise.
37702         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37703         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37704         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37705         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37706         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37707         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37708         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37709         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37712         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37714         Regenerated.
37715         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37717         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37719         * shlib-versions: Remove OS-specific entries.  Moved to files in
37720         sysdeps.
37721         * sysdeps/mach/hurd/shlib-versions: New file.
37722         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37724         * nptl/shlib-versions: Remove architecture-specific entries.
37725         Moved to files in sysdeps.
37726         * shlib-versions: Likewise.
37727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37728         file.
37729         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37730         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37731         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37732         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37734         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37735         (UDP_NO_CHECK6_RX): Likewise.
37737 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37739         * sysdeps/posix/sysconf.c (__sysconf): Spell
37740         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37742 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37744         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37745         loading.
37746         * iconv/Versions (__gconv_transliterate): Export for use from
37747         gconv modules.
37748         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37749         (struct __gconv_trans_data, __gconv_trans_fct,
37750         __gconv_trans_context_fct, __gconv_trans_query_fct,
37751         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37752         definitions.
37753         (struct __gconv_step_data): Remove __trans member.
37754         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37755         longer hidden.  Remove unused trans_data argument.
37756         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37757         (__gconv_translit_find): Remove declaration.
37758         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37759         prototype.
37760         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37761         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37762         trans_data argument.  Add hidden definition.
37763         (__gconv_translit_find): Remove.
37764         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37765         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37766         * iconv/skeleton.c: Remove transliteration initialization.
37767         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37768         __gconv_step_data initialization.
37769         * libio/iofwide.c (__libio_translit_): Remove.
37770         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37771         * wcsmbs/btowc.c (__btowc): Likewise.
37772         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37773         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37774         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37775         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37776         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37777         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37778         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37779         * wcsmbs/wctob.c (wctob): Likewise.
37781 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37783         [BZ #16194]
37784         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37785         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37786         register usage.
37787         * sysdeps/x86/Makefile: Adjust.
37789 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37790             Roland McGrath  <roland@hack.frob.com>
37792         * locale/weight.h: Add include guard.
37793         (findidx): Make static rather than auto; take new parameters
37794         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37795         * locale/weightwc.h: Likewise.
37796         * posix/fnmatch_loop.c
37797         (FCT): Change type of EXTRA from int32_t to wint_t.
37798         Don't include either header inside the function.
37799         Call FINDIDX rather than findidx, and pass new arguments.
37800         #undef FINDIDX at the end of the file.
37801         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37802         FINDIDX before including fnmatch_loop.c for the non-wide version.
37803         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37804         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37805         for the wide version.
37806         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37807         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37808         Pass new arguments to findidx.
37809         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37810         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37811         Don't #include it inside the function.  Pass new arguments to findidx.
37812         * posix/regex_internal.h
37813         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37814         (re_string_elem_size_at): Don't #include it inside the function.
37815         Pass new arguments to findidx.
37816         * string/strcoll_l.c: #include WEIGHT_H at top level.
37817         (get_next_seq): Don't #include it inside the function.
37818         Pass new arguments to findidx.
37819         (get_next_seq_nocache): Likewise.
37820         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37821         (STRXFRM): Don't #include it inside the function.
37822         Pass new arguments to findidx.
37824 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37826         [BZ #17344]
37827         * malloc/malloc.c (unlink): Turn asserts into a call to
37828         malloc_printerr.
37830 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37832         [BZ #17370]
37833         * libio/wfileops (do_ftell_wide): Free OUT.
37835 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37837         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37839 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37841         [BZ #17363]
37842         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37843         group if the current group is empty.
37845 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37847         * benchtests/bench-memset.c (test_main): Add more test from size
37848         from 32 to 512 bytes.
37849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37850         Add POWER8 memset object.
37851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37852         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37853         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37854         implementation.
37855         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37856         Likewise.
37857         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37858         multiarch POWER8 memset optimization.
37859         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37860         POWER8 memset optimization.
37862         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37863         Remove bzero multiarch objects.
37864         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37865         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37866         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37867         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37868         Remove define.
37869         [__bzero]: Redefine to specific name.
37870         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37871         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37872         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37873         define.
37874         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37875         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37877 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37879         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37880         warnings into errors.
37882         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37883         __cxa_thread_atexit_impl prototype.
37885 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37887         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37888         Fix capitalization of error message.
37890 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37892         * sysdeps/mips/preconfigure: Modify ABI tests.
37894 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37896         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37898 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37899             Carlos O'Donell  <carlos@systemhalted.org>
37901         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37902         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37903         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37904         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37905         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37906         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37907         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37908         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37909         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37910         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37911         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37912         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37913         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37914         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37915         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37916         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37920         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37921         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37922         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37923         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37924         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37925         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37926         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37927         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37928         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37929         Deconditionalize the code that was previously under [RESET_PID].
37930         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37931         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37932         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37933         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37934         include sysdep.h.
37936 2014-09-08  Allan McRae  <allan@archlinux.org>
37938         * version.h (RELEASE): Set to "development".
37939         (VERSION): Set to "2.20.90"
37941 2014-09-07  Allan McRae  <allan@archlinux.org
37943         * version.h (RELEASE): Set to "stable".
37944         (VERSION): Set to "2.20"
37945         * include/features.h (__GLIBC_MINOR__): Set to 20.
37947         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37948         Liebler.
37950         * po/ko.po: Update Korean translation from translation project.
37952 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37954         [BZ #17354]
37955         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37956         macro for handling signed relocations.
37958 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37960         [BZ #17325]
37961         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37962         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37963         assert.
37964         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37965         * iconvdata/ibm935.c (BODY): Likewise.
37966         * iconvdata/ibm937.c (BODY): Likewise.
37967         * iconvdata/ibm939.c (BODY): Likewise.
37968         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37969         assert.
37970         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37971         script.
37972         * iconvdata/run-iconv-test.sh: New test loop for checking for
37973         decoder crashers.
37975 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37977         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37978         libm_hidden_ver.
37980 2014-09-01  Allan McRae  <allan@archlinux.org>
37982         * po/eo.po: Update Esperanto translation from translation project.
37984         * po/ca.po: Update Catalan translation from translation project.
37986 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37988         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37989         __proc_dostop call.
37991 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37993         [BZ #17319]
37994         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37995         to call set_thread_area instead of hand written asm.
37996         (__NR_set_thread_area): Removed define.
37997         (TLS_FLAG_WRITABLE): Likewise.
37998         (__ASSUME_SET_THREAD_AREA): Remove check.
37999         (TLS_EBX_ARG): Remove define.
38000         (TLS_LOAD_EBX): Likewise.
38002 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38004         Simplify atomicity of socket creation in bind.
38006         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38007         looking up the name after linking the file.
38009 2014-08-27  Allan McRae  <allan@archlinux.org>
38011         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38013 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38015         [BZ #17187]
38016         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38017         trans_compare, open_translit, __gconv_translit_find):
38018         Remove module loading code.
38020 2014-08-26  Allan McRae  <allan@archlinux.org>
38022         * po/vi.po: Update Vietnamese translation from translation project.
38024         * po/uk.po: Update Ukrainian translation from translation project.
38026         * po/fr.po: Update French translation from translation project.
38028         * po/ru.po: Update Russian translation from translation project.
38030         * po/pl.po: Update Polish translation from translation project.
38032         * po/cs.po: Update Czech translation from translation project.
38034         * po/de.po: Update German translation from translation project.
38036         * po/bg.po: Update Bulgarian translation from translation project.
38038         * po/sv.po: Update Sweedish translation from translation project.
38040         * po/nl.po: Update Dutch translation from translation project.
38042         * po/es.po: Update Spanish translation from translation project.
38044 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38046         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38048         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38049         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38050         (CPPFLAGS-iconvconfig): Likewise.
38051         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38053         * include/libc-symbols.h: Remove unnecessary check for
38054         NOT_IN_libc.
38055         * nptl/pthreadP.h: Likewise.
38056         * sysdeps/aarch64/setjmp.S: Likewise.
38057         * sysdeps/alpha/setjmp.S: Likewise.
38058         * sysdeps/arm/sysdep.h: Likewise.
38059         * sysdeps/i386/setjmp.S: Likewise.
38060         * sysdeps/m68k/setjmp.c: Likewise.
38061         * sysdeps/posix/getcwd.c: Likewise.
38062         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38063         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38064         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38065         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38066         * sysdeps/sh/sh3/setjmp.S: Likewise.
38067         * sysdeps/sh/sh4/setjmp.S: Likewise.
38068         * sysdeps/unix/alpha/sysdep.h: Likewise.
38069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38070         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38071         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38072         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38075         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38076         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38077         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38078         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38080         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38082         * sysdeps/x86_64/setjmp.S: Likewise.
38084 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38086         [BZ #17263]
38087         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38088         <stdint.h>.
38089         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38090         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38092 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38094         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38096         [BZ #17262]
38097         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38098         and __x86_64__ when disabling x87 inline functions.
38100 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38102         [BZ #17259]
38103         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38104         asm statement with __cpuid_count.
38106 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38108         * configure.ac: Change __ehdr_start code to dereference the struct.
38109         Run readelf on the output to look for relocations.
38110         * configure: Regenerated.
38112 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38114         [BZ #17261]
38115         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38116         value to 0.
38117         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38119 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38121         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38123 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38125         [BZ #16892]
38126         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38127         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38129 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38131         * malloc/malloc.c: Fix typo in comment.
38133 2014-08-09  Allan McRae  <allan@archlinux.org>
38135         * Regenerate libc.po.
38137 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38139         * intl/tst-gettext2.sh: Check every lang file for creation.
38141 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38143         * sysdeps/aarch64/fpu/math_private.h
38144         (libc_feholdsetround_noex_aarch64_ctx): New function.
38146 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38148         * sysdeps/arm/armv6/strcpy.S (strcpy):
38149         Fix performance issue in misaligned cases.
38151 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38153         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38154         Move definition from termios.h.
38155         (struct termio): Likewise.
38156         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38157         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38158         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38159         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38160         Likewise.
38161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38162         Move definition to ioctl-types.h
38163         (struct termio): Likewise.
38164         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38165         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38166         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38167         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38168         Likewise.
38170 2014-08-05  Richard Henderson  <rth@redhat.com>
38172         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38173         exceptions.
38174         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38175         Add fraiseexcpt.
38176         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38177         Use __feraiseexcept.
38178         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38179         Protect libm symbols with IS_IN_libm.
38181         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38183 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38185         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38187 2014-08-04  Will Newton  <will.newton@linaro.org>
38189         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38190         file.
38192 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38194         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38195         variants for each function.
38197 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38199         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38200         appended ...
38201         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38202         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38203         appended ...
38204         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38205         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38206         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38207         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38208         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38209         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38210         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38211         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38212         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38213         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38214         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38215         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38216         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38217         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38218         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38219         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38220         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38221         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38222         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38223         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38224         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38225         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38226         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38227         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38228         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38229         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38230         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38231         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38232         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38233         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38234         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38235         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38236         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38237         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38238         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38239         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38240         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38241         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38242         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38243         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38244         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38245         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38246         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38247         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38248         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38250         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38252         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38254         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38255         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38256         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38257         Update #include.
38258         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38259         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38261 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38263         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38264         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38265         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38266         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38267         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38268         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38270 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38272         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38273         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38274         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38275         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38277 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38279         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38280         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38281         (__libc_vfork): Define function under this name.
38282         (__vfork): Define as an alias.
38283         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38284         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38286 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38288         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38289         that was previously under [RESET_PID].
38290         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38292 2014-08-04  Andreas Schwab  <schwab@suse.de>
38294         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38296 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38298         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38299         (main): Likewise.
38301 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38303         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38305 2014-08-01  Richard Henderon  <rth@redhat.com>
38307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38308         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38309         typo in exact zero test.
38310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38311         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38314 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38316         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38317         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38318         * sysdeps/arm/sysdep.h: ... here.
38319         [!__ASSEMBLER__]: Include <stdint.h>.
38321 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38323         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38324         (HAVE_WCTYPE_H): Likewise.
38325         (HAVE_ISWCTYPE): Likewise.
38326         (ENABLE_NLS): Likewise.
38327         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38328         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38330         * posix/regex_internal.c: Check if DEBUG is defined and is
38331         set.
38333         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38334         (HAVE_MBSRTOWCS): Likewise.
38335         * posix/fnmatch.c: Include string.h unconditionally.
38337 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38339         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38340         reversal.
38342 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38344         * sysdeps/generic/safe-fatal.h: New file.
38345         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38346         * nptl/forward.c: Include it.
38347         (__pthread_unwind): Use __safe_fatal as default action, rather
38348         than a bogus use of INTERNAL_SYSCALL that could never work.
38350         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38351         * configure.ac (libc_cv_builtin_trap): New test.
38352         * configure: Regenerated.
38353         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38354         (ABORT_INSTRUCTION): Define using __builtin_trap.
38356         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38357         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38358         * sysdeps/nptl/nptl-signals.h: New file.
38359         * nptl/pthreadP.h: Include <nptl-signals.h>.
38361 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38363         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38364         (ONE_DIRECTION): Define.
38365         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38366         (ONE_DIRECTION): Define.
38367         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38368         (ONE_DIRECTION): Define.
38370 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38372         * sysdeps/s390/Makefile: Delete file.
38373         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38374         * sysdeps/s390/__longjmp.c: Delete file.
38375         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38376         Remove fields __flags and __reserved.
38377         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38378         and add versioning.
38379         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38380         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38381         * sysdeps/s390/rtld-setjmp.S: Likewise.
38382         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38383         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38384         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38385         * sysdeps/s390/s390-32/setjmp.S: ... here.
38386         Add versioning.
38387         (__sigsetjmp): Remove setting __flags field.
38388         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38389         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38390         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38391         * sysdeps/s390/s390-64/setjmp.S: ... here.
38392         Add versioning.
38393         (__sigsetjmp): Remove setting __flags field.
38394         * sysdeps/s390/setjmp.S: Delete file.
38395         * sysdeps/s390/sigjmp.c: Likewise.
38396         * sysdeps/s390/v1-longjmp.c: Likewise.
38397         * sysdeps/s390/v1-setjmp.h: Likewise.
38398         * sysdeps/s390/v1-sigjmp.c: Likewise.
38399         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38400         Remove v1-longjmp_chk.
38401         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38402         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38403         Include debug/longjmp_chk.c and add versioning.
38404         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38405         Include nptl/pt-longjmp.c and add versioning.
38406         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38407         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38408         Include __longjmp.c.
38409         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38410         Move to ...
38411         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38412         (__getcontext): Remove setting __flags field.
38413         Add versioning.
38414         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38415         Don't restore upper high grps.
38416         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38417         Likewise.
38418         (__swapcontext): Remove setting uc_flags field.
38419         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38420         Delete file.
38421         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38422         Include __longjmp.c.
38423         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38424         Move to ...
38425         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38426         (__getcontext): Remove setting __flags field.
38427         Add versioning.
38428         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38429         (__swapcontext): Remove setting uc_flags field.
38430         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38432         Remove fields uc_high_gprs and __reserved.
38433         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38434         New file with reverted content.
38435         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38436         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38437         Regenerated.
38438         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38439         Regenerated.
38441 2014-07-31  Andreas Schwab  <schwab@suse.de>
38443         * config.h.in (HAVE_IFUNC): Define to 0.
38444         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38445         definedness.
38447 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38450         memmove-avx-unaligned, memcpy-avx-unaligned and
38451         mempcpy-avx-unaligned.
38452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38453         Add tests for AVX memcpy functions.
38454         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38455         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38456         memcpy_chk.
38457         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38458         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38459         memmove_chk.
38460         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38461         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38462         mempcpy_chk.
38463         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38464         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38465         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38467 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38469         [BZ #17213]
38470         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38471         powerpc64le.
38473 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38475         [BZ #16839]
38476         * manual/llio.texi: Add section about open file description locks.
38477         * manual/examples/ofdlocks.c: Example of open file description
38478         lock usage.
38479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38480         F_OFD_SETLK, and F_OFD_SETLKW.
38482 2014-07-23  Allan McRae  <allan@archlinux.org>
38484         * po/es.po: Update Spanish translation from translation project.
38486 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38488         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38490 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38492         [BZ #17078]
38493         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38494         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38495         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38497 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38499         [BZ #17088]
38500         * math/fesetenv.c (__fesetenv)
38501         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38502         * math/feupdateenv.c (__feupdateenv)
38503         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38505         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38506         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38507         (__ASSUME_SOCKETCALL): Do not define.
38509         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38510         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38511         (__ASSUME_SOCKETCALL): Do not define.
38512         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38513         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38514         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38515         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38517         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38519         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38521         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38522         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38523         (__ASSUME_SOCKETCALL): Do not define.
38524         (__ASSUME_IPC64): Define unconditionally.
38525         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38526         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38527         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38528         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38529         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38530         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38531         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38532         Likewise.
38534         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38535         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38536         (__ASSUME_SOCKETCALL): Do not define.
38537         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38538         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38539         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38540         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38541         (__ASSUME_REQUEUE_PI): Define unconditionally.
38542         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38543         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38544         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38545         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38546         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38547         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38549         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38550         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38551         (__ASSUME_SOCKETCALL): Do not define.
38552         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38553         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38554         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38555         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38556         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38557         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38559         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38560         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38561         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38562         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38563         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38564         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38565         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38566         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38567         (__ASSUME_GETCPU_SYSCALL): Likewise.
38569         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38570         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38571         cases for individual architectures.
38572         * sysdeps/gnu/configure: Regenerated.
38573         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38574         LIBC_SLIBDIR_RTLDDIR.
38575         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38576         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38577         LIBC_SLIBDIR_RTLDDIR.
38578         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38580         LIBC_SLIBDIR_RTLDDIR.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38582         Regenerated.
38583         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38584         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38585         file.
38586         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38587         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38588         file.
38589         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38590         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38591         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38592         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38594         * sysdeps/aarch64/shlib-versions: Move to ...
38595         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38596         * sysdeps/alpha/shlib-versions: Move to ...
38597         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38598         * sysdeps/arm/shlib-versions: Move to ...
38599         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38600         * sysdeps/hppa/shlib-versions: Move all contents except for
38601         libgcc_s entry to ...
38602         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38603         entry from ...
38604         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38605         * sysdeps/ia64/shlib-versions: Move to ...
38606         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38607         entry from ...
38608         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38609         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38610         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38611         * sysdeps/microblaze/shlib-versions: Move to ...
38612         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38613         * sysdeps/mips/shlib-versions: Move to ...
38614         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38615         entry from ...
38616         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38617         * sysdeps/tile/shlib-versions: Move to ...
38618         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38619         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38620         from ...
38621         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38622         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38623         entry from ...
38624         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38626 2014-07-17  Will Newton  <will.newton@linaro.org>
38628         * sysdeps/arm/bits/atomic.h
38629         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38630         (__arch_compare_and_exchange_bool_16_int): Likewise.
38631         (__arch_compare_and_exchange_bool_64_int): Likewise.
38633         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38634         into an #else block.
38636 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38638         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38639         just Linux configurations.  Test empirically that the compiler sets
38640         __ARM_EABI__, rather than using the tuple to decide.
38641         * sysdeps/arm/preconfigure: Regenerated.
38642         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38643         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38644         contents appended ...
38645         * sysdeps/arm/configure.ac: ... here.
38646         * sysdeps/arm/configure: Regenerated.
38648 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38650         * nptl/pthread_kill.c: New file.
38651         * nptl/pthread_sigmask.c: New file.
38652         * nptl/pthread_sigqueue.c: New file.
38654         * sysdeps/nptl/lowlevellock.h: New file.
38655         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38656         * sysdeps/nptl/lowlevellock-futex.h: New file.
38658         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38659         Remove dead declarations.
38661 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38663         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38664         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38665         config-cflags-avx2.
38666         * sysdeps/x86_64/configure.ac: Likewise.
38667         * sysdeps/i386/configure: Regenerated.
38668         * sysdeps/x86_64/configure: Likewise.
38669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38670         memset-avx2 only if config-cflags-avx2 is yes.
38671         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38672         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38673         defined.
38674         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38675         only if HAVE_AVX2_SUPPORT is defined.
38676         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38678 2014-07-14  Alan Modra  <amodra@gmail.com>
38680         [BZ #17153]
38681         * elf/elf.h (DT_PPC64_NUM): Correct value.
38682         * NEWS: Add to fixed bug list.
38684 2014-07-13  Jim Meyering  <meyering@fb.com>
38686         [BZ 17150]
38687         regex: don't deref NULL upon heap allocation failure
38688         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38689         failure in one more place.
38690         To trigger the segfault, configure grep -with-included-regex,
38691         build it, and run these commands:
38692         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38694 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38696         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38698 2014-07-11  Richard Henderson  <rth@redhat.com>
38700         * sysdeps/aarch64/libm-test-ulps: Update.
38702 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38704         [BZ #17135]
38705         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38706         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38707         (__nptl_setxid): Initialize error member.  Call
38708         __nptl_setxid_error.
38709         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38710         * nptl/descr.h (struct xid_command): Add error member.
38711         * nptl/tst-setuid3.c: New file.
38712         * nptl/Makefile (tests): Add it.
38714 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38716         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38717         New define.
38718         (__lll_trylock): Use __lll_base_trylock.
38719         (__lll_cond_trylock): Likewise.
38721 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38723         * nptl/pthread_create.c (start_thread): Use atomic_or and
38724         lll_futex_wake directly rather than lll_robust_dead.
38725         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38726         (lll_robust_dead): Macro removed.
38727         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38728         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38729         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38730         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38731         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38732         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38733         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38734         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38735         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38736         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38737         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38738         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38739         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38740         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38741         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38743         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38744         Use atomic_compare_and_exchange_val_acq directly rather than
38745         lll_robust_trylock.
38746         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38747         (__lll_robust_trylock, lll_robust_trylock): Removed.
38748         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38749         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38750         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38751         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38752         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38753         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38754         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38755         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38756         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38757         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38759         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38760         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38761         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38763 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38765         * manual/locale.texi (Locale Names): New section documenting
38766         locale name syntax.  Adjust menu and node chaining accordingly.
38767         (Choosing Locale): Reference Locale Names, Locale Categories.
38768         Mention setting LC_ALL=C.  Reflect that name syntax is now
38769         documented.
38770         (Locale Categories): New section title.  Reference Locale Names.
38771         LC_ALL is an environment variable, but not a category.
38772         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38773         description, now in Locale Name.  Reference that section.  Locale
38774         name syntax is now documented.
38776 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38778         [BZ #17137]
38779         * locale/findlocale.c (name_present, valid_locale_name): New
38780         functions.
38781         (_nl_find_locale): Use the loc_name variable to store name
38782         candidates.  Call name_present and valid_locale_name to check and
38783         validate locale names.  Return an error if the locale is invalid.
38785 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38787         * locale/setlocale.c (setlocale): Use strdup for allocating
38788         composite name copy.
38790 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38792         Sync up with gnulib.
38793         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38794         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38795         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38796         and _GL_ARG_NONNULL.
38797         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38798         [!_LIBC]: Include code for Windows and Cygwin.
38799         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38800         Include prototype for int strerror_r.
38801         [!_LIBC] (is_open): New function.
38802         (flush_stdout): New function.
38803         (print_errno_message): Use it.
38804         (error): Likewise.
38805         (error_at_line): Likewise.
38806         (error_tail) Add function attribute macros.  Use
38807         __builtin_expect.
38809         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38811         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38813         * io/ftw.c: Include sys/param.h unconditionally.
38815         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38817         [BZ #17125]
38818         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38819         libc_freeres_ptr.
38820         (freecache): New function to free CACHE on exit.
38822         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38823         initialization.
38825 2014-07-09  David S. Miller  <davem@davemloft.net>
38827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38829         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38830         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38831         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38832         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38833         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38834         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38835         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38836         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38837         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38838         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38839         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38840         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38841         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38843 2014-07-09  Andreas Schwab  <schwab@suse.de>
38845         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38846         output.
38847         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38848         (do_test): Likewise.
38850         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38852 2014-07-09  Will Newton  <will.newton@linaro.org>
38854         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38855         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38856         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38857         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38858         * sysdeps/hppa/start.S (_start): Likewise.
38860 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38862         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38864         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38865         defined.
38867 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38869         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38870         after checking that it is non-NULL.
38872         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38874 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38876         * sysdeps/powerpc/memmove.c: Remove file.
38877         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38878         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38879         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38880         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38881         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38882         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38883         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38884         string memmove instead of removed powerpc one.
38886         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38887         [weak_alias]: Fix compiler warning due trailing data.
38888         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38889         [weak_alias]: Likewise.
38890         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38891         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38894         (__libc_ifunc_impl_list): Add memmove functions.
38896 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38898         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38899         Remove code.
38900         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38901         Likewise.
38902         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38903         Likewise.
38904         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38905         Likewise.
38906         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38907         Likewise.
38908         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38909         Likewise.
38910         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38911         Likewise.
38912         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38913         Likewise.
38914         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38915         Likewise.
38916         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38917         Likewise.
38918         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38919         Likewise.
38920         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38921         Likewise.
38922         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38923         Likewise.
38924         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38925         Likewise.
38926         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38927         Likewise.
38928         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38929         Likewise.
38930         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38931         Likewise.
38933 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38935         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38936         to avoid alignment traps in non-cacheable memory.
38937         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38940         multiarch objects.
38941         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38942         file: multiarch power7 memmove.
38943         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38944         multiarch default memmove.
38945         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38946         multiarch memove for powerpc32/power4.
38948         * string/bcopy.c: Use full path to include memmove.c.
38949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38950         multiarch objects.
38951         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38952         bcopy for powerpc64.
38953         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38954         bcopy for powerpc64.
38955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38956         and memmove implementations.
38957         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38958         optimized multiarch memmove for POWER7/powerpc64.
38959         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38960         default multiarch memmove for powerpc64.
38961         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38962         multiarch for powerpc64.
38963         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38964         for POWER7/powerpc64.
38965         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38966         memmove for POWER7/powerpc64.
38968         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38969         glibc default one.
38971         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38972         __ELF_NATIVE_CLASS equal to 64.
38974 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38976         * sysdeps/nptl/lowlevellock.h: File removed.
38978         * NEWS: NPTL is no longer an add-on!
38979         * nptl/internaltypes.h: Moved ...
38980         * sysdeps/nptl/internaltypes.h: ... here.
38981         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38982         * sysdeps/nptl/fork.c: Likewise.
38983         * sysdeps/nptl/gai_misc.h: Likewise.
38984         * sysdeps/nptl/librt-cancellation.c: Likewise.
38985         * sysdeps/nptl/jmp-unwind.c: Likewise.
38986         * sysdeps/nptl/setxid.h: Likewise.
38987         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38988         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38989         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38990         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38991         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38992         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38993         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38994         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38995         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38996         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38997         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38998         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38999         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39000         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39001         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39002         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39003         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39004         * nptl/Makeconfig: Moved ...
39005         * sysdeps/nptl/Makeconfig: ... here.
39006         * nptl/configure: File removed.
39007         * nptl/ANNOUNCE: File removed.
39008         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39009         * sysdeps/unix/sysv/linux/configure: Regenerated.
39011         * nptl/Makefile (routines): Add libc_pthread_init,
39012         libc_multiple_threads, register-atfork and unregister-atfork.
39013         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39014         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39015         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39016         pthread-pi-defines.sym, structsem.sym.
39017         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39018         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39019         [$(subdir) = nptl] (tests): Add tst-setgetname.
39020         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39021         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39022         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39023         [!LIBC_SIGACTION]: Remove aliases.
39024         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39025         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39026         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39027         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39028         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39029         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39032         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39033         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39034         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39035         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39036         __libc_allocate_rtsig_private.
39037         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39038         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39039         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39040         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39041         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39042         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39043         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39044         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39045         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39046         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39047         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39048         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39049         * nptl/internaltypes.h: ... here.
39050         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39051         * sysdeps/nptl/jmp-unwind.c: ... here.
39052         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39053         * nptl/libc-lowlevellock.c: ... here.
39054         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39055         * nptl/libc_multiple_threads.c: ... here.
39056         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39057         * nptl/libc_pthread_init.c: ... here.
39058         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39059         * nptl/lowlevelbarrier.sym: ... here.
39060         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39061         * nptl/lowlevelcond.sym: ... here.
39062         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39063         * nptl/lowlevellock.c: ... here.
39064         * nptl/lowlevellock.h: Moved ...
39065         * sysdeps/nptl/lowlevellock.h: ... here.
39066         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39067         * nptl/lowlevelrobustlock.c: ... here.
39068         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39069         * nptl/lowlevelrobustlock.sym: ... here.
39070         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39071         * nptl/lowlevelrwlock.sym: ... here.
39072         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39073         * nptl/pt-fork.c: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39075         * nptl/pthread-pi-defines.sym: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39077         * nptl/pthread_attr_getaffinity.c: ... here.
39078         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39079         * nptl/pthread_attr_setaffinity.c: ... here.
39080         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39081         * nptl/pthread_mutex_cond_lock.c: ... here.
39082         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39083         Update #include.
39084         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39085         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39086         * nptl/pthread_once.c: ... here, replacing old file.
39087         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39088         * nptl/pthread_yield.c: ... here.
39089         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39090         * nptl/register-atfork.c: ... here.
39091         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39092         * nptl/sem_post.c: ... here.
39093         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39094         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39095         * nptl/sem_timedwait.c: ... here.
39096         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39097         * nptl/sem_trywait.c: ... here.
39098         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39099         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39100         * nptl/sem_wait.c: ... here.
39101         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39102         * nptl/structsem.sym: ... here.
39103         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39104         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39105         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39106         * nptl/unregister-atfork.c: ... here.
39107         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39108         * nptl/unwindbuf.sym: ... here.
39109         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39110         * sysdeps/nptl/fork.c: ... here.
39111         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39112         * sysdeps/nptl/fork.h: ... here.
39113         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39114         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39115         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39116         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39117         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39118         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39119         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39120         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39121         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39122         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39123         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39124         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39125         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39126         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39127         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39128         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39129         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39130         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39131         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39132         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39133         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39134         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39135         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39137         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39139         * sysdeps/unix/sysv/linux/raise.c: ... here.
39140         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39141         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39142         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39143         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39144         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39145         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39146         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39147         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39148         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39149         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39150         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39151         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39152         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39153         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39154         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39156 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39158         * sysdeps/generic/memcopy.h: Add comment for
39159         MEMCPY_OK_FOR_FWD_MEMMOVE.
39161 2014-07-04  Will Newton  <will.newton@linaro.org>
39163         * string/memchr.c: Merge from gnulib.
39164         [_LIBC]: Remove conditionals.
39165         (__ptr_t): Remove define.
39166         (LONG_MAX_32_BITS): Likewise.
39167         (LONG_MAX): Likewise.
39168         (MEMCHR): Use ANSI prototype and optimize algorithm.
39170         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39172 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39174         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39175         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39177         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39178         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39179         in a bare environment with no <stdlib.h> installed.
39180         * sysdeps/nptl/configure: Regenerated.
39182         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39184         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39185         AC_EGREP_CPP for kernel header checks, so they only succeed if
39186         including <linux/version.h> actually works right.
39187         * sysdeps/unix/sysv/linux/configure: Regenerated.
39189         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39190         value so it's not diagnosed as unused.
39192         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39193         thing) with "ifeq ($(subdir),rt)".
39195 2014-07-03  Richard Henderson  <rth@redhat.com>
39197         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39198         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39199         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39201         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39202         (math_force_eval): New.
39204         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39205         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39207         * sysdeps/alpha/fpu/s_round.c: Remove file.
39208         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39210         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39211         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39212         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39213         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39214         (_dl_start, print_statistics): Likewise.
39215         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39216         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39218         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39219         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39220         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39221         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39222         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39223         (HP_SMALL_TIMING_AVAIL): Define.
39224         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39225         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39226         (HP_SMALL_TIMING_AVAIL): Define.
39227         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39228         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39230         * sysdeps/aarch64/hp-timing.h: New file.
39232         * sysdeps/generic/hp-timing.h: Remove dead comment.
39233         * sysdeps/generic/hp-timing-common.h: New file.
39234         * sysdeps/alpha/hp-timing.h: Include it.
39235         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39236         * sysdeps/i386/i686/hp-timing.h: Likewise.
39237         * sysdeps/ia64/hp-timing.h: Likewise.
39238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39239         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39240         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39241         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39242         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39243         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39244         (hp_timing_t): New.
39246         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39247         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39248         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39249         * elf/rtld.c (_dl_start_final): Likewise.
39250         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39251         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39252         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39253         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39254         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39255         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39256         (HP_TIMING_DIFF_INIT): Remove.
39257         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39258         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39259         (HP_TIMING_DIFF_INIT): Remove.
39260         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39261         * sysdeps/i386/i686/hp-timing.c: Remove file.
39262         * sysdeps/x86_64/hp-timing.c: Remove file.
39263         * sysdeps/ia64/hp-timing.c: Remove file.
39264         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39265         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39266         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39267         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39269         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39270         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39271         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39272         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39273         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39274         (HP_TIMING_ACCUM): Remove.
39275         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39276         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39277         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39279         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39280         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39281         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39282         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39283         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39284         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39285         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39286         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39288         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39290 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39292         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39294 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39296         Sync up with gettext.
39297         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39298         [_MSC_VER]: Include malloc.h
39299         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39300         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39301         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39302         TEMP_FAILURE_RETRY.  Cast return of alloca.
39303         [!_LIBC] Call gl_rwlock_init.
39304         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39306 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39308         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39309         before checking its value.
39311 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39313         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39315         * debug/memcpy_chk.c: Don't include pagecopy.h.
39316         * debug/mempcpy_chk.c: Likewise.
39317         * string/memcpy.c: Likewise.
39318         * string/memmove.c: Likewise.
39319         * sysdeps/powerpc/memmove.c: Likewise.
39320         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39321         definition of PAGE_COPY_FWD_MAYBE here...
39322         * sysdeps/generic/pagecopy.h: ... from here.
39323         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39325 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39326             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39328         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39330         optimizations.
39331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39332         (__libc_ifunc_impl_list): Likewise.
39333         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39334         multiarch strcat for PPC64.
39335         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39336         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39338 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39340         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39342 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39344         * intl/loadmsgcat.c: Remove declaration of
39345         get_sysdep_segment_value.
39346         (get_sysdep_segment_value): Use ISO C style.
39347         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39348         semicolon.  Fix typo and formatting in comment.
39349         (_nl_unload_domain): Use ISO C style.
39351         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39353 2014-07-02  Will Newton  <will.newton@linaro.org>
39355         * malloc/obstack.c: Merge from gnulib master.
39356         [HAVE_CONFIG_H]: Remove conditional code.
39357         [!_LIBC]: Include config.h.
39358         [!ELIDE_CODE]: Don't include inttypes.h, include
39359         stdint.h unconditionally.
39360         (print_and_abort): Mark as _Noreturn.
39361         (_obstack_allocated_p): Mark as __attribute_pure__.
39362         (obstack_free): Rename to __obstack_free.
39363         [!__attribute__]: Remove conditional code.
39364         * malloc/obstack.h: Merge from gnulib master.
39365         [__cplusplus]: Move conditional down.
39366         [!__attribute_pure__]: Define __attribute_pure__ here
39367         if it is not already defined.
39368         (_obstack_memory_used): Mark as __attribute_pure__.
39369         [!__obstack_free]: Define as obstack_free.
39370         [__GNUC__]: Remove check for ancient NeXT gcc.
39372 2014-07-02  Will Newton  <will.newton@linaro.org>
39373             Paul Eggert  <eggert@cs.ucla.edu>
39375         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39377 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39379         * resolv/gethnamaddr.c: Add comment warning that the file is
39380         not maintained.
39382 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39384         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39385         entries.
39387         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39388         entry for aio_cancel and aio_cancel64.
39389         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39390         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39391         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39392         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39393         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39394         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39395         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39396         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39397         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39398         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39399         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39400         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39401         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39403 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39405         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39406         * nptl/pthread_mutex_lock.c: Likewise.
39407         * nptl/pthread_mutex_timedlock.c: Likewise.
39408         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39410 2014-07-01  Richard henderson  <rth@redhat.com>
39412         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39413         (__isnan, __isnanl): Remove.
39414         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39416         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39418 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39420         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39422 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39424         * resolv/nss_dns/dns-host.c (getanswer_r)
39425         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39427 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39429         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39430         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39431         undefine.
39432         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39433         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39435 2014-07-01  Roland McGrath <roland@hack.frob.com>
39437         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39438         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39440         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39441         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39443         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39444         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39445         ... here.
39446         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39447         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39449         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39450         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39451         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39452         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39454         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39455         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39456         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39457         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39458         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39459         Moved ...
39460         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39461         ... here.
39462         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39463         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39464         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39465         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39466         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39467         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39468         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39469         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39470         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39471         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39472         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39473         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39474         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39475         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39476         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39477         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39478         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39479         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39480         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39481         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39482         ... here.
39483         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39484         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39485         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39486         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39487         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39488         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39489         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39490         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39492 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39494         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39495         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39496         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39497         Add sysdep.
39499 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39503 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39505         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39506         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39508         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39510         * sysdeps/arm/libm-test-ulps: Regenerated.
39512 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39513             Roland McGrath <roland@hack.frob.com>
39515         * test-skeleton.c (signal_handler): Kill the whole process group
39516         before killing the child individually.
39517         (main): Report any failure on `setpgid'.
39519 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39521         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39522         from _TLS_H to _ARM_NPTL_TLS_H.
39523         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39524         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39526 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39528         [BZ #16539]
39529         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39530         (__expm1l): Return argument unchanged when small but not
39531         subnormal.
39533         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39534         include macro name.
39535         (_FP_UNPACK_RAW_1_P): Likewise.
39536         (_FP_PACK_RAW_1): Likewise.
39537         (_FP_PACK_RAW_1_P): Likewise.
39538         (_FP_MUL_MEAT_1_wide): Likewise.
39539         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39540         (_FP_MUL_MEAT_1_hard): Likewise.
39541         (_FP_DIV_MEAT_1_imm): Likewise.
39542         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39543         (_FP_DIV_MEAT_1_udiv): Likewise.
39544         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39545         (_FP_UNPACK_RAW_2): Likewise.
39546         (_FP_UNPACK_RAW_2_P): Likewise.
39547         (_FP_PACK_RAW_2): Likewise.
39548         (_FP_PACK_RAW_2_P): Likewise.
39549         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39550         (_FP_MUL_MEAT_2_wide): Likewise.
39551         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39552         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39553         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39554         (_FP_MUL_MEAT_2_gmp): Likewise.
39555         (_FP_DIV_MEAT_2_udiv): Likewise.
39556         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39557         (_FP_FRAC_SRL_4): Likewise.
39558         (_FP_FRAC_SRST_4): Likewise.
39559         (_FP_FRAC_SRS_4): Likewise.
39560         (_FP_UNPACK_RAW_4): Likewise.
39561         (_FP_UNPACK_RAW_4_P): Likewise.
39562         (_FP_PACK_RAW_4): Likewise.
39563         (_FP_PACK_RAW_4_P): Likewise.
39564         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39565         (_FP_MUL_MEAT_4_wide): Likewise.
39566         (_FP_MUL_MEAT_4_gmp): Likewise.
39567         (umul_ppppmnnn): Likewise.
39568         (_FP_DIV_MEAT_4_udiv): Likewise.
39569         (__FP_FRAC_ADD_4): Likewise.
39570         (__FP_FRAC_SUB_3): Likewise.
39571         (__FP_FRAC_SUB_4): Likewise.
39572         (__FP_FRAC_DEC_3): Likewise.
39573         (__FP_FRAC_DEC_4): Likewise.
39574         (__FP_FRAC_ADDI_4): Likewise.
39575         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39576         (_FP_FRAC_SRL_8): Likewise.
39577         (_FP_FRAC_SRS_8): Likewise.
39579         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39580         include macro name.
39581         (FP_UNPACK_RAW_EP): Likewise.
39582         (FP_PACK_RAW_E): Likewise.
39583         (FP_PACK_RAW_EP): Likewise.
39584         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39585         (_FP_ISSIGNAN): Likewise.
39586         (_FP_ADD_INTERNAL): Likewise.
39587         (_FP_FMA): Likewise.
39588         (_FP_CMP): Likewise.
39589         (_FP_SQRT): Likewise.
39590         (_FP_TO_INT): Likewise.
39591         (_FP_FROM_INT): Likewise.
39592         (FP_EXTEND): Likewise.
39593         (_FP_DIV_MEAT_N_loop): Likewise.
39595 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39597         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39598         throughout.
39600 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39602         [BZ #17097]
39603         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39604         result with correct sign in case of exponents that produce
39605         overflow except for X very close to 1.
39607 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39609         mktime: merge #if/#ifdef usage from glibc
39610         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39611         as that works with both Glibc's and Gnulib's style.
39612         See thread starting at Siddhesh Poyarekar's bug report at:
39613         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39615 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39617         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39618         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39619         * sysdeps/tile/tilegx/memmove.c: Remove file.
39621 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39623         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39624         abi-name definition.
39625         * scripts/soversions.awk: Do not handle or generate ABI lines.
39626         * shlib-versions: Remove ABI entries.
39627         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39628         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39630 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39633         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39634         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39635         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39636         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39637         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39639         Moved ...
39640         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39641         ... here.
39642         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39643         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39645         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39647         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39649         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39651         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39653         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39655         Moved ...
39656         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39658         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39660         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39662         Moved ...
39663         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39665         Moved ...
39666         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39667         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39668         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39670         Moved ...
39671         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39673         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39675         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39677         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39679         Moved ...
39680         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39681         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39682         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39683         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39684         Moved ...
39685         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39687         Moved ...
39688         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39689         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39690         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39691         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39692         Moved ...
39693         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39694         ... here.
39695         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39696         Identical file removed.
39697         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39698         Moved ...
39699         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39701         Identical file removed.
39702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39703         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39704         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39705         Moved ...
39706         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39707         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39708         Identical file removed.
39709         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39710         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39711         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39712         Identical file removed.
39713         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39714         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39716         Identical file removed.
39717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39718         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39719         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39720         Identical file removed.
39721         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39722         Moved ...
39723         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39724         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39725         Identical file removed.
39726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39727         Moved ...
39728         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39729         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39730         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39732         Identical file removed.
39733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39734         Moved ...
39735         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39736         ... here.
39737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39738         Identical file removed.
39739         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39740         Moved ...
39741         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39743         Identical file removed.
39744         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39745         Moved ...
39746         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39748         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39749         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39750         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39752         Moved ...
39753         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39754         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39755         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39757         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39758         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39759         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39760         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39761         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39763 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39765         [BZ #17092]
39766         * nscd/nscd.c (monitor_child): Return exit status of child
39767         instead of return value from wait syscall.
39769 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39771         * configure.ac (libc_commonpagesize): Remove variable.
39772         (libc_relro_required): Likewise.
39773         (libc_cv_z_relro): Remove configure test.
39774         * configure: Regenerated.
39775         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39776         variable.
39777         (libc_relro_required): Likewise.
39778         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39779         (libc_relro_required): Likewise.
39780         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39781         (libc_relro_required): Likewise.
39782         * sysdeps/arm/preconfigure: Regenerated.
39783         * sysdeps/ia64/preconfigure: Remove file.
39784         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39785         variable.
39786         (libc_relro_required): Likewise.
39788         [BZ #16561]
39789         [BZ #16562]
39790         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39791         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39792         recompute overflowing results in original rounding mode.
39793         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39794         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39795         recompute overflowing results in original rounding mode.
39796         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39797         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39798         recompute overflowing results in original rounding mode.
39799         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39800         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39801         recompute overflowing results in original rounding mode.
39802         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39803         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39804         recompute overflowing results in original rounding mode.
39805         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39806         (libc_feholdsetround_ctx): New macro.
39807         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39808         * sysdeps/i386/fpu/libm-test-ulps: Update.
39809         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39811 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39813         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39814         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39815         corresponding .cpsetup call.
39817 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39819         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39820         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39821         * sysdeps/arm/Makefile [$(subdir) = csu]
39822         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39823         (static-only-routines): Add aeabi_read_tp here.
39824         (shared-only-routines): Add libc-aeabi_read_tp here.
39825         (CFLAGS-libc-start.c): Add -fexceptions here.
39826         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39827         (sysdep_routines, static-only-routines, shared-only-routines):
39828         Don't add to these here.
39829         (CFLAGS-libc-start.c): Likewise.
39831         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39832         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39833         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39834         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39835         * sysdeps/arm/Makefile [$(subdir) = rt]
39836         (librt-sysdep_routines, librt-shared-only-routines):
39837         Append rt-aeabi_unwind_cpp_pr1 here.
39838         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39839         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39840         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39841         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39842         Append nptl-aeabi_unwind_cpp_pr1 here.
39843         (tests): Filter out tst-cleanupx4 here.
39844         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39845         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39846         Don't do those here.
39848 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39850         * scripts/list-sources.sh: Do not handle ports specially.
39852 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39854         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39855         * sysdeps/arm/feupdateenv.c: Likewise.
39857         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39859 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39861         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39862         trailing whitespace removed.
39863         * scripts/config.guess: Update to version 2014-03-23.
39864         * scripts/config.sub: Update to version 2014-05-01
39865         * scripts/install-sh: Update to version 2013-12-25.23.
39866         * scripts/move-if-change: Update from gnulib.
39868 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39870         * debug/memmove_chk.c: Remove pagecopy.h include.
39872 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39874         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39875         identical to gnulib mktime.
39877 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39879         * configure.ac: Do not test for machine being rs6000.  Do not test
39880         for powerpc*-*soft.
39881         * configure: Regenerated.
39883         [BZ #11505]
39884         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39885         test.
39886         * configure: Regenerated.
39887         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39888         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39889         Remove configure test.
39890         * sysdeps/arm/configure: Regenerated.
39891         * sysdeps/nptl/configure.ac: Do not check
39892         libc_cv_asm_cfi_directives.
39893         * sysdeps/nptl/configure: Regenerated.
39894         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39895         * sysdeps/x86_64/nptl/configure: Remove generated file.
39896         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39897         unconditional.
39898         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39900 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39902         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39903         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39904         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39905         it is defined.
39907         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39908         instead of whether it is defined.
39909         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39910         * sysdeps/hppa/dl-machine.h: Likewise.
39911         * sysdeps/ia64/dl-machine.h: Likewise.
39912         * sysdeps/m68k/dl-machine.h: Likewise.
39913         * sysdeps/microblaze/dl-machine.h: Likewise.
39914         * sysdeps/mips/dl-machine.: Likewise.
39915         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39916         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39917         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39918         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39919         * sysdeps/sh/dl-machine.h: Likewise.
39920         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39921         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39922         * sysdeps/tile/dl-machine.h: Likewise.
39923         * sysdeps/x86_64/dl-machine.h: Likewise.
39925         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39926         code.
39927         (verify_persistent_db): Likewise.
39929 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39932         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39934         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39936         Moved ...
39937         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39938         ... here.
39939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39940         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39942         Identical file removed.
39943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39944         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39946         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39948         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39950         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39952         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39954         Moved ...
39955         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39957         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39959         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39961         Moved ...
39962         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39964         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39966         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39968         Identical file removed.
39969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39970         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39972         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39974         Moved ...
39975         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39976         ... here.
39977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39978         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39980         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39982         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39984         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39986         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39988         Moved ...
39989         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39991         Moved ...
39992         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39994         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39996         Moved ...
39997         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39999         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40001         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40002         folded into ...
40003         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40004         * sysdeps/unix/sysv/linux/s390/Versions
40005         (libpthread: GLIBC_2.19): New version set.
40006         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40007         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40008         (librt: GLIBC_2.3.3): New version set.
40009         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40010         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40011         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40012         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40013         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40014         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40015         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40016         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40017         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40018         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40019         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40020         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40021         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40022         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40023         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40024         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40025         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40026         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40027         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40028         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40029         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40030         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40031         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40032         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40033         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40034         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40035         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40037         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40039         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40040         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40042         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40044         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40045         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40047         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40049         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40051         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40053         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40055         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40056         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40057         (__libc_vfork): Define the function under this name.
40058         [!NOT_IN_libc] (__vfork): Make this an alias.
40059         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40061         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40062         (__libc_vfork): Define the function under this name.
40063         [!NOT_IN_libc] (__vfork): Make this an alias.
40064         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40065         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40066         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40067         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40068         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40069         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40071         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40072         code that was previously under [RESET_PID].
40073         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40074         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40075         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40077         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40078         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40079         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40080         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40081         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40082         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40083         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40084         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40085         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40086         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40087         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40088         Moved ...
40089         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40090         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40091         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40092         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40093         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40094         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40095         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40096         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40097         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40098         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40099         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40100         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40101         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40102         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40103         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40104         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40105         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40106         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40107         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40108         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40109         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40110         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40111         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40112         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40113         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40114         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40115         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40116         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40117         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40119 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40121         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40122         that was previously under [RESET_PID].
40123         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40125 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40127         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40128         not undefine and redefine.
40129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40130         [O_CLOEXEC]: Make code unconditional.
40131         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40132         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40133         <kernel-features.h>.
40134         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40135         conditional variable definition.
40136         (shm_open) [O_CLOEXEC]: Make code unconditional.
40137         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40138         code.
40140         * configure.ac (USE_REGPARMS): Don't define here.
40141         * configure: Regenerated.
40142         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40143         * sysdeps/i386/configure: Regenerated.
40145         * nptl/createthread.c: Don't include kernel-features.h.
40146         * nptl/pthread_cancel.c: Likewise.
40147         * nptl/pthread_condattr_setclock.c: Likewise.
40148         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40149         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40150         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40151         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40152         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40153         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40154         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40157         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40158         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40159         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40160         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40161         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40162         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40163         * nscd/gai.c: Likewise.
40164         * nss/nss_db/db-open.c: Likewise.
40165         * sysdeps/generic/ldsodefs.h: Likewise.
40166         * sysdeps/sh/nptl/tls.h: Likewise.
40167         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40168         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40169         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40170         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40171         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40172         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40173         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40174         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40175         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40176         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40177         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40178         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40179         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40180         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40181         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40182         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40183         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40184         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40185         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40186         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40187         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40188         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40189         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40190         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40195         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40196         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40197         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40198         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40199         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40200         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40201         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40202         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40203         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40204         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40205         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40206         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40207         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40208         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40209         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40210         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40211         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40212         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40213         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40214         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40215         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40216         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40217         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40218         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40219         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40220         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40221         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40222         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40223         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40224         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40247         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40248         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40249         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40250         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40251         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40252         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40253         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40254         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40255         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40256         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40257         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40258         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40259         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40260         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40261         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40262         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40263         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40264         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40265         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40266         * sysdeps/unix/sysv/linux/system.c: Likewise.
40267         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40268         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40269         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40270         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40271         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40272         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40273         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40275         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40276         * configure: Regenerated.
40277         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40279         * configure.ac (base_machine): Do not set specially for particular
40280         machines here.
40281         * configure: Regenerated.
40282         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40283         settings from configure.ac.
40284         * sysdeps/i386/preconfigure: New file.
40285         * sysdeps/s390/preconfigure: Likewise.
40286         * sysdeps/sh/preconfigure: Likewise.
40287         * sysdeps/sparc/preconfigure: Likewise.
40289 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40291         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40292         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40293         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40294         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40295         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40296         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40297         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40298         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40299         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40300         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40301         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40302         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40303         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40304         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40305         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40306         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40307         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40308         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40309         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40311         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40312         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40313         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40314         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40315         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40316         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40317         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40318         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40319         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40320         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40321         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40322         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40323         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40324         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40325         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40326         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40327         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40328         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40329         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40330         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40331         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40332         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40333         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40334         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40335         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40336         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40337         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40338         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40339         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40340         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40341         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40342         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40343         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40344         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40345         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40346         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40347         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40348         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40351         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40353         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40355         Moved ...
40356         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40357         ... here.
40358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40359         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40361         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40363         Moved ...
40364         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40366         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40368         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40370         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40372         Moved ...
40373         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40375         Moved ...
40376         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40378         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40380         Moved ...
40381         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40383         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40385         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40387         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40389         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40391         Moved ...
40392         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40393         ... here.
40394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40397         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40399         Moved ...
40400         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40402         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40404         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40406         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40408         Moved ...
40409         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40411         Moved ...
40412         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40414         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40416         Moved ...
40417         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40419         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40421         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40423 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40425         * timezone/checktab.awk: Update from tzcode 2014e.
40426         * timezone/private.h: Likewise.
40427         * timezone/tzfile.h: Likewise.
40428         * timezone/zdump.c: Likewise.
40429         * timezone/zic.c: Likewise.
40431         * sysdeps/unix/sysv/linux/kernel-features.h
40432         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40433         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40434         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40435         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40436         Remove conditional code.
40438 2014-06-25  Will Newton  <will.newton@linaro.org>
40440         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40441         (_dl_arm_cap_flags): Add HWCAP2 values.
40442         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40443         (_DL_HWCAP_COUNT): Increase to 37.
40444         (_DL_HWCAP_LAST): New define.
40445         (_DL_HWCAP2_LAST): New define.
40446         (_dl_procinfo): Add support for printing
40447         AT_HWCAP2 entries.
40448         (_dl_string_hwcap): Use _dl_hwcap_string.
40450 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40454 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40456         * README: Do not mention ports directory.
40458         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40459         Remove macro.
40460         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40461         <kernel-features.h>.
40462         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40463         conditional variable definition.
40464         (__futimes): Update comment.
40465         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40466         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40468         [BZ #16560]
40469         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40470         arguments close to 0.
40471         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40472         Likewise.
40473         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40474         Likewise.
40475         * math/auto-libm-test-in: Add more tests of exp10.
40476         * math/auto-libm-test-out: Regenerated.
40477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40479         * sysdeps/unix/sysv/linux/kernel-features.h
40480         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40481         * sysdeps/unix/sysv/linux/readv.c: Do not include
40482         <kernel-features.h>.
40483         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40484         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40485         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40486         unconditional.
40487         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40488         conditional code.
40489         * sysdeps/unix/sysv/linux/writev.c: Do not include
40490         <kernel-features.h>.
40491         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40492         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40493         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40494         unconditional.
40495         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40496         conditional code.
40498 2014-06-25  Will Newton  <will.newton@linaro.org>
40500         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40501         comment changes throughout the file.  Remove checks
40502         for HAVE_*_H definitions that are not required.
40503         (__gen_tempname): Call abort if an unknown kind value is
40504         passed.
40506 2014-06-25  Andreas Schwab  <schwab@suse.de>
40508         [BZ #17086]
40509         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40510         scalbln, scalblnf, scalblnl in libc.
40512 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40514         [BZ #17086]
40515         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40516         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40517         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40519 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40521         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40522         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40523         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40524         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40525         Update #include.
40526         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40527         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40528         Update #include.
40529         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40530         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40531         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40532         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40533         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40534         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40535         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40536         * sysdeps/x86/bits/semaphore.h: ... here.
40537         * sysdeps/x86/nptl/elide.h: Moved ...
40538         * sysdeps/x86/elide.h: ... here.
40539         * sysdeps/x86_64/nptl/Implies: File removed.
40540         * sysdeps/i386/nptl/Implies: File removed.
40542 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40544         [BZ #16539]
40545         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40546         return the argument for normal arguments with exponent below -64.
40547         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40548         Likewise.
40549         * math/auto-libm-test-in: Add another test of expm1.
40550         * math/auto-libm-test-out: Regenerated.
40552         [BZ #16287]
40553         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40554         calling __erfcl for arguments at least 16.
40555         * math/auto-libm-test-in: Add more tests of erf.
40556         * math/auto-libm-test-out: Regenerated.
40558         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40559         individual architectures.
40560         * sysdeps/unix/sysv/linux/configure: Regenerated.
40561         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40562         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40563         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40564         (ldd_rewrite_script): Define variable.
40565         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40567         file.
40568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40569         generated file.
40570         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40571         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40572         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40573         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40574         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40575         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40576         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40577         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40579 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40581         [BZ #17084]
40582         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40583         Rename member __data.d to __data.__elision_data.
40585 2014-06-24  Wilco  <wdijkstr@arm.com>
40587         * NEWS: Add 16918 to fixed bug list.
40589 2014-06-24  Wilco  <wdijkstr@arm.com>
40591         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40593 2014-06-24  Wilco  <wdijkstr@arm.com>
40595         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40596         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40597         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40598         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40599         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40600         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40601         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40602         Use _FPU_MASK_RM.
40604 2014-06-24  Wilco  <wdijkstr@arm.com>
40606         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40608 2014-06-24  Wilco  <wdijkstr@arm.com>
40610         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40611         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40612         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40613         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40615 2014-06-24  Wilco  <wdijkstr@arm.com>
40617         [BZ #16918]
40618         * sysdeps/arm/feupdateenv.c (feupdateenv):
40619         Rewrite to reduce FPSCR accesses and fix return value.
40621 2014-06-24  Wilco  <wdijkstr@arm.com>
40623         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40624         Optimize to avoid unnecessary FPSCR writes.
40625         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40626         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40627         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40628         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40630 2014-06-24  Wilco  <wdijkstr@arm.com>
40632         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40633         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40634         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40635         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40636         Call libc_fetestexcept_vfp.
40637         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40638         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40639         __SOFTFP__ ifdef so that they can be built for softfp.
40641 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40643         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40644         argument type signed char.
40646         * Makerules (check-abi): Dump diff of symlist if the test
40647         fails.
40649 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40651         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40652         using abort.
40654         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40655         Remove unused variable ST.
40657 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40659         [BZ #16354]
40660         [BZ #17061]
40661         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40662         small arguments before calling __expm1.
40663         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40664         small arguments before calling __expm1f.
40665         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40666         small arguments before calling __expm1l.
40667         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40668         Likewise.
40669         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40670         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40671         spurious underflow for some cosh tests.
40672         * math/auto-libm-test-out: Regenerated.
40673         * sysdeps/i386/fpu/libm-test-ulps: Update.
40675         [BZ #17050]
40676         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40677         (__ieee754_y1): Set errno if return value overflows.
40678         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40679         (__ieee754_y1f): Set errno if return value overflows.
40680         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40681         (__ieee754_y1l): Set errno if return value overflows.
40682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40683         (__ieee754_y1l): Set errno if return value overflows.
40684         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40685         * math/auto-libm-test-out: Regenerated.
40687         * math/gen-auto-libm-tests.c: Document use of
40688         ignore-zero-inf-sign.
40689         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40690         (input_flags): Add ignore-zero-inf-sign.
40691         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40692         * math/gen-libm-test.pl (generate_testfile): Handle
40693         ignore-zero-inf-sign.
40694         * math/auto-libm-test-in: Mark some cpow tests with
40695         ignore-zero-inf-sign and some with xfail-rounding.
40696         * math/auto-libm-test-out: Regenerated.
40697         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40698         * sysdeps/i386/fpu/libm-test-ulps: Update.
40699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40701         [BZ #16315]
40702         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40703         overflowing or underflowing operations take place with sign of
40704         result.
40705         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40706         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40707         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40708         (__ieee754_pow): Recompute overflowing and underflowing results in
40709         original rounding mode.
40710         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40711         (__powl_helper): Allow negative argument X and scale negated value
40712         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40713         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40714         overflowing or underflowing operations take place with sign of
40715         result.
40716         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40717         Include <math.h>.
40718         * math/auto-libm-test-in: Add more tests of pow.
40719         * math/auto-libm-test-out: Regenerated.
40720         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40721         (pow_tonearest_test_data): Remove.
40722         (pow_test_tonearest): Likewise.
40723         (pow_towardzero_test_data): Likewise.
40724         (pow_test_towardzero): Likewise.
40725         (pow_downward_test_data): Likewise.
40726         (pow_test_downward): Likewise.
40727         (pow_upward_test_data): Likewise.
40728         (pow_test_upward): Likewise.
40729         (main): Don't call removed functions.
40730         * sysdeps/i386/fpu/libm-test-ulps: Update.
40731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40733 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40736         Moved ...
40737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40739         Moved ...
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40742         Moved ...
40743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40745         Moved ...
40746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40748         File removed.
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40750         File removed.
40751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40752         File removed.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40754         File removed.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40756         File removed.
40757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40758         File removed.
40759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40760         File removed.
40761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40762         File removed.
40763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40764         File removed.
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40766         File removed.
40767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40768         File removed.
40769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40770         File removed.
40771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40772         Moved ...
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40775         Moved ...
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40777         ... here.
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40779         Moved ...
40780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40782         Moved ...
40783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40785         Moved ...
40786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40788         Moved ...
40789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40791         Moved ...
40792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40794         Moved ...
40795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40797         Moved ...
40798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40801         ... here.
40802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40803         Moved ...
40804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40806         Moved ...
40807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40808         ... here.
40809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40810         Moved ...
40811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40812         ... here.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40814         Moved ...
40815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40816         ... here.
40817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40818         Moved ...
40819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40821         Moved ...
40822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40826         Moved ...
40827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40828         ... here.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40830         Moved ...
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40832         ... here.
40833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40834         Moved ...
40835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40837         Moved ...
40838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40840         Moved ...
40841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40843         Moved ...
40844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40846         Moved ...
40847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40848         ... here.
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40850         Moved ...
40851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40853         Moved ...
40854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40856         Moved ...
40857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40859         Moved ...
40860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40864         Moved ...
40865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40870         Moved ...
40871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40872         ... here.
40873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40874         Moved ...
40875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40876         ... here.
40877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40878         Moved ...
40879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40880         ... here.
40881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40882         Moved ...
40883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40885         Moved ...
40886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40888         Moved ...
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40891         Moved ...
40892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40893         ... here.
40894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40895         Moved ...
40896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40897         ... here.
40898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40899         Moved ...
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40901         ... here.
40902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40903         Moved ...
40904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40906         Moved ...
40907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40909 2014-06-23  Will Newton  <will.newton@linaro.org>
40910             Wilco  <wdijkstr@arm.com>
40912         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40913         implementation.  Include get-rounding-mode.h.
40914         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40915         [!libc_feholdsetround_noex_ctx]: Define
40916         libc_feholdsetround_noex_ctx.
40917         [!libc_feholdsetround_noexf_ctx]: Define
40918         libc_feholdsetround_noexf_ctx.
40919         [!libc_feholdsetround_noexl_ctx]: Define
40920         libc_feholdsetround_noexl_ctx.
40921         (libc_feholdsetround_ctx): New function.
40922         (libc_feresetround_ctx): New function.
40923         (libc_feholdsetround_noex_ctx): New function.
40924         (libc_feresetround_noex_ctx): New function.
40926 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40928         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40929         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40930         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40931         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40932         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40933         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40935         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40936         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40937         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40938         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40939         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40940         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40941         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40942         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40943         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40944         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40946         Moved ...
40947         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40948         ... here.
40949         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40950         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40952         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40954         Moved ...
40955         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40956         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40957         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40958         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40959         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40960         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40961         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40963         Moved ...
40964         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40966         Moved ...
40967         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40968         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40969         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40971         Moved ...
40972         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40973         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40974         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40975         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40976         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40977         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40978         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40979         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40980         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40981         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40982         Moved ...
40983         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40984         ... here.
40985         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40986         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40987         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40988         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40990         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40992         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40994         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40996         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40998         Moved ...
40999         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41000         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41001         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41002         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41003         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41004         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41005         Moved ...
41006         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41008         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41009         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41010         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41012         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41013         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41014         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41015         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41016         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41017         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41018         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41019         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41021         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41022         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41023         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41024         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41025         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41026         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41027         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41028         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41029         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41030         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41031         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41032         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41033         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41034         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41035         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41036         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41037         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41038         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41039         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41041 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41043         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41044         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41045         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41046         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41047         (IPV6_PMTUDISC_INTERFACE): Likewise.
41048         (IPV6_PMTUDISC_OMIT): Likewise.
41050 2014-06-23  Andreas Schwab  <schwab@suse.de>
41052         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41053         Remove unused errout label.
41055 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41057         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41058         macro: hardware supports Vector Crypto instructions.
41060 2014-06-23  Will Newton  <will.newton@linaro.org>
41062         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41063         rather than __builtin_expect.
41065         * elf/dl-lookup.c (undefined_msg): Remove variable.
41066         (_dl_lookup_symbol_x): Replace undefined_msg with string
41067         literal.
41069         * elf/dl-lookup.c (do_lookup_unique): New function.
41070         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41071         to a separate function.
41073 2014-06-23  Andreas Schwab  <schwab@suse.de>
41075         [BZ #17079]
41076         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41077         before reading the next line.
41079 2014-06-23  Will Newton  <will.newton@linaro.org>
41081         * test-skeleton.c (signal_handler): Use printf and %m
41082         rather than perror.  Use printf rather than fprintf to
41083         stderr.  Use puts rather than fputs to stderr.
41084         (main): Likewise.
41086 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41088         * nscd/nscd.c (thread_info_t): Remove typedef.
41089         (thread_info): Remove variable.
41091 2014-06-21  Allan McRae  <allan@archlinux.org>
41093         * NEWS: Mention CVE-2014-4043.
41095 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41097         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41098         * nptl/smp.h: ... here.
41100         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41102         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41103         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41104         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41105         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41107         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41108         * nptl/stack-aliasing.h: New file.
41109         * sysdeps/i386/i686/stack-aliasing.h: New file.
41110         * sysdeps/i386/i686/nptl/Makefile: File removed.
41111         * sysdeps/x86_64/stack-aliasing.h: New file.
41112         * sysdeps/x86_64/nptl/Makefile
41113         (CFLAGS-pthread_create.c): Variable removed.
41115         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41116         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41117         old file.
41118         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41119         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41120         old file.
41122 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41124         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41125         (__ASSUME_SIGFRAME_V2): Remove macro.
41126         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41127         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41128         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41129         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41130         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41131         Declare as function.  Remove conditional macro definitions.
41132         (__default_rt_sa_restorer): Likewise.
41133         (__default_sa_restorer_v1): Remove declaration.
41134         (__default_sa_restorer_v2): Likewise.
41135         (__default_rt_sa_restorer_v1): Likewise.
41136         (__default_rt_sa_restorer_v2): Likewise.
41137         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41138         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41139         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41141 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41143         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41144         (libpthread-routines): Add sysdep.
41145         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41146         * sysdeps/unix/sysv/linux/sparc/Versions
41147         (libpthread: GLIBC_2.3.3): New version set.
41148         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41149         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41150         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41151         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41152         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41153         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41154         Moved ...
41155         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41156         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41157         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41158         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41159         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41160         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41161         * sysdeps/sparc/nptl/sem_init.c: ... here.
41162         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41163         * sysdeps/sparc/nptl/sem_post.c: ... here.
41164         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41165         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41166         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41167         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41168         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41169         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41170         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41171         (libpthread-routines): Add cpu_relax.
41172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41173         File removed.
41174         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41175         (librt: GLIBC_2.3.3): New version set.
41176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41177         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41178         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41179         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41180         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41182         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41184         Moved ...
41185         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41187         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41189         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41191         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41193         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41195         Moved ...
41196         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41197         Update #include.
41198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41199         Moved ...
41200         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41201         Update #include.
41202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41203         Moved ...
41204         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41205         Update #include.
41206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41207         Moved ...
41208         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41209         Update #include.
41210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41211         Moved ...
41212         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41213         Update #include.
41214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41215         Moved ...
41216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41217         Update #include.
41218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41219         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41225         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41227         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41229         Moved ...
41230         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41232         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41234         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41236 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41238         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41239         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41240         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41241         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41242         * nscd/nscd.c: Likewise.
41243         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41244         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41245         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41246         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41248         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41249         <kernel-features.h>.
41250         (init_mq_netlink): Remove conditional have_sock_cloexec
41251         definitions.  Remove code conditional on have_sock_cloexec < 0.
41252         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41253         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41254         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41255         <kernel-features.h>.
41256         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41257         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41259 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41262         Add tests for memset_chk and memset.
41264         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41265         with AVX2_Usable.
41267 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41269         [BZ #16046]
41270         * elf/tst-dl-iter-static.c: New file.
41271         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41273         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41274         error.
41276 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41278         * sysdeps/unix/sysv/linux/kernel-features.h
41279         (__ASSUME_F_GETOWN_EX): Remove macro.
41280         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41281         <kernel-features.h>.
41282         (miss_F_GETOWN_EX): Remove variable or macro.
41283         (do_fcntl): Do not check miss_F_GETOWN_EX.
41284         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41286         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41287         Remove macro.
41288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41289         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41290         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41292         * sysdeps/unix/sysv/linux/kernel-features.h
41293         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41294         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41295         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41296         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41298 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41300         [BZ #17075]
41301         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41302         Fix calculation of the symbol's value.
41303         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41304         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41305         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41306         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41307         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41308         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41309         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41310         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41311         (modules-names): Add `tst-armtlsdescmod',
41312         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41313         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41314         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41315         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41316         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41317         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41318         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41319         ($(objpfx)tst-armtlsdescloc): New dependency.
41320         ($(objpfx)tst-armtlsdescextnow): Likewise.
41321         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41322         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41323         TLS scheme support.
41324         * sysdeps/arm/configure: Regenerate.
41326 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41328         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41329         (__atfct_seterrno_2): Likewise.
41330         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41331         <kernel-features.h>.
41332         (__ASSUME_ATFCTS): Do not undefine and redefine.
41333         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41334         (__have_atfcts): Remove conditional definition.
41335         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41336         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41337         unreachable if [__ASSUME_ATFCTS].
41338         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41339         not undefine and redefine.
41340         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41341         <kernel-features.h>.
41342         (faccessat) [__NR_faccessat]: Make code unconditional.
41343         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41344         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41345         <kernel-features.h>.
41346         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41347         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41348         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41349         <kernel-features.h>.
41350         (fchownat) [__NR_fchownat]: Make code unconditional.
41351         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41352         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41353         <kernel-features.h>.
41354         (futimesat) [__NR_futimesat]: Make code unconditional.
41355         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41356         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41357         <kernel-features.h>.
41358         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41359         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41360         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41361         <kernel-features.h>.
41362         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41363         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41364         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41365         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41366         <kernel-features.h>.
41367         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41368         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41369         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41370         <kernel-features.h>.
41371         (linkat) [__NR_linkat]: Make code unconditional.
41372         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41373         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41374         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41375         <kernel-features.h>.
41376         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41377         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41378         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41379         <kernel-features.h>.
41380         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41381         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41382         * sysdeps/unix/sysv/linux/openat.c: Do not include
41383         <kernel-features.h>.
41384         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41385         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41386         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41387         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41388         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41389         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41390         <kernel-features.h>.
41391         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41392         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41393         result of INLINE_SYSCALL directly, not via int variable.
41394         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41395         <kernel-features.h>.
41396         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41397         (renameat) [__NR_renameat]: Make code unconditional.
41398         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41399         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41400         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41401         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41402         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41403         (__ASSUME_ATFCTS): Do not undefine and redefine.
41404         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41405         <kernel-features.h>.
41406         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41407         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41408         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41409         <kernel-features.h>.
41410         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41411         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41412         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41413         (__ASSUME_ATFCTS): Do not undefine and redefine.
41414         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41415         <kernel-features.h>.
41416         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41417         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41418         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41419         <kernel-features.h>.
41420         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41421         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41423 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41425         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41427 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41429         [BZ #17069]
41430         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41431         constructed tree before returning error.
41432         * posix/bug-regexp36.c: Expand test case.
41434 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41436         [BZ #6803]
41437         * math/libm-test.inc (scalbln_test_date):
41438         Add errno expectations.
41439         * math/w_scalblnf.c: New File.
41440         Add wrapper which checks for setting errno to ERANGE.
41441         Add weak_alias for corresponding scalbln function.
41442         * math/w_scalbln.c: Likewise.
41443         * math/w_scalblnl.c: Likewise.
41444         * math/Makefile (libm-calls): Add w_scalbln.
41445         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41446         Remove weak_alias for corresponding scalbln function.
41447         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41448         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41449         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41451         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41452         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41453         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41454         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41455         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41456         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41457         Remove long_double_symbol for scalblnl function in libm, libc.
41458         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41459         Add wrapper which checks for setting errno to ERANGE.
41460         Add long_double_symbol for scalblnl function in libm, libc.
41461         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41462         Remove long_double_symbol for scalblnl in libm.
41463         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41464         Add wrapper which checks for setting errno to ERANGE.
41465         Add long_double_symbol for scalblnl function in libm.
41466         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41467         Do not use wrapper because of own implementation.
41469 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41471         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41472         3 bytes for __pad1 for x32.
41473         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41475 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41476             H.J. Lu  <hongjiu.lu@intel.com>
41478         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41479         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41480         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41481         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41482         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41484 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41486         [BZ #17069]
41487         * posix/regcomp.c (parse_expression): Deallocate partially
41488         constructed tree before returning error.
41489         * posix/Makefile.c (tests): Add bug-regex36.
41490         (generated): Add bug-regex36.mtrace.
41491         (tests-special): Add $(objpfx)bug-regex36-mem.out
41492         (bug-regex36-ENV): New variable.
41493         ($(objpfx)bug-regex36-mem.out): New rule.
41494         * posix/bug-regex36.c: New file.
41496 2014-06-19  Will Newton  <will.newton@linaro.org>
41498         * malloc/malloc.c (systrim): If extra is zero then return
41499         early.
41501 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41503         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41505 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41507         * sysdeps/aarch64/strchr.S: New file.
41509 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41511         [BZ #17022]
41512         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41513         from arguments -2 or below.
41514         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41515         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41517 2014-06-18  Andreas Schwab  <schwab@suse.de>
41519         [BZ #17062]
41520         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41521         of a bracket expr not to run off the end of the string.
41522         * posix/Makefile (tests): Add tst-fnmatch3.
41523         * posix/tst-fnmatch3.c: New file.
41525 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41527         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41528         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41529         [$(cross-compiling) = no]: Likewise.
41530         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41531         [$(cross-compiling) = no]: Likewise.
41533 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41535         [BZ #17031]
41536         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41537         double, adjusted for any remainder from the high double.
41538         * math/libm-test.inc (nearbyint): Add tests.
41539         (rint): Likewise.
41541 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41543         * nptl/sysdeps/powerpc/Makefile: Moved ...
41544         * sysdeps/powerpc/nptl/Makefile: ... here.
41545         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41546         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41547         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41548         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41549         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41550         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41551         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41552         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41553         * nptl/sysdeps/powerpc/tls.h: Moved ...
41554         * sysdeps/powerpc/nptl/tls.h: ... here.
41556 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41558         [BZ #16681]
41559         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41560         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41561         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41562         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41563         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41564         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41565         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41566         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41567         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41569 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41571         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41573 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41575         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41576         defined operator.
41578         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41579         $TIMEOUTFACTOR.
41581 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41583         [BZ #17058]
41584         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41585         non-executed part of the test.
41587 2014-06-16  Andreas Schwab  <schwab@suse.de>
41589         * string/bits/string2.h (strdup, strndup): Update feature guard.
41591 2014-06-14  David S. Miller  <davem@davemloft.net>
41593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41595 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41597         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41598         that was previously under [RESET_PID].
41599         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41601         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41602         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41603         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41604         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41605         (__libc_vfork): New strong alias.
41606         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41608 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41610         * sysdeps/generic/elide.h: New file.
41612 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41614         * Makefile (installed-headers): Adjust path of pthread.h header.
41616 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41618         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41619         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41620         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41621         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41623         * nptl/sysdeps/s390/Makefile: Moved ...
41624         * sysdeps/s390/nptl/Makefile: ... here.
41625         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41626         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41627         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41628         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41629         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41630         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41631         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41632         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41633         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41634         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41635         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41636         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41637         * nptl/sysdeps/s390/tls.h: Moved ...
41638         * sysdeps/s390/nptl/tls.h: ... here.
41640         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41641         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41643 2014-06-13  David S. Miller  <davem@davemloft.net>
41645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41648         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41652         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41653         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41654         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41655         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41656         Remove RESET_PID cpp guards.
41657         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41658         Remove RESET_PID cpp guards.
41659         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41661 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41663         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41664         __sp to uintptr_t.
41666 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41668         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41669         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41670         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41671         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41672         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41673         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41676         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41677         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41678         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41679         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41680         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41681         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41682         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41683         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41684         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41685         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41686         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41687         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41689         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41690         (pthread_rwlock_rdlock): Add elision.
41691         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41692         (pthread_rwlock_wrlock): Add elision.
41693         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41694         (pthread_rwlock_trywrlock): Add elision.
41695         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41696         (pthread_rwlock_tryrdlock): Add elision.
41697         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41698         (pthread_rwlock_tryrdlock): Add elision unlock.
41699         * nptl/sysdeps/pthread/pthread.h:
41700         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41701         (PTHREAD_RWLOCK_INITIALIZER,
41702         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41703         Handle new elision field.
41704         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41705         * sysdeps/arm/nptl/bits/pthreadtypes.h
41706         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41707         * sysdeps/sh/nptl/bits/pthreadtypes.h
41708         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41709         * sysdeps/tile/nptl/bits/pthreadtypes.h
41710         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41711         * sysdeps/a/nptl/bits/pthreadtypes.h
41712         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41713         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41715         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41717         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41719         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41721         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41723         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41725         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41727         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41729         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41730         (elision_init): Set try_xbegin to zero when no RTM.
41731         * sysdeps/x86/nptl/bits/pthreadtypes.h
41732         (pthread_rwlock_t): Change __pad1 to __rwelision.
41733         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41735 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41737         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41738         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41739         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41740         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41742 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41744         [BZ #16996]
41745         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41746         that the cached result has been set before returning it.
41748 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41750         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41751         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41752         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41753         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41754         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41755         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41757         * nptl/sysdeps/sparc/Makefile: Moved ...
41758         * sysdeps/sparc/nptl/Makefile: ... here.
41759         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41760         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41761         * nptl/sysdeps/sparc/tls.h: Moved ...
41762         * sysdeps/sparc/nptl/tls.h: ... here.
41763         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41764         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41765         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41766         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41767         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41768         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41769         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41770         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41771         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41772         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41773         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41774         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41775         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41776         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41777         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41778         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41779         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41781         Update #include.
41782         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41783         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41784         Update #include.
41785         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41786         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41787         Update #include.
41788         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41789         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41790         Update #include.
41792         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41794         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41795         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41797         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41798         (struct list_links): Type removed.
41799         (struct thread_node, struct timer_node): Replace struct list_links
41800         with struct list_head.
41801         (list_unlink_ip): Likewise.
41802         * sysdeps/pthread/timer_routines.c
41803         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41804         (list_append, list_insbefore): Likewise.
41805         (list_init): Function removed.
41806         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41807         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41808         * sysdeps/pthread/Makefile: ... here, new file.
41810         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41811         * sysdeps/nptl/Implies: ... here.
41812         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41813         * nptl/sysdeps/pthread/list.h: Moved ...
41814         * include/list.h: ... here.
41815         * nptl/sysdeps/pthread/createthread.c: Moved ...
41816         * nptl/createthread.c: ... here.
41817         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41818         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41819         * nptl/pt-longjmp.c: ... here.
41820         * nptl/sysdeps/pthread/Makefile: Moved ...
41821         * sysdeps/nptl/Makefile: ... here.
41822         * nptl/sysdeps/pthread/Subdirs: Moved ...
41823         * sysdeps/nptl/Subdirs: ... here.
41824         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41825         * sysdeps/nptl/aio_misc.h: ... here.
41826         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41827         * sysdeps/nptl/bits/libc-lock.h: ... here.
41828         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41829         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41830         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41831         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41832         * nptl/sysdeps/pthread/configure: Moved ...
41833         * sysdeps/nptl/configure: ... here.
41834         * nptl/sysdeps/pthread/configure.ac: Moved ...
41835         * sysdeps/nptl/configure.ac: ... here.
41836         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41837         * sysdeps/nptl/gai_misc.h: ... here.
41838         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41839         * sysdeps/nptl/librt-cancellation.c: ... here.
41840         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41841         * sysdeps/nptl/malloc-machine.h: ... here.
41842         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41843         * sysdeps/nptl/pthread-functions.h: ... here.
41844         * nptl/sysdeps/pthread/pthread.h: Moved ...
41845         * sysdeps/nptl/pthread.h: ... here.
41846         * nptl/sysdeps/pthread/setxid.h: Moved ...
41847         * sysdeps/nptl/setxid.h: ... here.
41848         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41849         * sysdeps/nptl/sigfillset.c: ... here.
41850         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41851         * sysdeps/nptl/tcb-offsets.h: ... here.
41852         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41853         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41854         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41855         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41856         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41857         * sysdeps/pthread/allocalim.h: ... here.
41858         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41859         * sysdeps/pthread/bits/sigthread.h: ... here.
41860         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41861         * sysdeps/pthread/flockfile.c: ... here.
41862         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41863         * sysdeps/pthread/ftrylockfile.c: ... here.
41864         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41865         * sysdeps/pthread/funlockfile.c: ... here.
41866         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41867         * sysdeps/pthread/posix-timer.h: ... here.
41868         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41869         * sysdeps/pthread/timer_create.c: ... here.
41870         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41871         * sysdeps/pthread/timer_delete.c: ... here.
41872         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41873         * sysdeps/pthread/timer_getoverr.c: ... here.
41874         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41875         * sysdeps/pthread/timer_gettime.c: ... here.
41876         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41877         * sysdeps/pthread/timer_routines.c: ... here.
41878         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41879         * sysdeps/pthread/timer_settime.c: ... here.
41880         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41881         * sysdeps/pthread/tst-timer.c: ... here.
41882         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41883         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41885         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41886         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41888         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41889         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41890         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41891         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41892         Update #include target.
41893         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41894         * sysdeps/i386/i686/nptl/Makefile: ... here.
41895         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41896         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41897         Update #include target.
41898         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41899         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41900         * nptl/sysdeps/i386/Makefile: Moved ...
41901         * sysdeps/i386/nptl/Makefile: ... here.
41902         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41903         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41904         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41905         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41906         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41907         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41908         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41909         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41910         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41911         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41912         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41913         * nptl/sysdeps/i386/tls.h: Moved ...
41914         * sysdeps/i386/nptl/tls.h: ... here.
41916         * sysdeps/sh/Makefile [$(subdir) = csu]
41917         (gen-as-const-headers): Add tcb-offsets.sym.
41918         * nptl/sysdeps/sh/Makefile: File removed.
41919         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41920         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41921         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41922         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41923         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41924         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41925         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41926         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41927         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41928         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41929         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41930         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41931         * nptl/sysdeps/sh/tls.h: Moved ...
41932         * sysdeps/sh/nptl/tls.h: ... here.
41933         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41934         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41935         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41936         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41937         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41938         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41939         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41940         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41941         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41942         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41943         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41944         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41945         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41946         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41947         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41948         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41949         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41950         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41951         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41952         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41953         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41954         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41955         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41956         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41958         Moved ...
41959         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41960         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41961         Moved ...
41962         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41964         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41966         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41967         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41968         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41969         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41970         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41971         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41972         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41973         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41974         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41975         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41976         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41977         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41978         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41979         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41980         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41982 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41984         * posix/spawn_faction_addopen.c: Include string.h.
41986 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41988         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41989         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41990         * nptl/sysdeps/x86_64/Makefile: Moved ...
41991         * sysdeps/x86_64/nptl/Makefile: ... here.
41992         * nptl/sysdeps/x86_64/configure: Moved ...
41993         * sysdeps/x86_64/nptl/configure: ... here.
41994         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41995         * sysdeps/x86_64/nptl/configure.ac: ... here.
41996         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41997         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41998         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41999         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42000         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42001         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42002         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42003         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42004         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42005         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42006         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42007         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42008         * nptl/sysdeps/x86_64/tls.h: Moved ...
42009         * sysdeps/x86_64/nptl/tls.h: ... here.
42010         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42011         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42012         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42013         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42015         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42017 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42021 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42023         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42024         type.
42025         [POSIX] (off_t): Likewise.
42026         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42027         [POSIX] (S_ISBLK): Require macro.
42028         [POSIX] (S_ISCHR): Likewise.
42029         [POSIX] (S_ISDIR): Likewise.
42030         [POSIX] (S_ISFIFO): Likewise.
42031         [POSIX] (S_ISREG): Likewise.
42032         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42033         optional-macro.
42034         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42035         type.
42036         [POSIX] (time_t): Likewise.
42037         [POSIX] (timer_t): Likewise.
42039 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42041         [BZ #17048]
42042         * posix/spawn_int.h (struct __spawn_action): Make the path string
42043         non-const to support deallocation.
42044         * posix/spawn_faction_addopen.c
42045         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42046         * posix/spawn_faction_destroy.c
42047         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42048         path in all spawn_do_open actions.
42049         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42050         posix_spawn_file_actions_addopen.
42052 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42054         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42055         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42056         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42057         conditional code always true.
42058         (__libc_vfork): New alias.
42060 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42062         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42063         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42065         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42067         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42068         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42070         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42071         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42073         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42074         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42076 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42078         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42079         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42080         multiarch strcmp for PPC64.
42081         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42082         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42084         multiarch optimizations.
42085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42086         (__libc_ifunc_impl_list): Likewise.
42088 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42090         * benchtests/scripts/validate_benchout.py: New script.
42091         * benchtests/Makefile (bench-func): Call it.
42092         * benchtests/scripts/benchout.schema.json: New file.
42094 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42096         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42097         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42098         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42099         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42100         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42101         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42102         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42103         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42104         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42105         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42106         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42107         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42108         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42109         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42110         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42111         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42113         Moved ...
42114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42115         ... here.
42116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42117         Moved ...
42118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42120         Moved ...
42121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42122         ... here.
42123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42124         Moved ...
42125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42126         ... here.
42127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42131         Moved ...
42132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42133         ... here.
42134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42135         Moved ...
42136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42137         ... here.
42138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42139         Moved ...
42140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42142         Moved ...
42143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42144         ... here.
42145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42146         Moved ...
42147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42148         ... here.
42149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42150         Moved ...
42151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42152         ... here.
42153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42154         Moved ...
42155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42157         Moved ...
42158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42159         ... here.
42160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42161         Moved ...
42162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42163         ... here.
42164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42165         Moved ...
42166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42167         ... here.
42168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42169         Moved ...
42170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42172         Moved ...
42173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42174         ... here.
42175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42176         Moved ...
42177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42178         ... here.
42179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42180         Moved ...
42181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42183         Moved ...
42184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42185         ... here.
42186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42187         Moved ...
42188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42190         Moved ...
42191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42193         Moved ...
42194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42195         ... here.
42196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42197         Moved ...
42198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42199         ... here.
42200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42201         Moved ...
42202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42203         ... here.
42204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42205         Moved ...
42206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42208         Moved ...
42209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42210         ... here.
42211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42212         Moved ...
42213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42214         ... here.
42215         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42216         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42217         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42218         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42219         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42220         Moved ...
42221         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42222         ... here.
42223         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42224         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42225         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42226         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42228         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42230         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42232         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42234         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42236         Moved ...
42237         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42239         Moved ...
42240         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42242         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42244         Moved ...
42245         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42246         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42247         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42248         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42249         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42250         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42251         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42253 2014-06-10  Wilco  <wdijkstr@arm.com>
42255         * math/test-fenv-return.c: New file.
42256         * math/Makefile: Add new test test-fenv-return.
42258 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42260         [BZ #17042]
42261         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42262         when x - 1 is zero.
42263         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42264         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42265         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42266         0.0L for an argument of 1.0L.
42267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42268         Likewise.
42269         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42270         value when x - 1 is zero.
42271         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42272         * sysdeps/i386/fpu/libm-test-ulps: Update.
42273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42275 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42277         [BZ #15119]
42278         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42280 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42282         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42283         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42285 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42287         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42288         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42290         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42291         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42293         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42294         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42296         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42297         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42299         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42300         if not already defined.
42301         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42302         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42303         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42304         (TLS_INIT_TP): Use it.
42305         (TLS_DEFINE_INIT_TP): New macro.
42306         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42308 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42310         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42311         constant.
42312         [POSIX] (IXANY): Likewise.
42313         [POSIX] (OLCUC): Likewise.
42314         [POSIX || POSIX2008] (CBAUD): Do not allow.
42315         [POSIX || POSIX2008] (DEFECHO): Likewise.
42316         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42317         [POSIX || POSIX2008] (ECHOKE): Likewise.
42318         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42319         [POSIX || POSIX2008] (EXTA): Likewise.
42320         [POSIX || POSIX2008] (EXTB): Likewise.
42321         [POSIX || POSIX2008] (FLUSHO): Likewise.
42322         [POSIX || POSIX2008] (LOBLK): Likewise.
42323         [POSIX || POSIX2008] (PENDIN): Likewise.
42324         [POSIX || POSIX2008] (SWTCH): Likewise.
42325         [POSIX || POSIX2008] (VDISCARD): Likewise.
42326         [POSIX || POSIX2008] (VDSUSP): Likewise.
42327         [POSIX || POSIX2008] (VLNEXT): Likewise.
42328         [POSIX || POSIX2008] (VREPRINT): Likewise.
42329         [POSIX || POSIX2008] (VSTATUS): Likewise.
42330         [POSIX || POSIX2008] (VWERASE): Likewise.
42331         (B*): Change to B[0123456789]*.
42332         * conform/data/time.h-data [POSIX || UNIX98]
42333         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42334         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42335         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42336         [POSIX] (tm_*): Do not allow.
42338 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42340         * Makefile (install): Don't set LANGUAGE.
42341         * Makefile.in (install): Likewise.
42342         * assert/Makefile (test-assert-ENV): Remove variable.
42343         (test-assert-perr-ENV): Likewise.
42344         * elf/Makefile (neededtest4-ENV): Likewise.
42345         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42346         [$(cross-compiling) = no]: Don't set LANGUAGE.
42347         * io/ftwtest-sh (LANG): Remove variable.
42348         * libio/Makefile (tst-widetext-ENV): Likewise.
42349         * manual/install.texi (Running make install): Don't refer to
42350         environment settings for make install.
42351         * INSTALL: Regenerated.
42352         * nptl/tst-tls6.sh: Don't set LANG.
42353         * posix/globtest.sh (LANG): Remove variable.
42354         * string/Makefile (tester-ENV): Likewise.
42355         (inl-tester-ENV): Likewise.
42356         (noinl-tester-ENV): Likewise.
42357         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42358         [$(cross-compiling) = no]: Don't set LANGUAGE.
42359         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42360         without explicit environment settings.
42362 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42364         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42365         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42366         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42367         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42369 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42371         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42372         other files in the crypt directory.
42373         * crypt/crypt.c: Remove duplicate includes.
42374         * crypt/crypt-entry.c: Likewise.
42375         * crypt/crypt_util.c: Likewise.
42377 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42379         * Makeconfig (run-program-env): New variable.
42380         (run-program-prefix-before-env): Likewise.
42381         (run-program-prefix-after-env): Likewise.
42382         (run-program-prefix): Define in terms of new variables.
42383         (built-program-cmd-before-env): New variable.
42384         (built-program-cmd-after-env): Likewise.
42385         (built-program-cmd): Define in terms of new variables.
42386         (test-program-prefix-before-env): New variable.
42387         (test-program-prefix-after-env): Likewise.
42388         (test-program-prefix): Define in terms of new variables.
42389         (test-program-cmd-before-env): New variable.
42390         (test-program-cmd-after-env): Likewise.
42391         (test-program-cmd): Define in terms of new variables.
42392         * Rules (make-test-out): Use $(run-program-env).
42393         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42394         (help): Do not mention environment variables.  Mention
42395         --timeoutfactor option.
42396         (timeoutfactor): New variable.
42397         (blacklist_exports): Remove function.
42398         (exports): Remove variable.
42399         (command): Do not include ${exports}.
42400         * manual/install.texi (Configuring and compiling): Do not mention
42401         test wrappers preserving environment variables.  Mention that last
42402         assignment to a variable must take precedence.
42403         * INSTALL: Regenerated.
42404         * benchtests/Makefile (run-bench): Use $(run-program-env).
42405         * catgets/Makefile ($(objpfx)test1.cat): Use
42406         $(built-program-cmd-before-env), $(run-program-env) and
42407         $(built-program-cmd-after-env).
42408         ($(objpfx)test2.cat): Do not specify environment variables
42409         explicitly.
42410         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42411         $(run-program-env) and $(built-program-cmd-after-env).
42412         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42413         $(run-program-env) and $(test-program-cmd-after-env).
42414         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42415         explicitly.
42416         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42417         run_program_env and test_program_cmd_after_env arguments.
42418         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42419         * elf/tst-pathopt.sh: Use run_program_env argument.
42420         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42421         $(test-wrapper-env) and $(run-program-env).
42422         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42423         run_program_env arguments.
42424         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42425         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42426         $(test-program-prefix-before-env), $(run-program-env) and
42427         $(test-program-prefix-after-env).
42428         ($(objpfx)tst-gettext2.out): Likewise.
42429         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42430         run_program_env and test_program_prefix_after_env arguments.
42431         * intl/tst-gettext2.sh: Likewise.
42432         * intl/tst-gettext4.sh: Do not set environment variables
42433         explicitly.
42434         * intl/tst-gettext6.sh: Likewise.
42435         * intl/tst-translit.sh: Likewise.
42436         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42437         $(test-program-prefix-before-env), $(run-program-env) and
42438         $(test-program-prefix-after-env).
42439         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42440         run_program_env and test_program_prefix_after_env arguments.
42441         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42442         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42443         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42444         explicitly with each use of ${test_wrapper_env}.
42445         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42446         $(test-program-prefix-before-env), $(run-program-env) and
42447         $(test-program-prefix-after-env).
42448         * posix/tst-getconf.sh: Do not set environment variables
42449         explicitly.
42450         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42451         run_program_env and test_program_prefix_after_env arguments.
42452         * stdio-common/tst-printf.sh: Do not set environment variables
42453         explicitly.
42454         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42455         $(test-program-prefix-before-env), $(run-program-env) and
42456         $(test-program-prefix-after-env).
42457         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42458         run_program_env and test_program_prefix_after_env arguments.
42459         Split $test calls into $test_pre and $test.
42460         * timezone/Makefile (build-testdata): Use
42461         $(built-program-cmd-before-env), $(run-program-env) and
42462         $(built-program-cmd-after-env).
42464 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42466         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42467         strlen for non SHARED builds.
42469 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42471         * nptl/allocatestack.c (check_list): Inlined function...
42472         (__reclaim_stacks): ... here.
42474 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42476         [BZ #15698]
42477         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42478         memory overrun.
42480 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42482         * Rules (make-test-out): Include
42483         LOCPATH=$(common-objpfx)localedata in default environment.
42484         * debug/Makefile (tst-chk1-ENV): Remove variable.
42485         (tst-chk2-ENV): Likewise.
42486         (tst-chk3-ENV): Likewise.
42487         (tst-chk4-ENV): Likewise.
42488         (tst-chk5-ENV): Likewise.
42489         (tst-chk6-ENV): Likewise.
42490         (tst-lfschk1-ENV): Likewise.
42491         (tst-lfschk2-ENV): Likewise.
42492         (tst-lfschk3-ENV): Likewise.
42493         (tst-lfschk4-ENV): Likewise.
42494         (tst-lfschk5-ENV): Likewise.
42495         (tst-lfschk6-ENV): Likewise.
42496         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42497         (tst-iconv7-ENV): Likewise.
42498         * intl/Makefile (LOCPATH-ENV): Likewise.
42499         (tst-codeset-ENV): Likewise.
42500         (tst-gettext3-ENV): Likewise.
42501         (tst-gettext5-ENV): Likewise.
42502         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42503         (tst-fopenloc-ENV): Likewise.
42504         (tst-fgetws-ENV): Remove variable.
42505         (tst-ungetwc1-ENV): Likewise.
42506         (tst-ungetwc2-ENV): Likewise.
42507         (bug-ungetwc2-ENV): Likewise.
42508         (tst-swscanf-ENV): Likewise.
42509         (bug-ftell-ENV): Likewise.
42510         (tst-fgetwc-ENV): Likewise.
42511         (tst-fseek-ENV): Likewise.
42512         (tst-ftell-partial-wide-ENV): Likewise.
42513         (tst-ftell-active-handler-ENV): Likewise.
42514         (tst-ftell-append-ENV): Likewise.
42515         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42516         (tst-regexloc-ENV): Likewise.
42517         (bug-regex1-ENV): Likewise.
42518         (tst-regex-ENV): Likewise.
42519         (tst-regex2-ENV): Likewise.
42520         (bug-regex5-ENV): Likewise.
42521         (bug-regex6-ENV): Likewise.
42522         (bug-regex17-ENV): Likewise.
42523         (bug-regex18-ENV): Likewise.
42524         (bug-regex19-ENV): Likewise.
42525         (bug-regex20-ENV): Likewise.
42526         (bug-regex22-ENV): Likewise.
42527         (bug-regex23-ENV): Likewise.
42528         (bug-regex25-ENV): Likewise.
42529         (bug-regex26-ENV): Likewise.
42530         (bug-regex30-ENV): Likewise.
42531         (bug-regex32-ENV): Likewise.
42532         (bug-regex33-ENV): Likewise.
42533         (bug-regex34-ENV): Likewise.
42534         (bug-regex35-ENV): Likewise.
42535         (tst-rxspencer-ENV): Likewise.
42536         (tst-rxspencer-no-utf8-ENV): Likewise.
42537         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42538         (tst-sscanf-ENV): Likewise.
42539         (tst-swprintf-ENV): Likewise.
42540         (tst-swscanf-ENV): Likewise.
42541         (test-vfprintf-ENV): Likewise.
42542         (scanf13-ENV): Likewise.
42543         (bug14-ENV): Likewise.
42544         (tst-grouping-ENV): Likewise.
42545         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42546         (tst-strtod3-ENV): Likewise.
42547         (tst-strtod4-ENV): Likewise.
42548         (tst-strtod5-ENV): Likewise.
42549         (testmb2-ENV): Likewise./
42550         * string/Makefile (tst-strxfrm-ENV): Likewise.
42551         (tst-strxfrm2-ENV): Likewise.
42552         (bug-strcoll1-ENV): Likewise.
42553         (test-strcasecmp-ENV): Likewise.
42554         (test-strncasecmp-ENV): Likewise.
42555         * time/Makefile (tst-strptime-ENV): Likewise.
42556         (tst-ftime_l-ENV): Likewise.
42557         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42558         (tst-mbrtowc-ENV): Likewise.
42559         (tst-wcrtomb-ENV): Likewise.
42560         (tst-mbrtowc2-ENV): Likewise.
42561         (tst-c16c32-1-ENV): Likewise.
42562         (tst-mbsnrtowcs-ENV): Likewise.
42564 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42566         * manual/resource.texi (How to get information about the memory
42567         subsystem?): Fix typo.
42568         Reported by Peon de la Parra Ivan <peon@keba.com>
42570 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42572         [BZ #16882]
42573         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42574         (pthread_spin_lock): Branch out of spin loop to proper location.
42575         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42576         (pthread_spin_lock): Likewise.
42578         * nptl/tst-spin4.c: New test.
42579         * nptl/Makefile (tests): Add tst-spin4.
42581 2014-06-03  Andreas Schwab  <schwab@suse.de>
42583         [BZ #15946]
42584         * resolv/res_send.c (send_dg): Reload file descriptor after
42585         calling reopen.
42587 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42589         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42591 2014-06-03  Richard Henderson  <rth@redhat.com>
42593         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42594         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42595         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42596         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42597         in the SAVE_PID block.
42598         (__libc_vfork): New alias.
42599         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42601         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42602         child in registers, not on the stack.  Remove RESET_PID conditionals.
42603         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42605 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42607         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42609 2014-06-03  Wilco  <wdijkstr@arm.com>
42611         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42612         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42613         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42614         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42615         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42616         Likewise.
42618 2014-06-03  Wilco  <wdijkstr@arm.com>
42620         * sysdeps/aarch64/fpu/math_private.h
42621         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42622         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42623         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42624         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42625         Fix declarations.
42627 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42629         * crypt/crypt-private.h: Include ufc-crypt.h.
42630         (__b64_from_24bit): Declare extern.
42631         * crypt/crypt_util.c(__b64_from_24bit): New function.
42632         (b64t): New static const variable.
42633         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42634         (b64t): Remove variable.
42635         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42636         * crypt/sha256-crypt.c: Include crypt-private.h.
42637         (b64t): Remove variable.
42638         (__sha256_crypt_r): Remove b64_from_24bit and replace
42639         with __b64_from_24bit.
42640         * crypt/sha512-crypt.c: Likewise.
42642 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42644         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42645         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42646         Label the code __libc_vfork rather than __vfork.
42647         [!NOT_IN_libc] (vfork): Define as weak alias.
42648         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42649         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42650         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42652 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42654         * malloc/malloc.c (malloc_info): Fix format specifier for
42655         n_mmaps.
42657 2014-06-02  Wilco  <wdijkstr@arm.com>
42659         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42660         FPCR write.
42662 2014-06-02  Wilco  <wdijkstr@arm.com>
42664         [BZ #17009]
42665         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42666         Rewrite to reduce FPCR/FPSR accesses.
42668 2014-06-01  David S. Miller  <davem@davemloft.net>
42670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42672 2014-05-31  David S. Miller  <davem@davemloft.net>
42674         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42675         to occur in round to nearest mode when |x| >= 2.0
42677 2014-05-30  Richard Henderson  <rth@twiddle.net>
42679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42680         (PSEUDO_RET_NOERRNO): Remove.
42681         (ret): Don't redefine.
42682         (ret_NOERRNO): Define in terms of ret.
42683         (ret_ERRVAL): Likewise.
42685         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42686         use of PSEUDO_RET; perform the error check directly.
42688 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42690         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42691         with __int128_t.
42693 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42695         * malloc/malloc (malloc_info): Fix formatting.
42697 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42698             Roland McGrath  <roland@hack.frob.com>
42700         * malloc/malloc (malloc_info): Also print mmapped statistics.
42702 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42704         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42705         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42707 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42709         * malloc/malloc.c (malloc_info): Inline mi_arena.
42711 2014-05-29  Richard Henderson  <rth@twiddle.net>
42713         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42714         Remove comma before expanding ASM_ARGS_##nr.
42715         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42716         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42717         of ASM_ARGS_##nr.
42718         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42719         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42720         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42721         (ASM_ARGS_1): Add leading comma.
42723         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42724         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42725         to __errno_location.
42726         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42727         Remove the expected plt for __errno_location.
42729         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42730         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42731         call to __read_tp.
42733         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42734         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42735         it and break it down.
42736         (DOCARGS_0, DOCARGS_1): Do nothing.
42737         (DOCARGS_2): Update to store into the new stack frame.
42738         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42739         (UNDOCARGS_1): Update to restore from the new stack frame.
42740         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42741         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42744         (SINGLE_THREAD_P): New parameter for result regno.
42745         (PSEUDO): Update to match; use cbz instead of beq.
42747         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42748         Use ENTRY to define the _nocancel entry point.  Share the syscall
42749         and syscall error check paths with the cancel path.
42750         (PSEUDO_END): New.
42752         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42753         whitespace; tabs before and after asm mnemonics.
42755 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42757         [BZ #15132]
42758         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42759         Call fstat64 or stat64 internally, depending on arguments passed.
42760         Replace stat buffer argument with file descriptor argument.
42761         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42762         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42763         Pass fd to __internal_statvfs instead of calling fstat64.
42764         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42765         Pass fd to __internal_statvfs64 instead of calling fstat64.
42766         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42767         Pass -1 to __internal_statvfs instead of calling stat64.
42768         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42769         Pass -1 to __internal_statvfs64 instead of calling stat64.
42771 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42773         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42774         that was previously under [RESET_PID].
42775         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42777         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42778         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42780 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42782         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42784         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42785         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42787 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42789         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42791 2014-05-27  Andreas Schwab  <schwab@suse.de>
42793         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42794         TLS_INIT_TP macro.
42795         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42796         * elf/rtld.c (init_tls, dl_main): Likewise.
42797         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42798         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42799         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42800         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42801         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42802         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42803         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42804         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42805         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42806         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42807         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42808         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42809         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42810         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42811         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42812         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42813         * sysdeps/generic/tls.h: Update description.
42815 2014-05-27  Will Newton  <will.newton@linaro.org>
42817         [BZ #16990]
42818         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42819         and restore r2 rather than just restoring.
42821 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42823         [BZ #16724]
42824         * libio/tst-ftell-append.c: New test case.
42825         * libio/Makefile (tests): Add test case.
42826         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42827         append mode.
42828         * libio/wfileops.c (do_ftell_wide): Likewise.
42830 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42834         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42835         ...
42836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42838         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42839         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42840         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42841         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42842         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42843         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42844         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42845         Moved ...
42846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42847         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42848         Moved ...
42849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42850         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42851         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42852         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42853         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42854         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42855         ...
42856         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42857         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42858         Moved ...
42859         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42860         here.
42861         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42862         ...
42863         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42864         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42865         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42867         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42868         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42869         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42870         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42873         merge into ...
42874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42875         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42876         ...
42877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42879         ...
42880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42881         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42882         Moved ...
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42884         here.
42885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42886         Moved ...
42887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42889         Moved ...
42890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42893         conditional [RESET_PID].
42894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42896         removed.
42897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42898         removed.
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42901         <tcb-offsets.h>.
42902         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42903         (__libc_vfork): New strong alias.
42904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42905         removed.
42906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42907         Removed.
42909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42910         <tcb-offsets.h>.
42911         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42912         (__libc_vfork): New strong alias.
42913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42914         removed.
42915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42916         removed.
42918 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42920         * malloc/malloc.c (mi_arena): New function.
42921         (malloc_info): Remove nested function mi_arena. Call non-nosted
42922         function mi_arena.
42924 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42926         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42927         by insrwi.
42928         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42929         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42930         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42931         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42932         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42933         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42934         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42936 2014-05-26  Andreas Schwab  <schwab@suse.de>
42938         [BZ #16984]
42939         * locale/programs/repertoire.c (repertoire_read): Add slash
42940         between I18NPATH element and file name.
42941         * locale/programs/locfile.c (locfile_read): Likewise.
42943 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42945         * nptl/pthread_mutexattr_settype.c
42946         (__pthread_mutexattr_settype):
42947         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42949 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42951         * nptl/tst-mutex5 (do_test):
42952         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42954 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42956         * benchtests/README: Document 'init' directive.
42957         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42958         BENCH_INIT.
42959         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42960         (parse_file): Recognize 'init' directive.
42962 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42964         [BZ #16796]
42965         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42966         alignment of struct pthread.
42968 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42970         [BZ #16878]
42971         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42972         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42973         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42974         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42976 2014-05-25  Richard Henderson  <rth@twiddle.net>
42978         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42979         (SINGLE_THREAD_P_PIC): Remove.
42980         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42981         (SINGLE_THREAD_P_PIC): Remove.
42983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42984         branch to syscall error ...
42985         (PSEUDO): ... here.
42986         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42987         from __local_syscall_error to .Lsyscall_error.
42988         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42989         (SYSCALL_ERROR): Update label name.
42991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42992         Do not use DOARGS/UNDOARGS.
42993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42994         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42995         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42996         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42997         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43000         block comment.
43002         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43003         define if !NOT_IN_libc.
43004         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43005         define with non-default symbol versions.
43007 2014-05-23  Richard Henderson  <rth@twiddle.net>
43009         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43010         (vfork, __vfork): Define via compat_symbol.
43012         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43013         [!HAVE_IFUNC] (vfork_compat): Remove.
43014         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43016 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43018         [BZ #16978]
43019         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43020         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43021         variable.
43023 2014-05-23  Richard Henderson  <rth@twiddle.net>
43025         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43026         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43027         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43028         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43030         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43031         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43032         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43033         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43034         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43035         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43036         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43037         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43038         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43039         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43040         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43041         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43042         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43043         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43044         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43045         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43046         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43047         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43048         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43049         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43050         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43051         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43052         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43053         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43054         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43055         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43056         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43057         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43058         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43059         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43060         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43061         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43062         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43063         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43064         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43065         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43066         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43067         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43068         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43069         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43070         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43071         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43072         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43073         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43074         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43075         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43076         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43077         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43078         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43079         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43080         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43081         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43082         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43083         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43085         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43087         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43088         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43089         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43090         before exiting on error.
43091         (__libc_vfork): New strong alias.
43092         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43093         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43095         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43096         that was previously under [RESET_PID].
43097         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43099         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43101 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43103         [BZ #16977]
43104         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43105         value when x - 1 is zero.
43106         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43107         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43108         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43109         0.0L for an argument of 1.0L.
43110         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43111         Likewise.
43112         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43113         value when x - 1 is zero.
43114         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43115         * sysdeps/i386/fpu/libm-test-ulps: Update.
43116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43118 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43120         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43121         alphasort and versionsort.
43123 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43125         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43126         macro.
43127         [copysignf]: Likewise.
43129 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43131         * crypt/md5-crypt.c: Fix formatting.
43133 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43135         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43136         (b64_from_24bit): New function.
43138 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43140         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43141         libc_hidden_builtin_def to ifunc.
43142         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43143         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43145 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43147         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43148         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43150 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43152         * nscd/Depend (linuxthreads): Remove.
43153         (nptl): Add.
43154         * resolv/Depend (linuxthreads): Remove.
43155         * rt/Depend (linuxthreads): Remove.
43157         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43158         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43159         $(common-objpfx)elf/.
43160         (link-libc-before-gnulib): Likewise.
43161         (elfobjdir): Remove variable.
43162         * Makefile (install): Use $(elf-objpfx) instead of
43163         $(common-objpfx)elf/.
43164         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43165         $(elfobjdir)/.
43166         (link-libc-deps): Likewise.
43167         ($(common-objpfx)libc.so): Likewise.
43168         ($(common-objpfx)linkobj/libc.so): Likewise.
43169         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43170         instead of $(common-objpfx)elf/.
43171         (symbolic-link-list): Likewise.
43172         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43173         [$(cross-compiling) = no]: Likewise.
43174         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43175         $(elfobjdir)/.
43176         (static-gnulib-arch): Likewise.
43177         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43178         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43179         $(common-objpfx)elf/.
43181 2014-05-21  Richard Henderson  <rth@redhat.com>
43183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43184         (SINGLE_THREAD_P): Use the correct width load.  Fold
43185         into the ldr offset.
43187         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43188         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43190 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43192         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43193         (libgcc_s_resume): Use __attribute_used__.
43194         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43195         Likewise.
43197 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43199         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43200         optimization when used with float constants.
43202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43204 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43206         [BZ #16915]
43207         * locale/nl_langinfo_l.c: Make direct reference to every
43208         _nl_current_CATEGORY symbol.
43209         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43210         (tests-static): Add tst-langinfo-static.
43211         (tests-special): Add tst-langinfo-static.out.
43212         ($(objpfx)tst-langinfo.out): Redirect output.
43213         ($(objpfx)tst-langinfo-static.out): New.
43214         * localedata/tst-langinfo.sh: Send output to stdout.
43215         * localedata/tst-langinfo-static.c: New file.
43217         [BZ #16965]
43218         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43219         when the shift amount is modulo the limb size.
43221 2014-05-20  Richard Henderson  <rth@redhat.com>
43223         [BZ #16967]
43224         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43225         Change type of sa_flags from unsigned int to int.
43227         [BZ #16966]
43228         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43230         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43232 2014-05-20  Will Newton  <will.newton@linaro.org>
43234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43235         Test the return value of the system call in the nocancel case.
43237 2014-05-20  Will Newton  <will.newton@linaro.org>
43238             Yvan Roux  <yvan.roux@linaro.org>
43240         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43241         #include of asm/ptrace.h.
43242         (PTRACE_GET_THREAD_AREA): Remove #undef.
43243         (PTRACE_GETHBPREGS): Likewise.
43244         (PTRACE_SETHBPREGS): Likewise.
43245         (struct user_regs_struct): New structure.
43246         (struct user_fpsimd_struct): New structure.
43247         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43248         #include of asm/ptrace.h and second #include of sys/user.h.
43249         (PTRACE_GET_THREAD_AREA): Remove #undef.
43250         (PTRACE_GETHBPREGS): Likewise.
43251         (PTRACE_SETHBPREGS): Likewise.
43252         (ELF_NGREG): Use new struct user_regs_struct.
43253         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43255 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43257         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43258         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43260 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43262         [BZ #16958]
43263         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43264         membar to avoid block loads/stores to overlap previous stores.
43266 2014-05-17  Richard Henderson  <rth@redhat.com>
43268         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43269         Create the __##syscall_name##_nocancel entry point.
43270         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43271         Remove; let the sysdep-cancel.h code create it.
43273 2014-05-17  David S. Miller  <davem@davemloft.net>
43275         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43276         Protect with __USE_GNU.
43277         (TIOCSET_TEMPT): Likewise.
43278         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43279         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43280         these are already provided in bits/ioctl-types.h
43282 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43284         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43285         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43287         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43288         Use wait4 regardless of [__NR_waitpid].
43290 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43292         PR libgcc/60166
43293         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43294         (_FP_NANSIGN_Q): Set the quiet bit.
43296 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43298         * benchtests/Makefile
43299         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43300         not $(common-objpfx)math/libm.so.
43301         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43302         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43303         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43304         $(common-objpfx)dlfcn/libdl.so.
43305         ($(objpfx)tst-audit8): Depend on $(libm), not
43306         $(common-objpfx)math/libm.so.
43307         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43308         not $(common-objpfx)dlfcn/libdl.so.
43309         * math/Makefile
43310         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43311         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43312         [$(build-shared) = yes].
43313         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43314         $(common-objpfx)nptl/libpthread.so.
43315         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43316         $(common-objpfx)math/libm.so$(libm.so-version) or
43317         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43318         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43319         $(common-objpfx)dlfcn/libdl.so.
43320         * setjmp/Makefile (link-libm): Remove variable.
43321         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43322         * stdio-common/Makefile (link-libm): Remove variable.
43323         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43324         * stdlib/Makefile (link-libm): Remove variable.
43325         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43326         ($(objpfx)tst-strtod-round): Likewise.
43327         ($(objpfx)tst-tininess): Likewise.
43328         ($(objpfx)tst-strtod-underflow): Likewise.
43329         ($(objpfx)tst-strtod6): Likewise.
43330         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43331         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43332         $(common-objpfx)dlfcn/libdl.so.
43334 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43336         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43337         BSD terminal modes definitions.
43339 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43341         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43342         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43344         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43345         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43346         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43347         Don't do #include_next.
43348         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43349         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43350         Don't do #include_next.
43351         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43352         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43353         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43354         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43356 2014-05-16  Allan McRae  <allan@archlinux.org>
43358         * po/sv.po: Update Swedish translation from translation project.
43360         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43361         in sed expression.
43363 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43365         [BZ #16917]
43366         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43367         errno if the TIOCGPTN ioctl fails with an error different than
43368         EINVAL.
43369         * login/tst-ptsname.c: New file.
43370         * login/Makefile (tests): Add tst-ptsname.
43372         [BZ #16943]
43373         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43374         and prlimit64.
43376 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43378         [BZ #16849]
43379         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43380         herrno to return EAI_AGAIN.
43382 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43384         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43385         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43386         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43387         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43388         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43389         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43390         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43391         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43392         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43393         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43394         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43395         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43396         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43397         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43399         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43401         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43402         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43403         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43405         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43407         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43411         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43413         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43415         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43417         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43419         Moved ...
43420         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43422         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43424         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43426         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43428         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43430         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43432         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43434         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43436         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43438         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43440         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43442         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43444         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43446         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43448         Moved ...
43449         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43451         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43453         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43455         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43457         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43459         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43461         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43463         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43465         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43467         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43469         Moved ...
43470         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43472         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43474         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43475         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43476         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43477         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43478         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43479         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43480         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43481         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43482         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43483         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43484         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43485         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43486         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43487         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43488         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43489         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43490         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43491         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43492         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43493         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43494         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43495         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43496         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43497         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43498         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43499         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43500         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43501         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43502         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43503         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43504         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43506         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43507         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43509         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43510         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43511         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43512         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43513         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43515         Moved ...
43516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43517         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43518         Moved ...
43519         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43520         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43521         Moved ...
43522         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43523         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43524         Moved ...
43525         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43526         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43527         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43529         Moved ...
43530         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43531         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43532         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43533         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43534         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43535         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43536         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43537         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43538         Moved ...
43539         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43540         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43541         Moved ...
43542         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43543         ... here.
43544         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43545         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43546         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43547         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43548         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43549         Moved ...
43550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43551         ... here.
43552         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43553         Moved ...
43554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43555         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43556         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43557         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43558         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43560         Moved ...
43561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43563         Moved ...
43564         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43565         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43566         Moved ...
43567         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43568         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43569         Moved ...
43570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43571         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43572         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43574         Moved ...
43575         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43576         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43577         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43578         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43579         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43580         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43581         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43582         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43583         Moved ...
43584         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43585         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43586         Moved ...
43587         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43588         ... here.
43589         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43590         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43591         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43592         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43593         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43594         Moved ...
43595         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43596         ... here.
43597         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43598         Moved ...
43599         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43600         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43601         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43602         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43603         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43604         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43605         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43606         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43607         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43608         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43609         Moved ...
43610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43612         Moved ...
43613         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43614         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43615         Moved ...
43616         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43617         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43618         Moved ...
43619         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43620         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43621         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43622         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43623         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43625         Moved ...
43626         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43627         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43628         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43629         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43630         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43631         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43632         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43633         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43634         Moved ...
43635         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43636         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43637         Moved ...
43638         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43639         ... here.
43640         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43641         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43642         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43643         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43644         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43645         Moved ...
43646         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43647         ... here.
43648         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43649         Moved ...
43650         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43651         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43652         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43653         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43654         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43655         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43656         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43657         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43658         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43659         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43660         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43662         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43663         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43665         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43666         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43668         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43669         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43670         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43671         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43672         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43673         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43674         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43675         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43676         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43677         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43678         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43679         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43680         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43681         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43682         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43683         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43684         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43686         Moved ...
43687         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43688         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43689         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43691         Moved ...
43692         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43694         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43696         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43698         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43700         Moved ...
43701         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43702         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43703         Moved ...
43704         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43705         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43706         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43708         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43710         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43711         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43712         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43713         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43714         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43715         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43716         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43717         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43718         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43719         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43720         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43722         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43723         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43724         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43725         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43726         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43728         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43729         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43730         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43731         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43732         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43733         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43734         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43735         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43736         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43737         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43739         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43742         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43743         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43744         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43745         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43746         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43747         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43748         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43749         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43750         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43751         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43752         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43753         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43754         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43755         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43756         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43757         Update #include.
43758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43759         Likewise.
43760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43761         Likewise.
43762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43763         Likewise.
43764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43765         Likewise.
43766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43767         Likewise.
43768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43769         Likewise.
43770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43771         Likewise.
43772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43773         Likewise.
43774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43775         Likewise.
43776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43781         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43782         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43786         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43788         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43789         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43792         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43793         that was previously under [RESET_PID].
43794         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43795         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43796         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43798         * sysdeps/i386/nptl/Implies: New file.
43799         * sysdeps/x86_64/nptl/Implies: New file.
43800         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43801         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43802         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43803         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43805         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43806         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43807         (__libc_vfork): New strong alias.
43808         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43809         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43811         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43812         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43813         (__libc_vfork): New strong alias.
43814         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43815         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43817         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43818         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43819         (__libc_vfork): New strong alias.
43820         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43821         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43822         * nptl/pt-vfork.c: New file.
43823         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43824         (libpthread: GLIBC_2.20): New version set (empty).
43826 2014-05-14  Will Newton  <will.newton@linaro.org>
43828         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43829         rather than #if.
43831 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43833         [BZ #16564]
43834         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43835         arguments with exponent 65 or above.
43836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43837         arguments 0x1p113L or above.
43838         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43839         to arguments 0x1p107L or above.
43840         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43841         positive arguments with exponent 65 or above.
43842         * math/auto-libm-test-in: Add more tests of log1p.
43843         * math/auto-libm-test-out: Regenerated.
43845         [BZ #16928]
43846         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43847         non-finite arguments is +0.
43848         * math/s_cacosf.c (__cacosf): Likewise.
43849         * math/s_cacosl.c (__cacosl): Likewise.
43850         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43851         * sysdeps/i386/fpu/libm-test-ulps: Update.
43852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43854         [BZ #16927]
43855         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43856         value.
43857         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43858         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43859         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43860         for explicit high bit of mantissa when testing for argument equal
43861         to 1.
43862         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43863         * sysdeps/i386/fpu/libm-test-ulps: Update.
43864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43866         [BZ #16516]
43867         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43868         (__erf): Scale by 16 instead of 8 in potentially underflowing
43869         case.  Ensure exception if result actually underflows.
43870         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43871         (__erff): Scale by 16 instead of 8 in potentially underflowing
43872         case.  Ensure exception if result actually underflows.
43873         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43874         (efx8): Remove variable.
43875         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43876         case.  Ensure exception if result actually underflows.
43877         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43878         (efx8): Remove variable.
43879         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43880         case.  Ensure exception if result actually underflows.
43881         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43882         (efx8): Remove variable.
43883         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43884         case.  Ensure exception if result actually underflows.
43885         * math/auto-libm-test-in: Add more tests of erf.
43886         * math/auto-libm-test-out: Regenerated.
43888 2014-05-14  Andreas Schwab  <schwab@suse.de>
43890         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43891         Remove code conditionalized on USE___THREAD.
43893         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43894         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43895         not definedness.
43897 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43900         Define unconditionally.
43901         (__ASSUME_O_CLOEXEC): Likewise.
43902         (__ASSUME_SOCK_CLOEXEC): Likewise.
43903         (__ASSUME_IN_NONBLOCK): Likewise.
43904         (__ASSUME_PIPE2): Likewise.
43905         (__ASSUME_EVENTFD2): Likewise.
43906         (__ASSUME_SIGNALFD4): Likewise.
43907         (__ASSUME_DUP3): Likewise.
43908         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43909         (__ASSUME_DUP3): Do not define.
43910         (__ASSUME_EVENTFD2): Likewise.
43911         (__ASSUME_IN_NONBLOCK): Likewise.
43912         (__ASSUME_O_CLOEXEC): Likewise.
43913         (__ASSUME_PIPE2): Likewise.
43914         (__ASSUME_SIGNALFD4): Likewise.
43915         (__ASSUME_SOCK_CLOEXEC): Likewise.
43916         (__ASSUME_UTIMES): Undefine.
43917         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43918         (__ASSUME_UTIMES): Do not define.
43919         (__ASSUME_O_CLOEXEC): Likewise.
43920         (__ASSUME_SOCK_CLOEXEC): Likewise.
43921         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43922         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43923         0x020621].
43924         (__ASSUME_PIPE2): Likewise.
43925         (__ASSUME_EVENTFD2): Likewise.
43926         (__ASSUME_SIGNALFD4): Likewise.
43927         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43928         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43929         Do not define.
43930         (__ASSUME_EVENTFD2): Likewise.
43931         (__ASSUME_SIGNALFD4): Likewise.
43932         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43933         (__ASSUME_32BITUIDS): Likewise.
43934         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43935         (__ASSUME_IPC64): Likewise.
43936         (__ASSUME_ST_INO_64_BIT): Likewise.
43937         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43938         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43939         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43940         (__ASSUME_UTIMES): Do not define.
43941         (__ASSUME_PSELECT): Likewise.
43942         (__ASSUME_PPOLL): Likewise.
43943         (__ASSUME_O_CLOEXEC): Likewise.
43944         (__ASSUME_SOCK_CLOEXEC): Likewise.
43945         (__ASSUME_IN_NONBLOCK): Likewise.
43946         (__ASSUME_PIPE2): Likewise.
43947         (__ASSUME_EVENTFD2): Likewise.
43948         (__ASSUME_SIGNALFD4): Likewise.
43949         (__ASSUME_DUP3): Likewise.
43950         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43951         (__ASSUME_UTIMES): Likewise.
43952         (__ASSUME_O_CLOEXEC): Likewise.
43953         (__ASSUME_SOCK_CLOEXEC): Likewise.
43954         (__ASSUME_IN_NONBLOCK): Likewise.
43955         (__ASSUME_PIPE2): Likewise.
43956         (__ASSUME_EVENTFD2): Likewise.
43957         (__ASSUME_SIGNALFD4): Likewise.
43958         (__ASSUME_DUP3): Likewise.
43959         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43960         (__ASSUME_UTIMES): Likewise.
43961         (__ASSUME_O_CLOEXEC): Likewise.
43962         (__ASSUME_SOCK_CLOEXEC): Likewise.
43963         (__ASSUME_IN_NONBLOCK): Likewise.
43964         (__ASSUME_PIPE2): Likewise.
43965         (__ASSUME_EVENTFD2): Likewise.
43966         (__ASSUME_SIGNALFD4): Likewise.
43967         (__ASSUME_DUP3): Likewise.
43968         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43969         Likewise.
43970         (__ASSUME_UTIMES): Likewise.
43971         (__ASSUME_EVENTFD2): Likewise.
43972         (__ASSUME_SIGNALFD4): Likewise.
43973         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43974         (__ASSUME_O_CLOEXEC): Likewise.
43975         (__ASSUME_SOCK_CLOEXEC): Likewise.
43976         (__ASSUME_IN_NONBLOCK): Likewise.
43977         (__ASSUME_PIPE2): Likewise.
43978         (__ASSUME_EVENTFD2): Likewise.
43979         (__ASSUME_SIGNALFD4): Likewise.
43980         (__ASSUME_DUP3): Likewise.
43981         (__ASSUME_UTIMES): Undefine.
43983         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43984         feclearexcept.  Remove symbol versioning code.
43985         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43986         symbol versioning code.
43987         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43988         symbol versioning code.
43989         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43990         feupdateenv.  Remove symbol versioning code.
43991         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43992         fegetexceptflag.  Remove symbol versioning code.
43993         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43994         fesetexceptflag.  Remove symbol versioning code.
43995         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43996         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43997         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43998         (__posix_fadvise64_l32): Remove prototype.
43999         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44000         code.
44002 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44004         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44005         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44006         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44007         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44009 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44011         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44012         current working directory
44014 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44016         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44017         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44018         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44019         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44020         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44021         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44022         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44023         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44024         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44025         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44026         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44027         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44028         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44029         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44030         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44031         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44032         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44033         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44034         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44035         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44036         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44037         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44038         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44039         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44040         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44041         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44042         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44043         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44044         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44045         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44046         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44047         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44048         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44049         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44050         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44051         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44052         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44053         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44054         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44055         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44056         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44057         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44059         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44060         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44062         * sysdeps/unix/sysv/linux/arm/Makefile
44063         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44064         Add rt-aeabi_unwind_cpp_pr1.
44065         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44066         Add nptl-aeabi_unwind_cpp_pr1.
44067         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44068         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44069         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44070         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44071         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44072         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44074         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44075         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44076         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44077         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44079         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44080         Deconditionalize the code that was previously under [RESET_PID].
44081         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44083         * sysdeps/generic/exit-thread.h: New file.
44084         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44085         * include/unistd.h (__exit_thread): Remove declaration.
44086         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44087         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44088         * csu/libc-start.c: Include <exit-thread.h>.
44089         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44090         * nptl/pthread_create.c: Include <exit-thread.h>.
44091         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44092         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44093         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44094         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44095         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44096         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44097         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44098         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44099         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44100         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44101         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44102         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44103         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44104         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44105         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44106         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44107         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44109 2014-05-13  Andreas Schwab  <schwab@suse.de>
44111         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44113 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44115         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44116         (__ASSUME_UTIMES): Do not condition on kernel version.
44117         (__ASSUME_PSELECT): Define unconditionally.
44118         (__ASSUME_PPOLL): Likewise.
44119         (__ASSUME_ATFCTS): Likewise.
44120         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44121         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44122         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44123         (__ASSUME_UTIMENSAT): Define unconditionally.
44124         (__ASSUME_PRIVATE_FUTEX): Likewise.
44125         (__ASSUME_FALLOCATE): Likewise.
44126         (__ASSUME_O_CLOEXEC): Likewise.
44127         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44128         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44129         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44130         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44131         (__ASSUME_IN_NONBLOCK): Likewise.
44132         (__ASSUME_PIPE2): Likewise.
44133         (__ASSUME_EVENTFD2): Likewise.
44134         (__ASSUME_SIGNALFD4): Likewise.
44135         (__ASSUME_DUP3): Likewise.
44136         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44137         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44138         (__ASSUME_AT_RANDOM): Likewise.
44139         (__ASSUME_PREADV): Likewise.
44140         (__ASSUME_PWRITEV): Likewise.
44141         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44142         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44143         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44144         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44145         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44147         (__ASSUME_O_CLOEXEC): Define unconditionally.
44148         (__ASSUME_PSELECT): Do not undefine conditionally.
44149         (__ASSUME_PPOLL): Likewise.
44150         (__ASSUME_ATFCTS): Likewise.
44151         (__ASSUME_SET_ROBUST_LIST): Likewise.
44152         (__ASSUME_UTIMENSAT): Likewise.
44153         (__ASSUME_FDATASYNC): Define unconditionally.
44154         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44155         (__ASSUME_SIGFRAME_V2): Likewise.
44156         )__ASSUME_EVENTFD2): Likewise.
44157         (__ASSUME_SIGNALFD4): Likewise.
44158         (__ASSUME_PSELECT): Do not undefine conditionally.
44159         (__ASSUME_PPOLL): Likewise.
44160         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44161         (__ASSUME_PSELECT): Define unconditionally.
44162         (__ASSUME_PPOLL): Likewise.
44163         (__ASSUME_O_CLOEXEC): Likewise.
44164         (__ASSUME_SOCK_CLOEXEC): Likewise.
44165         (__ASSUME_IN_NONBLOCK): Likewise.
44166         (__ASSUME_PIPE2): Likewise.
44167         (__ASSUME_EVENTFD2): Likewise.
44168         (__ASSUME_SIGNALFD4): Likewise.
44169         (__ASSUME_DUP3): Likewise.
44170         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44171         (__ASSUME_O_CLOEXEC): Likewise.
44172         (__ASSUME_SOCK_CLOEXEC): Likewise.
44173         (__ASSUME_IN_NONBLOCK): Likewise.
44174         (__ASSUME_PIPE2): Likewise.
44175         (__ASSUME_EVENTFD2): Likewise.
44176         (__ASSUME_SIGNALFD4): Likewise.
44177         (__ASSUME_DUP3): Likewise.
44178         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44179         (__ASSUME_EVENTFD2): Likewise.
44180         (__ASSUME_SIGNALFD4): Likewise.
44181         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44183 2014-05-12  Andreas Schwab  <schwab@suse.de>
44185         [BZ #16932]
44186         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44187         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44188         than maximum RPC packet size.
44189         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44190         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44191         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44192         (_nss_nis_getservbyport_r): Likewise.
44194 2014-05-12  Will Newton  <will.newton@linaro.org>
44196         * malloc/Makefile (tests): Add tst-mallopt.
44197         * malloc/tst-mallopt.c: New file.
44199 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44201         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44202         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44204 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44206         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44207         (tst-tlsmod6.so): Likewise.
44209 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44211         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44213 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44215         [BZ #16064]
44216         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44217         and <dl-procinfo.h>.
44218         (__fegetenv): Save SSE state in envp->__eip if supported.
44219         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44220         envp->__eip if supported.
44221         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44222         and <dl-procinfo.h>.
44223         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44224         __data_offset and __data_selector in environment to 0.  Set SSE
44225         state if supported.
44226         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44227         test-fenv-sse.
44228         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44229         -mfpmath=sse.
44230         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44232 2014-05-09  Will Newton  <will.newton@linaro.org>
44234         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44235         and libc_relro_required for ARM.
44236         * sysdeps/arm/preconfigure: Regenerate.
44238 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44239             Stefan Liebler  <stli@linux.vnet.ibm.com>
44241         * config.make.in (enable-lock-elision): New Makefile variable.
44242         * configure.ac: Likewise.
44243         * configure: Regenerate.
44244         * sysdeps/s390/configure.ac:
44245         Add check for gcc transactions support.
44246         * sysdeps/s390/configure: Regenerate.
44247         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44248         Build elision files if enabled.
44249         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44250         Add lock elision support for s390.
44251         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44252         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44253         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44254         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44255         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44256         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44257         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44258         Likewise.
44259         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44260         Likewise.
44261         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44262         Likewise.
44263         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44264         Likewise.
44265         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44266         (__lll_timedlock_elision, __lll_lock_elision)
44267         (__lll_unlock_elision, __lll_trylock_elision)
44268         (lll_timedlock_elision, lll_lock_elision)
44269         (lll_unlock_elision, lll_trylock_elision): Add.
44270         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44271         (pthread_mutex_t): Add lock elision support for s390.
44273 2014-05-14  Wilco  <wdijkstr@arm.com>
44275         * sysdeps/arm/fclrexcpt.c: Cleanup.
44276         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44277         * sysdeps/arm/feenablxcpt.c: Cleanup.
44278         * sysdeps/arm/fegetenv.c: Cleanup.
44279         * sysdeps/arm/fegetexcept.c: Cleanup.
44280         * sysdeps/arm/fegetround.c: Cleanup.
44281         * sysdeps/arm/feholdexcpt.c: Cleanup.
44282         * sysdeps/arm/fesetenv.c: Cleanup.
44283         * sysdeps/arm/fesetround.c: Cleanup.
44284         * sysdeps/arm/feupdateenv.c: Cleanup.
44285         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44286         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44287         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44288         * sysdeps/arm/ftestexcept.c: Cleanup.
44289         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44290         * sysdeps/arm/setfpucw.c: Cleanup.
44292 2014-05-09  Will Newton  <will.newton@linaro.org>
44294         * sysdeps/arm/armv7/strcmp.S: New file.
44295         * NEWS: Mention addition of ARMv7 optimized strcmp.
44297 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44299         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44300         look for %.ac rather than %.in.
44302         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44303         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44304         * sysdeps/mach/hurd/configure: Regenerated.
44305         * sysdeps/unix/sysv/linux/configure: Regenerated.
44307         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44309 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44311         [BZ# 16922]
44312         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44313         (LONG_SUB): Ditto.
44314         (PTR_SUB): Ditto.
44316 2014-05-07  Andreas Schwab  <schwab@suse.de>
44318         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44319         when skipping over non-matching result from nscd.
44321 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44323         [BZ #16876]
44324         * nptl/sockperf.c (client): Check socket return value.
44326         [BZ #16877]
44327         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44328         nscd security class.
44330 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44332         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44333         * sysdeps/arm/unwind.h: ... here.
44335 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44337         [BZ# 16916]
44338         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44339         Define.
44341 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44343         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44344         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44345         multiarch strncpy for PPC64.
44346         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44347         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44349         multiarch optimizations.
44350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44351         (__libc_ifunc_impl_list): Likewise.
44352         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44353         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44354         multiarch stpncpy for PPC64.
44355         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44356         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44358 2014-05-06  Andreas Schwab  <schwab@suse.de>
44360         [BZ #16912]
44361         * gmon/mcount.c (_MCOUNT_DECL): Use
44362         atomic_compare_and_exchange_bool_acq instead of
44363         catomic_compare_and_exchange_bool_acq.
44365 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44367         * elf/Makefile (others, install-bin): Remove pldd.
44368         (pldd-modules): Variable removed.
44369         ($(objpfx)pldd): Target removed.
44370         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44371         (others, install-bin): Append pldd here.
44372         ($(objpfx)pldd): New target.
44374         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44375         to 0, so the first #if test emitted later doesn't see it undefined.
44376         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44377         * sysdeps/gnu/errlist.c: Regenerated.
44379 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44381         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44382         [libc_hidden_builtin_def]: Define to empty value.
44383         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44384         [libc_hidden_builtin_def]: Likewise.
44385         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44386         [libc_hidden_builtin_def]: Likewise.
44387         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44388         [libc_hidden_builtin_def]: Likewise.
44389         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44390         __redirect_memcpy and define ifunc as default hidden symbol.
44391         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44392         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44394 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44396         * locale/iso-4217.def: Reintroduce XDR currency.
44398 2014-05-04  Allan McRae  <allan@archlinux.org>
44400         * po/eo.po: Update Esperanto translation from translation project.
44402 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44404         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44405         and FEATURE_INDEX_MAX to 1.
44406         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44408 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44410         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44411         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44412         * iconvdata/big5.c (ONE_DIRECTION): Define.
44413         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44414         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44415         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44416         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44417         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44418         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44419         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44420         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44421         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44422         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44423         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44424         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44425         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44426         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44427         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44428         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44429         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44430         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44431         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44432         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44433         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44434         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44435         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44436         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44437         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44438         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44439         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44440         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44441         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44442         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44443         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44444         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44445         * iconvdata/johab.c (ONE_DIRECTION): Define.
44446         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44447         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44448         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44449         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44450         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44451         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44452         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44453         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44454         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44455         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44457 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44459         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44460         (_IO_JUMPS_OFFSET): Define to 0.
44462         * nptl/sysdeps/pthread/bits/libc-lock.h
44463         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44464         (__libc_lock_define_initialized_recursive): Always define using
44465         initializer.  Modern compilers treat uninitialized (implicit zero) and
44466         explicit zero initializers the same (i.e. put the datum in bss).
44468 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44470         * nscd/nscd-client.h: Include <string.h>.
44472 2014-05-01  David S. Miller  <davem@davemloft.net>
44474         [BZ #16885]
44475         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44476         multiple zero bytes exist at the end of a string.
44477         Reported by Aurelien Jarno <aurelien@aurel32.net>
44479         * string/test-strcmp.c (check): Add explicit test for situations where
44480         there are multiple zero bytes after the first.
44482 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44484         [BZ #16890]
44485         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44486         when compiling wprintf.
44487         * stdio-common/tstdiomisc.c (t3): New function.
44488         (main): Call it.
44490 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44492         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44493         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44494         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44495         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44497 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44499         * stdlib/longlong.h: Updated from GCC.
44501 2014-05-01  Will Newton  <will.newton@linaro.org>
44502             Bernard Ogden  <bernie.ogden@linaro.org>
44504         * NEWS: Update fixed bug list.
44506         [BZ #15119]
44507         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44509 2014-04-30  David S. Miller  <davem@davemloft.net>
44511         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44512         (libc_feholdexcept_setround_sparc_ctx): New function.
44513         (libc_fesetenv_sparc_ctx): Likewise.
44514         (libc_feupdateenv_sparc_ctx): Likewise.
44515         (libc_feholdsetround_sparc_ctx): Likewise.
44516         (libc_feholdexcept_setround_ctx): Define.
44517         (libc_feholdexcept_setroundf_ctx): Likewise.
44518         (libc_feholdexcept_setroundl_ctx): Likewise.
44519         (libc_fesetenv_ctx): Likewise.
44520         (libc_fesetenvf_ctx): Likewise.
44521         (libc_fesetenvl_ctx): Likewise.
44522         (libc_feupdateenv_ctx): Likewise.
44523         (libc_feupdateenvf_ctx): Likewise.
44524         (libc_feupdateenvl_ctx): Likewise.
44525         (libc_feresetround_ctx): Likewise.
44526         (libc_feresetroundf_ctx): Likewise.
44527         (libc_feresetroundl_ctx): Likewise.
44528         (libc_feholdsetround_ctx): Likewise.
44529         (libc_feholdsetroundf_ctx): Likewise.
44530         (libc_feholdsetroundl_ctx): Likewise.
44532         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44533         with __USE_GNU instead of XOPEN cpp guards.
44535         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44536         0.
44538         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44539         with XOPEN cpp guards.
44541 2014-04-30  Julian Brown  <julian@codesourcery.com>
44543         [BZ #16888]
44544         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44545         handling.
44547 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44549         [BZ #9894]
44550         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44551         Change to 2.6.32.
44552         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44553         * sysdeps/unix/sysv/linux/configure: Regenerated.
44554         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44555         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44556         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44557         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44558         * README: Update reference to required Linux kernel version.
44559         * manual/install.texi (Linux): Update reference to required Linux
44560         kernel headers version.
44561         * INSTALL: Regenerated.
44563         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44564         header inclusion.
44565         [POSIX] (limits.h): Likewise.
44566         [POSIX] (math.h): Likewise.
44567         [POSIX] (sys/wait.h): Likewise.
44568         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44569         function.
44570         [POSIX] (stddef.h): Do not allow header inclusion.
44572 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44574         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44576 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44578         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44579         Return immediately after lll_futex_wake.
44581 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44583         [BZ #16791]
44584         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44585         structure.
44586         (datahead_init_pos): Call datahead_init_common early.
44587         (datahead_init_neg): Likewise.
44589         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44590         datahead_init_neg): New functions.
44591         * nscd/aicache.c (addhstaiX): Use them.
44592         * nscd/grpcache.c (cache_addgr): Likewise.
44593         * nscd/hstcache.c (cache_addhst): Likewise.
44594         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44595         * nscd/netgroupcache.c (do_notfound): Likewise.
44596         (addgetnetgrentX): Likewise.
44597         (addinnetgrX): Likewise.
44598         * nscd/pwdcache.c (cache_addpw): Likewise.
44599         * nscd/servicescache.c (cache_addserv): Likewise.
44601 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44602             Atsushi Onoe  <atsushi@onoe.org>
44604         [BZ #14308]
44605         [BZ #12994]
44606         [BZ #13651]
44607         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44608         one response is valid.
44609         * resolv/res_send.c (send_dg): Check for validity of other
44610         response if the current response is a referral.
44612 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44614         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44616 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44618         [BZ #16823]
44619         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44620         Always divide by positive zero when computing -Inf result.
44621         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44622         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44624 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44626         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44627         FPSCR if value do not change.
44628         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44629         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44630         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44631         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44632         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44633         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44634         function.
44636 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44638         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44639         * sysdeps/unix/sysv/linux/hppa: Move directory from
44640         ports/systeps/unix/sysv/linux/hppa.
44641         * README: Update listing for hppa-*-linux-gnu.
44643 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44645         [BZ #16754]
44646         * manual/stdio.texi (Hook functions): Fix types of stream hook
44647         functions.
44648         [BZ #16854]
44649         * socket/sys/socket.h: Fix typo in comment.
44651 2014-04-28  Wilco  <wdijkstr@arm.com>
44653         * sysdeps/arm/fenv_private.h: New file.
44654         * sysdeps/arm/math_private.h: New file.
44655         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44657 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44659         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44660         with __int128_t.
44661         (La_x86_64_retval): Likewise.
44663 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44665         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44666         fpsr if value didn't change.
44667         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44668         to fpcr if value didn't change.
44669         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44670         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44671         fpsr or fpcr if value didn't change.
44672         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44673         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44674         fpcr if value didn't change.
44675         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44676         to fpsr if value didn't change.
44678 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44680         * nptl/tst-sem3.c: Use test-skeleton.c
44681         (main): Rename to do_test.  Use return instead of
44682         exit.
44683         * nptl/tst-sem4.c: Use test-skeleton.c
44684         (main): Rename to do_test.
44686 2014-04-22  David S. Miller  <davem@davemloft.net>
44688         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44689         (struct sigaction): New struct member __glibc_reserved0, change
44690         type of sa_flags to int.
44692 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44694         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44695         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44697 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44699         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44700         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44702 2014-04-22  Will Newton  <will.newton@linaro.org>
44703             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44705         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44706         (__longjmp): Add longjmp and longjmp_target SystemTap
44707         probes.
44708         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44709         (__sigsetjmp): Add setjmp SystemTap probe.
44711 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44713         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44714         match manual order.
44716 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44718         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44720         * sysdeps/powerpc/fpu/fenv_private.h
44721         (libc_feholdexcept_setroundl_ctx): Define to
44722         libc_feholdexcept_setround_ppc_ctx.
44723         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44724         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44725         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44726         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44728 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44730         * sysdeps/aarch64/math-tests.h: New file.
44732 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44734         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44735         New.
44736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44737         Check and set bit_AVX2_Usable.
44738         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44739         macro.
44740         (bit_AVX2): Likewise.
44741         (index_AVX2_Usable): Likewise.
44742         (CPUID_AVX2): Likewise.
44743         (HAS_AVX2): Likewise.
44745 2014-04-17  Will Newton  <will.newton@linaro.org>
44747         * manual/setjmp.texi (System V contexts): Add note that
44748         calling setcontext on a context created by a call to a
44749         signal handler is undefined.  Update text to note that
44750         setcontext from a signal handler is possible but not
44751         recommended.
44753         [BZ #16629]
44754         * stdlib/tst-setcontext.c: Include signal.h.
44755         (main): Check that the signal stack before and
44756         after swapcontext is the same.
44758         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44759         Re-implement to restore registers in user code and avoid
44760         rt_sigreturn system call.
44762 2014-04-17  Wilco  <wdijkstr@arm.com>
44764         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44765         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44766         * math/test-fenv.c: Skip exception trap tests on targets which only
44767         support non-stop mode.
44769 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44770             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44772         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44773         (libc_feholdsetround_aarch64_ctx)
44774         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44775         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44776         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44777         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44778         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44779         (libc_feresetround_noexl_ctx): Define.
44781 2014-04-16  Richard Henderson  <rth@redhat.com>
44783         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44785         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44786         unwind tables.
44788         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44789         const from the non-libc, non-ldso copy.
44791         * sysdeps/alpha/libm-test-ulps: Regenerate.
44793 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44794             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44796         * sysdeps/aarch64/fpu/math_private.h: New file.
44798 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44800         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44802 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44804         [BZ #16275]
44805         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44806         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44808         Intel MPX bound registers before _dl_profile_fixup.
44809         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44810         registers after _dl_profile_fixup.  Save and restore bound
44811         registers bnd0/bnd1 when calling _dl_call_pltexit.
44812         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44813         (LR_BND_OFFSET): Likewise.
44814         (LRV_BND0_OFFSET): Likewise.
44815         (LRV_BND1_OFFSET): Likewise.
44817 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44819         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44820         to...
44821         * sysdeps/mach/hurd/i386/tls.h: ... here.
44822         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44823         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44824         fields.
44826 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44828         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44830 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44832         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44834 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44836         [BZ #14770]
44837         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44838         * sysdeps/s390/configure: Regenerate.
44840         [BZ #16824]
44841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44842         Set round-to-nearest internally to reduce error accumulation.
44844 2014-04-16  Alan Modra  <amodra@gmail.com>
44846         [BZ #16740]
44847         [BZ #16619]
44848         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44849         * math/libm-test.inc (frexp_test_data): Add tests.
44850         * NEWS: Update fixed bug list.
44852 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44854         * benchtests/Makefile: Depend on libraries in build directory.
44855         (bench-math): Separate out math tests.
44856         (bench-pthread): Separate out pthread tests.
44857         (bench): Include math and pthread tests.
44859 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44861         [BZ #16831]
44862         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44863         _dl_debug_initialize.
44865         * configure.ac: Remove SELinux header check.
44866         * configure: Regenerate.
44867         * nscd/selinux.c (perms): Array of const char* to permission names.
44868         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44869         default policy. Call string_to_security_class and string_to_av_perm to
44870         translate strings. Enforce default policy and call avs_has_perm with
44871         results of translated strings.
44873 2014-04-13  David S. Miller  <davem@davemloft.net>
44875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44877 2014-04-12  Allan McRae  <allan@archlinux.org>
44879         [BZ #16838]
44880         * manual/string.texi (Collation Functions): Fix qsort argument
44881         order in example.
44882         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44884 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44886         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44887         Make the test a no-op if there are no exceptions defined.
44889 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44891         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44892         enable-hardcoded-path-in-tests
44894 2014-04-11  Will Newton  <will.newton@linaro.org>
44896         * benchtests/Makefile (extra-objs): Add json-lib.o.
44897         (bench-func): Tidy up JSON output.
44898         * benchtests/bench-skeleton.c: Include json-lib.h.
44899         (main): Use JSON library functions to do output of
44900         benchmark results.
44901         * benchtests/bench-timing-type.c (main): Output the
44902         timing type simply, leaving formatting to the user.
44903         * benchtests/json-lib.c: New file.
44904         * benchtests/json-lib.h: Likewise.
44906 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44908         [BZ #15215]
44909         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44910         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44911         memory barriers.  Add comments.
44912         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44913         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44914         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44915         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44916         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44917         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44919 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44921         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44922         * sysdeps/s390/s390-64/configure.ac: ... this ...
44923         * sysdeps/s390/configure.ac: ... to here.
44924         * sysdeps/s390/s390-32/configure: Delete file.
44925         * sysdeps/s390/s390-64/configure: Delete file.
44926         * sysdeps/s390/configure: Regenerate.
44928 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44930         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44932 2014-04-11  Will Newton  <will.newton@linaro.org>
44934         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44935         to zero if it is not defined elsewhere.  (mtrim): Test
44936         the value of MALLOC_DEBUG with #if rather than #ifdef.
44938 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44940         * benchtests/pthread_once-inputs: New file.
44941         * benchtests/pthread_once-source.c: New file.
44942         * benchtests/README: Update documentation.
44944 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44945             H.J. Lu  <hongjiu.lu@intel.com>
44947         [BZ #16275]
44948         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44949         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44950         * sysdeps/x86_64/configure: Regenerated.
44951         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44952         macro.
44953         (REGISTER_SAVE_RAX): Likewise.
44954         (REGISTER_SAVE_RCX): Likewise.
44955         (REGISTER_SAVE_RDX): Likewise.
44956         (REGISTER_SAVE_RSI): Likewise.
44957         (REGISTER_SAVE_RDI): Likewise.
44958         (REGISTER_SAVE_R8): Likewise.
44959         (REGISTER_SAVE_R9): Likewise.
44960         (REGISTER_SAVE_BND0): Likewise.
44961         (REGISTER_SAVE_BND1): Likewise.
44962         (REGISTER_SAVE_BND2): Likewise.
44963         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44964         bound registers when calling _dl_fixup.
44966 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44968         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44969         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44970         of its definition.
44971         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44972         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44973         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44974         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44975         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44976         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44977         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44979 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44981         [BZ #15514]
44982         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44983         pathconf(_PC_NAME_MAX).
44985 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44987         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44988         Remove macro usage.
44989         (__PTHREAD_SPINS): Move definition to ...
44990         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44991         (__PTHREAD_SPINS): ... here.
44992         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44993         (__PTHREAD_SPIN): Likewise.
44994         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44995         (__PTHREAD_SPIN): Likewise.
44996         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44997         (__PTHREAD_SPIN): Likewise.
44998         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44999         (__PTHREAD_SPIN): Likewise.
45000         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45001         (__PTHREAD_SPIN): Likewise.
45002         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45003         (__PTHREAD_SPIN): Likewise.
45004         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45005         (__PTHREAD_SPIN): Likewise.
45006         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45007         (__PTHREAD_SPIN): Likewise.
45008         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45009         (__PTHREAD_SPIN): Likewise.
45010         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45011         (__PTHREAD_SPIN): Likewise.
45012         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45013         (__PTHREAD_SPIN): Likewise.
45014         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45015         (__PTHREAD_SPIN): Likewise.
45017         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45018         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45019         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45020         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45021         imply folder.
45022         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45023         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45024         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45025         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45026         correct imply path.
45027         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45028         strlen symbol for non multi-arch builds.
45029         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45030         missing hidden_def and weak_alias.
45032 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45034         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45036 2014-04-07  Will Newton  <will.newton@linaro.org>
45038         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45039         and contents.  [!_LIBC] Remove #ifndef and contents.
45040         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45041         * string/memccpy.c (__memccpy): Use ANSI prototype.
45042         * string/memfrob.c (memfrob): Likewise.
45043         * string/strcoll.c (STRCOLL): Likewise.
45044         * string/strlen.c (strlen): Likewise.
45045         * string/strtok.c (STRTOK): Likewise.
45046         * string/strcat.c: Remove unused #include of memcopy.h.
45047         (strcat): Use ANSI prototype.
45048         * string/strchr.c: Remove unused #include of memcopy.h.
45049         (strchr): Use ANSI prototype.
45050         * string/strcmp.c: Remove unused #include of memcopy.h.
45051         (strcmp): Use ANSI prototype.
45052         * string/strcpy.c: Remove unused #include of memcopy.h.
45053         (strcpy): Use ANSI prototype.
45055 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45057         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45058         * config.make.in (config-extra-cppflags): Set it from
45059         libc_extra_cppflags.
45060         * configure.ac (libc_extra_cflags): Make it accumulate over
45061         configure fragments.
45062         (libc_extra_cppflags): New flag.
45063         * configure. Regenerate.
45064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45065         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45066         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45069         [BZ #16815]
45070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45071         result for FE_DOWNWARD rounding mode.
45072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45073         Likewise.
45074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45076 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45078         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45079         in function argument name.
45081 2014-04-03  David Svoboda  <svoboda@cert.org>
45083         [BZ #5666]
45084         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45085         explicitly.
45087 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45089         * elf/dl-unmap-segments.h: New file.
45090         * sysdeps/generic/ldsodefs.h
45091         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45092         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45093         * elf/dl-fptr.c: Likewise.
45094         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45095         * sysdeps/aarch64/tlsdesc.c: Likewise.
45096         * sysdeps/arm/tlsdesc.c: Likewise.
45097         * sysdeps/i386/tlsdesc.c: Likewise.
45098         * sysdeps/tile/dl-runtime.c: Likewise.
45099         * sysdeps/x86_64/tlsdesc.c: Likewise.
45100         * elf/dl-load.h: New file.
45101         * elf/dl-load.c: Include it.
45102         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45103         Macros moved to dl-load.h.
45104         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45105         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45106         Use _dl_unmap_segments in place of __munmap.
45107         Break out segment-mapping loop into ...
45108         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45110 2014-04-03  Will Newton  <will.newton@linaro.org>
45112         * elf/dl-lookup.c (do_lookup_x): Remove comment
45113         referring to nested function and move variable
45114         declarations down to before first use.
45116 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45118         [BZ #16799]
45119         [BZ #16800]
45120         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45121         with 0 numerator.
45122         * math/s_catanf.c (__catanf): Likewise.
45123         * math/s_catanh.c (__catanh): Likewise.
45124         * math/s_catanhf.c (__catanhf): Likewise.
45125         * math/s_catanhl.c (__catanhl): Likewise.
45126         * math/s_catanl.c (__catanl): Likewise.
45127         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45128         by positive zero when computing -Inf result.
45129         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45130         (catanh_test): Likewise.
45131         * sysdeps/i386/fpu/libm-test-ulps: Update.
45132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45134         [BZ #16789]
45135         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45136         instead of using underflowing value in computing result.
45137         * math/s_clog10.c (__clog10): Likewise.
45138         * math/s_clog10f.c (__clog10f): Likewise.
45139         * math/s_clog10l.c (__clog10l): Likewise.
45140         * math/s_clogf.c (__clogf): Likewise.
45141         * math/s_clogl.c (__clogl): Likewise.
45142         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45143         (clog10_test): Likewise.
45144         * sysdeps/i386/fpu/libm-test-ulps: Update.
45145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45147 2014-04-02  Alan Modra  <amodra@gmail.com>
45149         [BZ #16739]
45150         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45151         output when value is near a power of two.  Use int64_t for lx and
45152         remove casts.  Use decimal rather than hex exponent constants.
45153         Don't use long double multiplication when double will suffice.
45154         * math/libm-test.inc (nextafter_test_data): Add tests.
45155         * NEWS: Add 16739 and 16786 to bug list.
45157         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45159         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45161 2014-04-01  Will Newton  <will.newton@linaro.org>
45163         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45164         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45166 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45168         [BZ #13347]
45169         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45170         * nptl/tst-setuid2.c: New file.
45171         * nptl/Makefile (xtests): Add tst-setuid2.
45173 2014-04-01  Alan Modra  <amodra@gmail.com>
45175         [BZ #16786]
45176         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45178 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45180         [BZ #6803]
45181         [BZ #6804]
45182         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45183         set errno as appropriate.
45184         * math/w_scalbf.c (__scalbf): Likewise.
45185         * math/w_scalbl.c (__scalbl): Likewise.
45186         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45187         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45188         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45189         Add more NaN tests.
45191         [BZ #16349]
45192         * math/w_atan2.c: Include <errno.h>.
45193         (__atan2): Set errno for result underflowing to zero.
45194         * math/w_atan2f.c: Include <errno.h>.
45195         (__atan2f): Set errno for result underflowing to zero.
45196         * math/w_atan2l.c: Include <errno.h>.
45197         (__atan2l): Set errno for result underflowing to zero.
45198         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45199         tests.
45200         * math/auto-libm-test-out: Regenerated.
45202 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45204         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45205         Encode instruction correctly in little endian.
45206         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45207         Likewise.
45208         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45209         Likewise.
45210         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45211         Likewise.
45212         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45213         Likewise.
45215 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45217         [BZ #9894]
45218         * sysdeps/unix/sysv/linux/kernel-features.h
45219         [__sparc__ && !__arch64__ && !__sparc_v9__]
45220         (__ASSUME_SET_ROBUST_LIST): Do not define.
45221         [__sparc__ && !__arch64__ && !__sparc_v9__]
45222         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45223         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45224         Likewise.
45225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45226         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45227         (__ASSUME_REQUEUE_PI): Likewise.
45228         (__ASSUME_SET_ROBUST_LIST): Likewise.
45229         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45230         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45231         Undefine.
45232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45233         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45234         Likewise.
45235         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45236         Likewise.
45237         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45238         Likewise.
45239         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45240         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45241         Undefine.
45242         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45243         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45244         Likewise.
45246         [BZ #16648]
45247         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45249         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45251 2014-03-31  Will Newton  <will.newton@linaro.org>
45253         * benchtests/Makefile (bench): Add ffs and ffsll to list
45254         of tests.
45255         * benchtests/ffs-inputs: New file.
45256         * benchtests/ffsll-inputs: Likewise.
45258 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45260         [BZ #16770]
45261         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45262         too large before casting to int.
45263         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45264         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45265         * math/libm-test.inc (scalb_test_data): Add more tests.
45267 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45269         * benchtests/Makefile (DETAILED_OPT): New make option.
45270         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45271         set.
45272         * benchtests/bench-skeleton.c: Include stdbool.h.
45273         (main): Store and print timings per input.
45274         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45275         member to each argument value.
45276         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45277         (_print_arg_data): Initialize per-input timing to 0.
45279         * benchtests/Makefile (timing-type): New binary.
45280         (bench-clean): Also remove bench-timing-type.
45281         (bench): New target for timing-type.
45282         (bench-func): Print output in JSON format.
45283         * benchtests/bench-skeleton.c (main): Print output in JSON
45284         format.
45285         * benchtests/bench-timing-type.c: New file.
45286         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45287         (TIMING_PRINT_STATS): Remove.
45288         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45289         name separately.
45291         * benchtests/bench-modf.c: Remove.
45292         * benchtests/modf-inputs: New inputs file.
45294 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45296         [BZ #16362]
45297         * math/s_clog10.c (M_PI_LOG10E): New macro.
45298         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45299         imaginary parts are 0.
45300         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45301         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45302         imaginary parts are 0.
45303         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45304         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45305         imaginary parts are 0.
45306         * math/libm-test.inc (clog10_test_data): Update expected results
45307         for when real and imaginary parts are 0.
45309 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45311         * elf/dl-load.c: Finish conversion of __builtin_expect into
45312         __glibc_{un}likely.
45314 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45316         [BZ #16348]
45317         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45318         1+x for argument with exponent below -67.
45319         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45320         Likewise.
45321         * math/auto-libm-test-in: Add more tests of exp.
45322         * math/auto-libm-test-out: Regenerated.
45324 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45326         [BZ #16759]
45327         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45328         (nscd_getnetgrent): Use it.
45330         [BZ #16760]
45331         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45332         of stpcpy.
45334 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45336         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45337         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45338         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45339         (lll_robust_unlock): Remove out of line section. Use cfi
45340         intrinsics.
45341         (LLL_STUB_UNWIND_INFO*): Remove.
45342         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45343         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45344         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45345         (lll_robust_unlock): Remove out of line section. Use cfi
45346         intrinsics.
45347         (LLL_STUB_UNWIND_INFO*): Remove.
45349 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45351         [BZ #16758]
45352         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45353         blank values.
45355 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45357         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45359 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45361         [BZ #16198]
45362         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45363         fnstenv.
45364         * math/test-fenv-preserve.c: New file.
45365         * math/Makefile (tests): Add test-fenv-preserve.
45367 2014-03-26  Will Newton <will.newton@linaro.org>
45369         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45371 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45373         * scripts/versionlist.awk: Partition the version sets and emit all
45374         GLIBC_* (sorted) before all others (sorted).
45376 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45378         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45379         GLIBC_2.2.5 version.
45381 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45383         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45384         calls.
45386         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45387         previous change.
45389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45391 2014-03-25  Andreas Schwab  <schwab@suse.de>
45393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45394         label to be used after in6ailist is initialized.
45396 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45398         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45399         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45401 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45403         [BZ #16357]
45404         [BZ #16599]
45405         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45406         min_plus_half.
45407         (fp_formats): Update initializers.
45408         (init_fp_formats): Initialize new field.
45409         (output_for_one_input_case): Allow underflow for results up to
45410         min_plus_half.
45411         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45412         * math/auto-libm-test-in: Don't mark some underflows from asin and
45413         atanh as spurious.
45414         * math/auto-libm-test-out: Regenerated.
45415         * sysdeps/i386/fpu/libm-test-ulps: Update.
45416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45418 2014-03-25  Andreas Schwab  <schwab@suse.de>
45420         * libio/Makefile (tst-ftell-partial-wide-ENV)
45421         (tst-ftell-active-handler-ENV): Define.
45423 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45425         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45427 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45429         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45431 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45433         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45434         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45435         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45437 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45439         [BZ #16634]
45440         * elf/dl-load.c (open_verify): Add mode parameter.
45441         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45442         (open_path): Change from boolean 'secure' to complete flag 'mode'
45443         (_dl_map_object): Adjust.
45444         * elf/Makefile (tests): Add tst-dlopen-aout.
45445         * elf/tst-dlopen-aout.c: New test.
45447 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45449         [BZ #16714]
45450         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45451         (struct stat): Rename member pad0 to __glibc_reserved0.
45453         [BZ #16712]
45454         * sysdeps/s390/s390-32/bits/wordsize.h
45455         (__WORDSIZE32_SIZE_ULONG): New define.
45456         * sysdeps/s390/s390-64/bits/wordsize.h
45457         (__WORDSIZE32_SIZE_ULONG): Likewise.
45458         * sysdeps/generic/stdint.h (SIZE_MAX):
45459         Define as UL if __WORDSIZE32_SIZE_ULONG.
45461         [BZ #16713]
45462         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45463         (__glibc_reserved0): New variable.
45464         (sa_flags): Change type to int.
45466         * posix/Makefile (before-compile): Use += before-compile instead
45467         of a :=.
45469         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45470         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45472 2014-03-20  Andreas Schwab  <schwab@suse.de>
45474         [BZ #16743]
45475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45476         non-matching result from nscd.
45478 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45480         * scripts/bench.py: Moved to ...
45481         * benchtests/scripts/bench.py: ... here.
45482         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45484 2014-03-24  Andreas Schwab  <schwab@suse.de>
45486         [BZ #16002]
45487         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45488         alloca_account and account alloca use for struct in6ailist.
45490 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45492         [BZ #16284]
45493         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45494         rounding mode to recompute results that overflow to infinity or
45495         underflow to zero.
45496         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45497         bug 16284.
45498         * math/auto-libm-test-out: Regenerated.
45499         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45500         (ccosh_test): Likewise.
45501         (csin_test_data): Use plus_oflow.
45502         (csin_test): Use ALL_RM_TEST.
45503         (csinh_test_data): Use plus_oflow.
45504         (csinh_test): Use ALL_RM_TEST.
45505         * sysdeps/i386/fpu/libm-test-ulps: Update.
45506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45508 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45510         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45511         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45512         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45514         [BZ #16731]
45515         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45516         when x - 1 is zero.
45517         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45518         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45519         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45520         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45521         argument is 1.
45522         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45523         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45524         zero.
45525         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45526         * sysdeps/i386/fpu/libm-test-ulps: Update.
45527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45529 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45531         * scripts/bench.pl: Remove file.
45532         * scripts/bench.py: New benchmark script.
45533         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45534         * benchtests/README: Mention python dependency.
45535         * scripts/pylintrc: New file.
45536         * scripts/pylint: New file.
45538         * bits/mathdef.h: Use #ifdef instead of #if.
45539         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45540         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45541         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45542         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45543         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45544         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45546 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45547             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45549         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45550         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45551         and strpbrk-ppc64 objects.
45552         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45553         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45554         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45555         multiarch strpbrk for POWER7.
45556         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45557         multiarch strpbrk for PPC64.
45558         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45559         ifunc selector.
45560         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45561         strpbrk for POWER7.
45563 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45565         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45566         (atan_test): Likewise.
45567         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45568         (atanh_test): Use ALL_RM_TEST.
45569         (atan2_test_data): Likewise.
45570         (cabs_test): Likewise.
45571         (cacosh_test): Likewise.
45572         (carg_test): Likewise.
45573         (casin_test): Likewise.
45574         (casinh_test): Likewise.
45575         (cbrt_test): Likewise.
45576         (csqrt_test): Likewise.
45577         (erf_test): Likewise.
45578         (erfc_test): Likewise.
45579         (pow10_test): Likewise.
45580         (exp2_test): Likewise.
45581         (hypot_test): Likewise.
45582         (j0_test): Likewise.
45583         (j1_test): Likewise.
45584         (lgamma_test): Likewise.
45585         (gamma_test): Likewise.
45586         (sincos_test): Likewise.
45587         (tanh_test): Likewise.
45588         (y0_test): Likewise.
45589         (y1_test): Likewise.
45590         * sysdeps/i386/fpu/libm-test-ulps: Update.
45591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45593 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45595         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45597         and strcspn-ppc64 objects.
45598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45599         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45600         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45601         multiarch strcspn for POWER7.
45602         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45603         multiarch strcspn for PPC64.
45604         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45605         ifunc selector.
45606         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45607         strcspn for POWER7.
45609 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45611         * math/gen-libm-test.pl (generate_testfile): Expect only function
45612         name as argument to AUTO_TESTS_* and pass results for all rounding
45613         modes to parse_args.
45614         (parse_auto_input): Separate inputs of automatic tests from
45615         outputs before storing in %auto_tests.
45616         * math/libm-test.inc (acos_test_data): Update call to
45617         AUTO_TESTS_f_f.
45618         (acos_test): Use ALL_RM_TEST.
45619         (acos_tonearest_test_data): Remove.
45620         (acos_test_tonearest): Likewise.
45621         (acos_towardzero_test_data): Likewise.
45622         (acos_test_towardzero): Likewise.
45623         (acos_downward_test_data): Likewise.
45624         (acos_test_downward): Likewise.
45625         (acos_upward_test_data): Likewise.
45626         (acos_test_upward): Likewise.
45627         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45628         (asin_test_data): Likewise.
45629         (asin_test): Use ALL_RM_TEST.
45630         (asin_tonearest_test_data): Remove.
45631         (asin_test_tonearest): Likewise.
45632         (asin_towardzero_test_data): Likewise.
45633         (asin_test_towardzero): Likewise.
45634         (asin_downward_test_data): Likewise.
45635         (asin_test_downward): Likewise.
45636         (asin_upward_test_data): Likewise.
45637         (asin_test_upward): Likewise.
45638         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45639         (atan_test_data): Likewise.
45640         (atanh_test_data): Likewise.
45641         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45642         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45643         (carg_test_data): Likewise.
45644         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45645         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45646         (ccosh_test_data): Likewise.
45647         (cexp_test_data): Likewise.
45648         (clog_test_data): Likewise.
45649         (clog10_test_data): Likewise.
45650         (cos_test_data): Update call to AUTO_TESTS_f_f.
45651         (cos_test): Use ALL_RM_TEST.
45652         (cos_tonearest_test_data): Remove.
45653         (cos_test_tonearest): Likewise.
45654         (cos_towardzero_test_data): Likewise.
45655         (cos_test_towardzero): Likewise.
45656         (cos_downward_test_data): Likewise.
45657         (cos_test_downward): Likewise.
45658         (cos_upward_test_data): Likewise.
45659         (cos_test_upward): Likewise.
45660         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45661         (cosh_test): Use ALL_RM_TEST.
45662         (cosh_tonearest_test_data): Remove.
45663         (cosh_test_tonearest): Likewise.
45664         (cosh_towardzero_test_data): Likewise.
45665         (cosh_test_towardzero): Likewise.
45666         (cosh_downward_test_data): Likewise.
45667         (cosh_test_downward): Likewise.
45668         (cosh_upward_test_data): Likewise.
45669         (cosh_test_upward): Likewise.
45670         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45671         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45672         (ctan_test_data): Likewise.
45673         (ctan_test): Use ALL_RM_TEST.
45674         (ctan_tonearest_test_data): Remove.
45675         (ctan_test_tonearest): Likewise.
45676         (ctan_towardzero_test_data): Likewise.
45677         (ctan_test_towardzero): Likewise.
45678         (ctan_downward_test_data): Likewise.
45679         (ctan_test_downward): Likewise.
45680         (ctan_upward_test_data): Likewise.
45681         (ctan_test_upward): Likewise.
45682         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45683         (ctanh_test): Use ALL_RM_TEST.
45684         (ctanh_tonearest_test_data): Remove.
45685         (ctanh_test_tonearest): Likewise.
45686         (ctanh_towardzero_test_data): Likewise.
45687         (ctanh_test_towardzero): Likewise.
45688         (ctanh_downward_test_data): Likewise.
45689         (ctanh_test_downward): Likewise.
45690         (ctanh_upward_test_data): Likewise.
45691         (ctanh_test_upward): Likewise.
45692         (erf_test_data): Update call to AUTO_TESTS_f_f.
45693         (erfc_test_data): Likewise.
45694         (exp_test_data): Likewise.
45695         (exp_test): Use ALL_RM_TEST.
45696         (exp_tonearest_test_data): Remove.
45697         (exp_test_tonearest): Likewise.
45698         (exp_towardzero_test_data): Likewise.
45699         (exp_test_towardzero): Likewise.
45700         (exp_downward_test_data): Likewise.
45701         (exp_test_downward): Likewise.
45702         (exp_upward_test_data): Likewise.
45703         (exp_test_upward): Likewise.
45704         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45705         (exp10_test): Use ALL_RM_TEST.
45706         (exp10_tonearest_test_data): Remove.
45707         (exp10_test_tonearest): Likewise.
45708         (exp10_towardzero_test_data): Likewise.
45709         (exp10_test_towardzero): Likewise.
45710         (exp10_downward_test_data): Likewise.
45711         (exp10_test_downward): Likewise.
45712         (exp10_upward_test_data): Likewise.
45713         (exp10_test_upward): Likewise.
45714         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45715         (expm1_test_data): Likewise.
45716         (expm1_test): Use ALL_RM_TEST.
45717         (expm1_tonearest_test_data): Remove.
45718         (expm1_test_tonearest): Likewise.
45719         (expm1_towardzero_test_data): Likewise.
45720         (expm1_test_towardzero): Likewise.
45721         (expm1_downward_test_data): Likewise.
45722         (expm1_test_downward): Likewise.
45723         (expm1_upward_test_data): Likewise.
45724         (expm1_test_upward): Likewise.
45725         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45726         (fma_test): Use ALL_RM_TEST.
45727         (fma_towardzero_test_data): Remove.
45728         (fma_test_towardzero): Likewise.
45729         (fma_downward_test_data): Likewise.
45730         (fma_test_downward): Likewise.
45731         (fma_upward_test_data): Likewise.
45732         (fma_test_upward): Likewise.
45733         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45734         (j0_test_data): Update call to AUTO_TESTS_f_f.
45735         (j1_test_data): Likewise.
45736         (jn_test_data): Update call to AUTO_TESTS_if_f.
45737         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45738         (log_test_data): Update call to AUTO_TESTS_f_f.
45739         (log10_test_data): Likewise.
45740         (log1p_test_data): Likewise.
45741         (log2_test_data): Likewise.
45742         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45743         (pow_tonearest_test_data): Likewise.
45744         (sin_test_data): Update call to AUTO_TESTS_f_f.
45745         (sin_test): Use ALL_RM_TEST.
45746         (sin_tonearest_test_data): Remove.
45747         (sin_test_tonearest): Likewise.
45748         (sin_towardzero_test_data): Likewise.
45749         (sin_test_towardzero): Likewise.
45750         (sin_downward_test_data): Likewise.
45751         (sin_test_downward): Likewise.
45752         (sin_upward_test_data): Likewise.
45753         (sin_test_upward): Likewise.
45754         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45755         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45756         (sinh_test): Use ALL_RM_TEST.
45757         (sinh_tonearest_test_data): Remove.
45758         (sinh_test_tonearest): Likewise.
45759         (sinh_towardzero_test_data): Likewise.
45760         (sinh_test_towardzero): Likewise.
45761         (sinh_downward_test_data): Likewise.
45762         (sinh_test_downward): Likewise.
45763         (sinh_upward_test_data): Likewise.
45764         (sinh_test_upward): Likewise.
45765         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45766         (sqrt_test): Use ALL_RM_TEST.
45767         (sqrt_tonearest_test_data): Remove.
45768         (sqrt_test_tonearest): Likewise.
45769         (sqrt_towardzero_test_data): Likewise.
45770         (sqrt_test_towardzero): Likewise.
45771         (sqrt_downward_test_data): Likewise.
45772         (sqrt_test_downward): Likewise.
45773         (sqrt_upward_test_data): Likewise.
45774         (sqrt_test_upward): Likewise.
45775         (tan_test_data): Update call to AUTO_TESTS_f_f.
45776         (tan_test): Use ALL_RM_TEST.
45777         (tan_tonearest_test_data): Remove.
45778         (tan_test_tonearest): Likewise.
45779         (tan_towardzero_test_data): Likewise.
45780         (tan_test_towardzero): Likewise.
45781         (tan_downward_test_data): Likewise.
45782         (tan_test_downward): Likewise.
45783         (tan_upward_test_data): Likewise.
45784         (tan_test_upward): Likewise.
45785         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45786         (tgamma_test_data): Likewise.
45787         (y0_test_data): Likewise.
45788         (y1_test_data): Likewise.
45789         (yn_test_data): Update call to AUTO_TESTS_if_f.
45790         (main): Do not call removed functions.
45792 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45794         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45795         (ldexp_test_data): Remove.
45796         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45797         scalbn_test_data.
45798         (scalb_test): Use ALL_RM_TEST.
45800 2014-03-19  Andreas Schwab  <schwab@suse.de>
45802         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45804 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45806         [BZ #16649]
45807         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45808         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45809         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45811         (__ASSUME_PREADV): Undefine.
45812         (__ASSUME_PWRITEV): Likewise.
45814 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45816         * bits/mman-linux.h: Add comment about non-Linux use.
45817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45818         bits/mman-linux.h resting place.
45820         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45821         * bits/mman-linux.h: ... here.
45823 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45825         * conform/conformtest.pl: Add standard definition when calling C
45826         preprocessor on data files.
45827         (checknamespace): Remove unused variable.
45829 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45831         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45832         minus_oflow, plus_uflow and minus_uflow in expected results.
45833         * math/libm-test.inc (scalbn_test_data): Add more tests of
45834         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45835         minus_uflow.
45836         (scalbn_test): Use ALL_RM_TEST.
45837         (scalbln_test_data): Add more tests of negative arguments.  Use
45838         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45839         (scalbln_test): Use ALL_RM_TEST.
45841 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45843         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45845 2014-03-18  Will Newton  <will.newton@linaro.org>
45847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45848         inaccurate comment.
45850 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45852         * Makerules [!subdir] (check-abi): Exit with error status if a
45853         test failed.
45855 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45857         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45858         for rint.  Include results for all rounding modes.
45859         (nearbyint_test): Use ALL_RM_TEST.
45860         (rint_test_data): Include all tests used for nearbyint.
45862 2014-03-17  Will Newton  <will.newton@linaro.org>
45864         * nptl/sysdeps/pthread/pthread.h: Revert previous
45865         change.
45867         * sysdeps/generic/ldsodefs.h: Revert previous
45868         change.
45870         * libio/genops.c: Revert previous change.
45871         * libio/libioP.h: Likewise.
45872         * stdio-common/vfprintf.c: Likewise.
45874         * sysdeps/generic/math_private.h: Revert previous
45875         change.
45877         * sysdeps/generic/math_private.h: Check whether
45878         HAVE_RM_CTX is defined with #ifdef rather
45879         than #if.
45881         * argp/argp-fmtstream.h: Check whether
45882         __STRICT_ANSI__ is defined with #ifdef rather
45883         than #if.
45884         * argp/argp.h: Likewise.
45886         * libio/genops.c: Check whether
45887         _IO_JUMPS_OFFSET is defined with #ifdef rather
45888         than #if.
45889         * libio/libioP.h: Likewise.
45890         * stdio-common/vfprintf.c: Likewise.
45892         * sysdeps/generic/ldsodefs.h: Check whether
45893         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45894         than #if.
45896         * nptl/sysdeps/pthread/pthread.h: Check
45897         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45898         its value.
45900 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45902         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45903         setting O_APPEND.
45904         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45905         test case.
45907         [BZ #16680]
45908         * libio/fileops.c (_IO_file_open): Seek to end of file but
45909         don't cache the offset.
45910         (get_file_offset): Remove function.
45911         (do_ftell): Use cached offset when available.
45912         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45913         don't cache the offset.
45914         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45915         case.
45916         (do_one_test): Call it.
45917         (do_ftell_test): Fix up expected old offset for a+ mode.
45918         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45919         available.
45921         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45922         up test status with function return status.
45923         (do_write_test): Likewise.
45924         (do_append_test): Likewise.
45926         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45927         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45928         Remove.
45930 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45932         * math/gen-libm-test.pl (parse_args): Handle results specified for
45933         each rounding mode separately.
45934         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45935         tests and results from lrint_tonearest_test_data,
45936         lrint_towardzero_test_data, lrint_downward_test_data and
45937         lrint_upward_test_data.
45938         (lrint_test): Use ALL_RM_TEST.
45939         (lrint_tonearest_test_data): Remove.
45940         (lrint_test_tonearest): Likewise.
45941         (lrint_towardzero_test_data): Likewise.
45942         (lrint_test_towardzero): Likewise.
45943         (lrint_downward_test_data): Likewise.
45944         (lrint_test_downward): Likewise.
45945         (lrint_upward_test_data): Likewise.
45946         (lrint_test_upward): Likewise.
45947         (llrint_test_data): Merge in per-rounding-mode tests and results
45948         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45949         llrint_downward_test_data and llrint_upward_test_data.
45950         (llrint_test): Use ALL_RM_TEST.
45951         (llrint_tonearest_test_data): Remove.
45952         (llrint_test_tonearest): Likewise.
45953         (llrint_towardzero_test_data): Likewise.
45954         (llrint_test_towardzero): Likewise.
45955         (llrint_downward_test_data): Likewise.
45956         (llrint_test_downward): Likewise.
45957         (llrint_upward_test_data): Likewise.
45958         (llrint_test_upward): Likewise.
45959         (rint_test_data): Merge in per-rounding-mode tests and results
45960         from rint_tonearest_test_data, rint_towardzero_test_data,
45961         rint_downward_test_data and rint_upward_test_data.  Add
45962         per-rounding-mode results for tests not in those arrays.
45963         (rint_test): Use ALL_RM_TEST.
45964         (rint_tonearest_test_data): Remove.
45965         (rint_test_tonearest): Likewise.
45966         (rint_towardzero_test_data): Likewise.
45967         (rint_test_towardzero): Likewise.
45968         (rint_downward_test_data): Likewise.
45969         (rint_test_downward): Likewise.
45970         (rint_upward_test_data): Likewise.
45971         (rint_test_upward): Likewise.
45972         (main): Don't call removed functions.
45974 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45976         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45977         "Compiled on ..." crapola.  It is anti-useful.
45979 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45981         * scripts/evaluate-test.sh: Handle fourth argument to determine
45982         whether test run should stop on failure.
45983         * Makeconfig (stop-on-test-failure): New variable.
45984         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45985         $(stop-on-test-failure).
45986         * Makefile (tests): Give a summary of results from testing and
45987         exit with failure status if they include an ERROR or FAIL.
45988         (xtests): Likewise.
45989         * manual/install.texi (Configuring and compiling): Mention
45990         stop-on-test-failure=y.
45991         * INSTALL: Regenerated.
45993 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45995         * scripts/versionlist.awk: New file.
45996         * Makerules [$(build-shared) = yes]
45997         (postclean-generated): Add Versions.def, not Versions.def.v and
45998         Versions.def.v.i.
45999         ($(common-objpfx)Versions.def.v.i): Target removed.
46000         ($(common-objpfx)Versions.def): New target.
46001         ($(common-objpfx)Versions.all): Depend on that rather that
46002         $(common-objpfx)Versions.def.v.
46003         * Versions.def: File removed.
46005         * Makeconfig (+gccwarn): Add -Wundef.
46006         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46007         a dl-sysdep.h breaking its contract.
46008         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46009         * include/stackinfo.h: New file.
46010         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46011         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46012         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46013         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46014         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46015         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46016         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46017         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46018         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46019         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46020         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46021         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46022         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46023         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46024         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46026 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46028         [BZ #16707]
46029         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46030         implementation.
46031         * math/libm-test.inc (round_test_data): Add more tests.
46033         [BZ #16706]
46034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46035         implementation.
46036         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46038         [BZ #16701]
46039         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46040         implementation.
46041         * math/libm-test.inc (ceil_test_data): Add more tests.
46043         * math/libm-test.inc (trunc_test_data): Add more tests related to
46044         BZ#16414.
46046 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46048         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46049         with #if rather than #ifdef.
46050         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46052 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46054         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46055         first.  Disable AVX-512 GCC support if assembler doesn't support
46056         it.
46057         * sysdeps/x86_64/configure: Regenerated.
46059 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46061         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46062         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46063         (__old_pthread_attr_setstack): Likewise.
46064         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46065         [!_STACK_GROWS_DOWN]: Likewise.
46067 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46069         * config.make.in (have-bash2): Delete.
46070         * configure.ac (libc_cv_have_bash2): Delete.
46071         * configure: Regenerate.
46072         * elf/Makefile (common-ldd-rewrite): Rename to ...
46073         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46074         (sh-ldd-rewrite): Delete.
46075         (bash-ldd-rewrite): Delete.
46076         (have-bash2): Delete checks.
46077         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46078         ldd-rewrite.
46080         * config.make.in (have-ksh): Delete.
46081         (KSH): Delete.
46082         * configure.ac (libc_cv_have_ksh): Delete.
46083         * configure: Regenerate.
46085         * elf/Makefile: Delete $(have-ksh) check.
46086         ($(objpfx)sotruss): Change KSH to BASH.
46087         * elf/sotruss.ksh: Rename to ...
46088         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46089         function style to match POSIX.  Drop ksh vim mode setting.
46091         * manual/time.texi (Specifying the Time Zone with TZ): Change
46092         Tuesday to Thursday.
46094         * debug/tst-longjmp_chk2.c: Update header comment.
46095         (stackoverflow_handler): Add comment.  Call assert on pass value.
46097 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46099         [BZ #16194]
46100         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46101         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46102         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46103         (La_x86_64_vector): Add zmm.
46104         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46105         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46106         ($(objpfx)tst-audit10): New target.
46107         ($(objpfx)tst-audit10.out): Likewise.
46108         (tst-audit10-ENV): New.
46109         (AVX512-CFLAGS): Likewise.
46110         (CFLAGS-tst-audit10.c): Likewise.
46111         (CFLAGS-tst-auditmod10a.c): Likewise.
46112         (CFLAGS-tst-auditmod10b.c): Likewise.
46113         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46114         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46115         * sysdeps/x86_64/configure: Regenerated.
46116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46117         AVX-512 zmm register support.
46118         (_dl_x86_64_save_sse): Likewise.
46119         (_dl_x86_64_restore_sse): Likewise.
46120         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46121         size vector registers.
46122         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46123         (ZMM_SIZE): Likewise.
46124         * sysdeps/x86_64/tst-audit10.c: New file.
46125         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46126         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46128 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46130         * configure.ac (HAVE_EHDR_START): New check.
46131         * configure: Regenerated.
46132         * config.h.in (HAVE_EHDR_START): New #undef.
46133         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46134         assuming the lowest-addressed segment maps the start of the file.
46136 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46138         * INSTALL: Regenerated.
46140 2014-03-13  Will Newton  <will.newton@linaro.org>
46142         * manual/setjmp.texi (System V contexts): Improve
46143         clarity and grammar of documentation.
46145 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46147         [BZ #16381]
46148         * elf/Makefile (tests): Add tst-pie2.
46149         (tests-pie): Add tst-pie2.
46150         * elf/tst-pie2.c: New file.
46151         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46152         for ET_EXEC.
46153         * elf/rtld.c (map_doit): Load executable as lt_executable.
46154         (dl_main): Likewise.
46156 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46158         [BZ #16642]
46159         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46160         (__ASSUME_PSELECT): Undefine.
46162 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46164         [BZ #16689]
46165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46166         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46167         static build.
46168         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46169         selector for static builds.
46171 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46173         [BZ #16695]
46174         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46175         key in the buffer.
46177 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46179         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46180         IFUNC selector for static builds.
46182 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46184         * sysdeps/mips/math_private.h [__mips_hard_float]
46185         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46186         libc_feresetround_mips_ctx.
46187         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46188         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46189         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46191         [BZ #16677]
46192         * math/s_nextafter.c (__nextafter): Do not return value from
46193         overflowing computation.
46194         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46195         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46196         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46197         Likewise.
46198         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46199         Likewise.
46200         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46201         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46203 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46205         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46206         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46207         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46208         the new mov targetting sp.
46210 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46212         [BZ #16683]
46213         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46214         Define it for static builds as well.
46215         (NO_BZERO_IMPL): Likewise.
46217 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46219         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46220         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46221         multiarch strspn for PPC64.
46222         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46223         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46225         (__libc_ifunc_impl_list): Likewise.
46226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46227         multiarch optimizations
46228         * string/strspn.c (strspn): Using macro to redefine symbol name.
46230 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46231             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46233         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46234         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46235         multiarch strncat for PPC64.
46236         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46237         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46239         (__libc_ifunc_impl_list): Likewise.
46240         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46241         multiarch optimizations
46243 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46245         [BZ #16639]
46246         * nscd/nscd.service: Make service type forking.
46248 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46250         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46251         sign in non default rounding modes.
46252         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46254 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46256         * math/libm-test.inc (ALL_RM_TEST): New macro.
46257         (ceil_test): Use ALL_RM_TEST.
46258         (cimag_test): Likewise.
46259         (conj_test): Likewise.
46260         (copysign_test): Likewise.
46261         (cproj_test): Likewise.
46262         (creal_test): Likewise.
46263         (fabs_test): Likewise.
46264         (floor_test): Likewise.
46265         (fmax_test): Likewise.
46266         (fmin_test): Likewise.
46267         (fmod_test): Likewise.
46268         (fpclassify_test): Likewise.
46269         (frexp_test): Likewise.
46270         (ilogb_test): Likewise.
46271         (isfinite_test): Likewise.
46272         (finite_test): Likewise.
46273         (isgreater_test): Likewise.
46274         (isgreaterequal_test): Likewise.
46275         (isinf_test): Likewise.
46276         (isless_test): Likewise.
46277         (islessequal_test): Likewise.
46278         (islessgreater_test): Likewise.
46279         (isnan_test): Likewise.
46280         (isnormal_test): Likewise.
46281         (issignaling_test): Likewise.
46282         (isunordered_test): Likewise.
46283         (logb_test): Likewise.
46284         (logb_downward_test_data): Remove.
46285         (logb_test_downward): Likewise.
46286         (lround_test): Use ALL_RM_TEST.
46287         (llround_test): Likewise.
46288         (modf_test): Likewise.
46289         (nexttoward_test): Likewise.
46290         (remainder_test): Likewise.
46291         (drem_test): Likewise.
46292         (remainder_tonearest_test_data): Likewise.
46293         (remainder_test_tonearest): Likewise.
46294         (drem_test_tonearest): Likewise.
46295         (remainder_towardzero_test_data): Likewise.
46296         (remainder_test_towardzero): Likewise.
46297         (drem_test_towardzero): Likewise.
46298         (remainder_downward_test_data): Likewise.
46299         (remainder_test_downward): Likewise.
46300         (drem_test_downward): Likewise.
46301         (remainder_upward_test_data): Likewise.
46302         (remainder_test_upward): Likewise.
46303         (drem_test_upward): Likewise.
46304         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46305         (round_test): Use ALL_RM_TEST.
46306         (signbit_test): Likewise.
46307         (trunc_test): Likewise.
46308         (significand_test): Likewise.
46309         (main): Don't call removed functions.
46311 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46313         [BZ #16674]
46314         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46315         || __USE_XOPEN2K8].
46316         (ILL_ILLOPN): Likewise.
46317         (ILL_ILLADR): Likewise.
46318         (ILL_ILLTRP): Likewise.
46319         (ILL_PRVOPC): Likewise.
46320         (ILL_PRVREG): Likewise.
46321         (ILL_COPROC): Likewise.
46322         (ILL_BADSTK): Likewise.
46323         (FPE_INTDIV): Likewise.
46324         (FPE_INTOVF): Likewise.
46325         (FPE_FLTDIV): Likewise.
46326         (FPE_FLTOVF): Likewise.
46327         (FPE_FLTUND): Likewise.
46328         (FPE_FLTRES): Likewise.
46329         (FPE_FLTINV): Likewise.
46330         (FPE_FLTSUB): Likewise.
46331         (SEGV_MAPERR): Likewise.
46332         (SEGV_ACCERR): Likewise.
46333         (BUS_ADRALN): Likewise.
46334         (BUS_ADRERR): Likewise.
46335         (BUS_OBJERR): Likewise.
46336         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46337         (TRAP_TRACE): Likewise.
46338         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46339         __USE_XOPEN2K8].
46340         (CLD_KILLED): Likewise.
46341         (CLD_DUMPED): Likewise.
46342         (CLD_TRAPPED): Likewise.
46343         (CLD_STOPPED): Likewise.
46344         (CLD_CONTINUED): Likewise.
46345         (POLL_IN): Likewise.
46346         (POLL_OUT): Likewise.
46347         (POLL_MSG): Likewise.
46348         (POLL_ERR): Likewise.
46349         (POLL_PRI): Likewise.
46350         (POLL_HUP): Likewise.
46351         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46352         Likewise.
46353         (ILL_ILLOPN): Likewise.
46354         (ILL_ILLADR): Likewise.
46355         (ILL_ILLTRP): Likewise.
46356         (ILL_PRVOPC): Likewise.
46357         (ILL_PRVREG): Likewise.
46358         (ILL_COPROC): Likewise.
46359         (ILL_BADSTK): Likewise.
46360         (FPE_INTDIV): Likewise.
46361         (FPE_INTOVF): Likewise.
46362         (FPE_FLTDIV): Likewise.
46363         (FPE_FLTOVF): Likewise.
46364         (FPE_FLTUND): Likewise.
46365         (FPE_FLTRES): Likewise.
46366         (FPE_FLTINV): Likewise.
46367         (FPE_FLTSUB): Likewise.
46368         (SEGV_MAPERR): Likewise.
46369         (SEGV_ACCERR): Likewise.
46370         (BUS_ADRALN): Likewise.
46371         (BUS_ADRERR): Likewise.
46372         (BUS_OBJERR): Likewise.
46373         (BUS_MCEERR_AR): Likewise.
46374         (BUS_MCEERR_AO): Likewise.
46375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46376         (TRAP_TRACE): Likewise.
46377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46378         __USE_XOPEN2K8].
46379         (CLD_KILLED): Likewise.
46380         (CLD_DUMPED): Likewise.
46381         (CLD_TRAPPED): Likewise.
46382         (CLD_STOPPED): Likewise.
46383         (CLD_CONTINUED): Likewise.
46384         (POLL_IN): Likewise.
46385         (POLL_OUT): Likewise.
46386         (POLL_MSG): Likewise.
46387         (POLL_ERR): Likewise.
46388         (POLL_PRI): Likewise.
46389         (POLL_HUP): Likewise.
46390         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46391         (ILL_ILLOPN): Likewise.
46392         (ILL_ILLADR): Likewise.
46393         (ILL_ILLTRP): Likewise.
46394         (ILL_PRVOPC): Likewise.
46395         (ILL_PRVREG): Likewise.
46396         (ILL_COPROC): Likewise.
46397         (ILL_BADSTK): Likewise.
46398         (FPE_INTDIV): Likewise.
46399         (FPE_INTOVF): Likewise.
46400         (FPE_FLTDIV): Likewise.
46401         (FPE_FLTOVF): Likewise.
46402         (FPE_FLTUND): Likewise.
46403         (FPE_FLTRES): Likewise.
46404         (FPE_FLTINV): Likewise.
46405         (FPE_FLTSUB): Likewise.
46406         (SEGV_MAPERR): Likewise.
46407         (SEGV_ACCERR): Likewise.
46408         (BUS_ADRALN): Likewise.
46409         (BUS_ADRERR): Likewise.
46410         (BUS_OBJERR): Likewise.
46411         (BUS_MCEERR_AR): Likewise.
46412         (BUS_MCEERR_AO): Likewise.
46413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46414         (TRAP_TRACE): Likewise.
46415         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46416         __USE_XOPEN2K8].
46417         (CLD_KILLED): Likewise.
46418         (CLD_DUMPED): Likewise.
46419         (CLD_TRAPPED): Likewise.
46420         (CLD_STOPPED): Likewise.
46421         (CLD_CONTINUED): Likewise.
46422         (POLL_IN): Likewise.
46423         (POLL_OUT): Likewise.
46424         (POLL_MSG): Likewise.
46425         (POLL_ERR): Likewise.
46426         (POLL_PRI): Likewise.
46427         (POLL_HUP): Likewise.
46428         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46429         Likewise.
46430         (ILL_ILLOPN): Likewise.
46431         (ILL_ILLADR): Likewise.
46432         (ILL_ILLTRP): Likewise.
46433         (ILL_PRVOPC): Likewise.
46434         (ILL_PRVREG): Likewise.
46435         (ILL_COPROC): Likewise.
46436         (ILL_BADSTK): Likewise.
46437         (ILL_BADIADDR): Likewise.
46438         (ILL_BREAK): Likewise.
46439         (FPE_INTDIV): Likewise.
46440         (FPE_INTOVF): Likewise.
46441         (FPE_FLTDIV): Likewise.
46442         (FPE_FLTOVF): Likewise.
46443         (FPE_FLTUND): Likewise.
46444         (FPE_FLTRES): Likewise.
46445         (FPE_FLTINV): Likewise.
46446         (FPE_FLTSUB): Likewise.
46447         (FPE_DECOVF): Likewise.
46448         (FPE_DECDIV): Likewise.
46449         (FPE_DECERR): Likewise.
46450         (FPE_INVASC): Likewise.
46451         (FPE_INVDEC): Likewise.
46452         (SEGV_MAPERR): Likewise.
46453         (SEGV_ACCERR): Likewise.
46454         (SEGV_PSTKOVF): Likewise.
46455         (BUS_ADRALN): Likewise.
46456         (BUS_ADRERR): Likewise.
46457         (BUS_OBJERR): Likewise.
46458         (BUS_MCEERR_AR): Likewise.
46459         (BUS_MCEERR_AO): Likewise.
46460         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46461         (TRAP_TRACE): Likewise.
46462         (TRAP_BRANCH): Likewise.
46463         (TRAP_HWBKPT): Likewise.
46464         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46465         __USE_XOPEN2K8].
46466         (CLD_KILLED): Likewise.
46467         (CLD_DUMPED): Likewise.
46468         (CLD_TRAPPED): Likewise.
46469         (CLD_STOPPED): Likewise.
46470         (CLD_CONTINUED): Likewise.
46471         (POLL_IN): Likewise.
46472         (POLL_OUT): Likewise.
46473         (POLL_MSG): Likewise.
46474         (POLL_ERR): Likewise.
46475         (POLL_PRI): Likewise.
46476         (POLL_HUP): Likewise.
46477         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46478         (ILL_ILLOPN): Likewise.
46479         (ILL_ILLADR): Likewise.
46480         (ILL_ILLTRP): Likewise.
46481         (ILL_PRVOPC): Likewise.
46482         (ILL_PRVREG): Likewise.
46483         (ILL_COPROC): Likewise.
46484         (ILL_BADSTK): Likewise.
46485         (FPE_INTDIV): Likewise.
46486         (FPE_INTOVF): Likewise.
46487         (FPE_FLTDIV): Likewise.
46488         (FPE_FLTOVF): Likewise.
46489         (FPE_FLTUND): Likewise.
46490         (FPE_FLTRES): Likewise.
46491         (FPE_FLTINV): Likewise.
46492         (FPE_FLTSUB): Likewise.
46493         (SEGV_MAPERR): Likewise.
46494         (SEGV_ACCERR): Likewise.
46495         (BUS_ADRALN): Likewise.
46496         (BUS_ADRERR): Likewise.
46497         (BUS_OBJERR): Likewise.
46498         (BUS_MCEERR_AR): Likewise.
46499         (BUS_MCEERR_AO): Likewise.
46500         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46501         (TRAP_TRACE): Likewise.
46502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46503         __USE_XOPEN2K8].
46504         (CLD_KILLED): Likewise.
46505         (CLD_DUMPED): Likewise.
46506         (CLD_TRAPPED): Likewise.
46507         (CLD_STOPPED): Likewise.
46508         (CLD_CONTINUED): Likewise.
46509         (POLL_IN): Likewise.
46510         (POLL_OUT): Likewise.
46511         (POLL_MSG): Likewise.
46512         (POLL_ERR): Likewise.
46513         (POLL_PRI): Likewise.
46514         (POLL_HUP): Likewise.
46515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46516         (ILL_ILLOPN): Likewise.
46517         (ILL_ILLADR): Likewise.
46518         (ILL_ILLTRP): Likewise.
46519         (ILL_PRVOPC): Likewise.
46520         (ILL_PRVREG): Likewise.
46521         (ILL_COPROC): Likewise.
46522         (ILL_BADSTK): Likewise.
46523         (FPE_INTDIV): Likewise.
46524         (FPE_INTOVF): Likewise.
46525         (FPE_FLTDIV): Likewise.
46526         (FPE_FLTOVF): Likewise.
46527         (FPE_FLTUND): Likewise.
46528         (FPE_FLTRES): Likewise.
46529         (FPE_FLTINV): Likewise.
46530         (FPE_FLTSUB): Likewise.
46531         (SEGV_MAPERR): Likewise.
46532         (SEGV_ACCERR): Likewise.
46533         (BUS_ADRALN): Likewise.
46534         (BUS_ADRERR): Likewise.
46535         (BUS_OBJERR): Likewise.
46536         (BUS_MCEERR_AR): Likewise.
46537         (BUS_MCEERR_AO): Likewise.
46538         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46539         (TRAP_TRACE): Likewise.
46540         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46541         __USE_XOPEN2K8].
46542         (CLD_KILLED): Likewise.
46543         (CLD_DUMPED): Likewise.
46544         (CLD_TRAPPED): Likewise.
46545         (CLD_STOPPED): Likewise.
46546         (CLD_CONTINUED): Likewise.
46547         (POLL_IN): Likewise.
46548         (POLL_OUT): Likewise.
46549         (POLL_MSG): Likewise.
46550         (POLL_ERR): Likewise.
46551         (POLL_PRI): Likewise.
46552         (POLL_HUP): Likewise.
46553         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46554         (ILL_ILLOPN): Likewise.
46555         (ILL_ILLADR): Likewise.
46556         (ILL_ILLTRP): Likewise.
46557         (ILL_PRVOPC): Likewise.
46558         (ILL_PRVREG): Likewise.
46559         (ILL_COPROC): Likewise.
46560         (ILL_BADSTK): Likewise.
46561         (FPE_INTDIV): Likewise.
46562         (FPE_INTOVF): Likewise.
46563         (FPE_FLTDIV): Likewise.
46564         (FPE_FLTOVF): Likewise.
46565         (FPE_FLTUND): Likewise.
46566         (FPE_FLTRES): Likewise.
46567         (FPE_FLTINV): Likewise.
46568         (FPE_FLTSUB): Likewise.
46569         (SEGV_MAPERR): Likewise.
46570         (SEGV_ACCERR): Likewise.
46571         (BUS_ADRALN): Likewise.
46572         (BUS_ADRERR): Likewise.
46573         (BUS_OBJERR): Likewise.
46574         (BUS_MCEERR_AR): Likewise.
46575         (BUS_MCEERR_AO): Likewise.
46576         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46577         (TRAP_TRACE): Likewise.
46578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46579         __USE_XOPEN2K8].
46580         (CLD_KILLED): Likewise.
46581         (CLD_DUMPED): Likewise.
46582         (CLD_TRAPPED): Likewise.
46583         (CLD_STOPPED): Likewise.
46584         (CLD_CONTINUED): Likewise.
46585         (POLL_IN): Likewise.
46586         (POLL_OUT): Likewise.
46587         (POLL_MSG): Likewise.
46588         (POLL_ERR): Likewise.
46589         (POLL_PRI): Likewise.
46590         (POLL_HUP): Likewise.
46591         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46592         (ILL_ILLOPN): Likewise.
46593         (ILL_ILLADR): Likewise.
46594         (ILL_ILLTRP): Likewise.
46595         (ILL_PRVOPC): Likewise.
46596         (ILL_PRVREG): Likewise.
46597         (ILL_COPROC): Likewise.
46598         (ILL_BADSTK): Likewise.
46599         (ILL_DBLFLT): Likewise.
46600         (ILL_HARDWALL): Likewise.
46601         (FPE_INTDIV): Likewise.
46602         (FPE_INTOVF): Likewise.
46603         (FPE_FLTDIV): Likewise.
46604         (FPE_FLTOVF): Likewise.
46605         (FPE_FLTUND): Likewise.
46606         (FPE_FLTRES): Likewise.
46607         (FPE_FLTINV): Likewise.
46608         (FPE_FLTSUB): Likewise.
46609         (SEGV_MAPERR): Likewise.
46610         (SEGV_ACCERR): Likewise.
46611         (BUS_ADRALN): Likewise.
46612         (BUS_ADRERR): Likewise.
46613         (BUS_OBJERR): Likewise.
46614         (BUS_MCEERR_AR): Likewise.
46615         (BUS_MCEERR_AO): Likewise.
46616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46617         (TRAP_TRACE): Likewise.
46618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46619         __USE_XOPEN2K8].
46620         (CLD_KILLED): Likewise.
46621         (CLD_DUMPED): Likewise.
46622         (CLD_TRAPPED): Likewise.
46623         (CLD_STOPPED): Likewise.
46624         (CLD_CONTINUED): Likewise.
46625         (POLL_IN): Likewise.
46626         (POLL_OUT): Likewise.
46627         (POLL_MSG): Likewise.
46628         (POLL_ERR): Likewise.
46629         (POLL_PRI): Likewise.
46630         (POLL_HUP): Likewise.
46631         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46632         (ILL_ILLOPN): Likewise.
46633         (ILL_ILLADR): Likewise.
46634         (ILL_ILLTRP): Likewise.
46635         (ILL_PRVOPC): Likewise.
46636         (ILL_PRVREG): Likewise.
46637         (ILL_COPROC): Likewise.
46638         (ILL_BADSTK): Likewise.
46639         (FPE_INTDIV): Likewise.
46640         (FPE_INTOVF): Likewise.
46641         (FPE_FLTDIV): Likewise.
46642         (FPE_FLTOVF): Likewise.
46643         (FPE_FLTUND): Likewise.
46644         (FPE_FLTRES): Likewise.
46645         (FPE_FLTINV): Likewise.
46646         (FPE_FLTSUB): Likewise.
46647         (SEGV_MAPERR): Likewise.
46648         (SEGV_ACCERR): Likewise.
46649         (BUS_ADRALN): Likewise.
46650         (BUS_ADRERR): Likewise.
46651         (BUS_OBJERR): Likewise.
46652         (BUS_MCEERR_AR): Likewise.
46653         (BUS_MCEERR_AO): Likewise.
46654         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46655         (TRAP_TRACE): Likewise.
46656         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46657         __USE_XOPEN2K8].
46658         (CLD_KILLED): Likewise.
46659         (CLD_DUMPED): Likewise.
46660         (CLD_TRAPPED): Likewise.
46661         (CLD_STOPPED): Likewise.
46662         (CLD_CONTINUED): Likewise.
46663         (POLL_IN): Likewise.
46664         (POLL_OUT): Likewise.
46665         (POLL_MSG): Likewise.
46666         (POLL_ERR): Likewise.
46667         (POLL_PRI): Likewise.
46668         (POLL_HUP): Likewise.
46669         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46670         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46672         [BZ #16670]
46673         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46674         before #include of <time.h>.
46675         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46676         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46677         (test-xfail-UNIX98/sched.h/conform): Likewise.
46679 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46681         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46682         error absence of trapping exception support.
46683         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46685 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46687         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46688         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46689         * timezone/Makefile (testdata): Move definition above include of
46690         Rules.
46691         (test-zones): New variable.
46692         (tests-special): Add zone files.
46693         (build-testdata): Use $(evaluate-test).
46695         * elf/Makefile (tests-special): Rename tests to end with .out.
46696         ($(objpfx)noload-mem): Likewise.
46697         ($(objpfx)tst-leaks1-mem): Likewise.
46698         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46699         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46700         $(objpfx)test-iconvconfig.out.
46701         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46702         set -e inside subshell and redirect output to file.
46703         * iconvdata/Makefile (generated): Rename tests to end with .out.
46704         Correct type.
46705         (tests-special): Rename tests to end with .out.
46706         ($(objpfx)mtrace-tst-loading): Likewise.
46707         * intl/Makefile (generated): Likewise.
46708         (tests-special): Likewise.
46709         ($(objpfx)mtrace-tst-gettext): Likewise.
46710         * misc/Makefile (generated): Likewise.
46711         (tests-special): Likewise.
46712         ($(objpfx)tst-error1-mem): Likewise.
46713         * nptl/Makefile (tests-special): Likewise.
46714         ($(objpfx)tst-stack3-mem): Likewise.
46715         (generated): Likewise.
46716         * posix/Makefile (generated): Likewise.
46717         (tests-special): Likewise.
46718         (xtests-special): Likewise.
46719         ($(objpfx)tst-fnmatch-mem): Likewise.
46720         ($(objpfx)bug-regex2-mem): Likewise.
46721         ($(objpfx)bug-regex14-mem): Likewise.
46722         ($(objpfx)bug-regex21-mem): Likewise.
46723         ($(objpfx)bug-regex31-mem): Likewise.
46724         ($(objpfx)tst-vfork3-mem): Likewise.
46725         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46726         ($(objpfx)tst-pcre-mem): Likewise.
46727         ($(objpfx)tst-boost-mem): Likewise.
46728         ($(objpfx)bug-ga2-mem): Likewise.
46729         ($(objpfx)bug-glob2-mem): Likewise.
46730         * resolv/Makefile (generate): Likewise.
46731         (tests-special): Likewise.
46732         (xtests-special): Likewise.
46733         (generated): Likewise.
46734         ($(objpfx)mtrace-tst-leaks): Likewise.
46735         ($(objpfx)mtrace-tst-leaks2): Likewise.
46737         * scripts/merge-test-results.sh: New file.
46738         * Makefile (tests-special-notdir): New variable.
46739         (tests): Run merge-test-results.sh.
46740         (xtests): Likewise.
46741         * Rules (tests-special-notdir): New variable.
46742         (xtests-special-notdir): Likewise.
46743         (tests): Run merge-test-results.sh
46744         (xtests): Likewise.
46746         * Makeconfig (test-xfail-name): New variable.
46747         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46748         compute variable name for expected failures.
46749         * conform/Makefile (conformtest-headers-data): New variable.
46750         (conformtest-standards): Likewise.
46751         (conformtest-headers-ISO): Likewise.
46752         (conformtest-headers-ISO99): Likewise.
46753         (conformtest-headers-ISO11): Likewise.
46754         (conformtest-headers-POSIX): Likewise.
46755         (conformtest-headers-XPG3): Likewise.
46756         (conformtest-headers-XPG4): Likewise.
46757         (conformtest-headers-UNIX98): Likewise.
46758         (conformtest-headers-XOPEN2K): Likewise.
46759         (conformtest-headers-POSIX2008): Likewise.
46760         (conformtest-headers-XOPEN2K8): Likewise.
46761         (conformtest-header-list-base): Likewise.
46762         (conformtest-header-list-tests): Likewise.
46763         (conformtest-header-base): Likewise.
46764         (conformtest-header-tests): Likewise.
46765         (tests-special): Add $(conformtest-header-list-tests).  If
46766         [$(fast-check) && !$(cross-compiling)], add
46767         $(conformtest-header-tests) instead of
46768         $(objpfx)run-conformtest.out.
46769         (generated): Add $(conformtest-header-list-base).  If
46770         [$(fast-check) && !$(cross-compiling)], add
46771         $(conformtest-header-base).  Remove previous setting.
46772         ($(conformtest-header-list-tests)): New target.
46773         (test-xfail-run-conformtest): Remove variable.
46774         ($(objpfx)run-conformtest.out): Remove target.
46775         (test-xfail-ISO11/complex.h/conform): New variable.
46776         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46777         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46778         (test-xfail-XPG3/varargs.h/conform): Likewise.
46779         (test-xfail-XPG4/varargs.h/conform): Likewise.
46780         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46781         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46782         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46783         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46784         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46785         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46786         (test-xfail-XPG3/ftw.h/conform): Likewise.
46787         (test-xfail-XPG3/grp.h/conform): Likewise.
46788         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46789         (test-xfail-XPG3/limits.h/conform): Likewise.
46790         (test-xfail-XPG3/pwd.h/conform): Likewise.
46791         (test-xfail-XPG3/search.h/conform): Likewise.
46792         (test-xfail-XPG3/signal.h/conform): Likewise.
46793         (test-xfail-XPG3/stdio.h/conform): Likewise.
46794         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46795         (test-xfail-XPG3/string.h/conform): Likewise.
46796         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46797         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46798         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46799         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46800         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46801         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46802         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46803         (test-xfail-XPG3/termios.h/conform): Likewise.
46804         (test-xfail-XPG3/time.h/conform): Likewise.
46805         (test-xfail-XPG3/unistd.h/conform): Likewise.
46806         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46807         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46808         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46809         (test-xfail-XPG4/netdb.h/conform): Likewise.
46810         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46811         (test-xfail-XPG4/signal.h/conform): Likewise.
46812         (test-xfail-XPG4/stdio.h/conform): Likewise.
46813         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46814         (test-xfail-XPG4/stropts.h/conform): Likewise.
46815         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46816         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46817         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46818         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46819         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46820         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46821         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46822         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46823         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46824         (test-xfail-XPG4/termios.h/conform): Likewise.
46825         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46826         (test-xfail-XPG4/unistd.h/conform): Likewise.
46827         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46828         (test-xfail-POSIX/sched.h/conform): Likewise.
46829         (test-xfail-POSIX/signal.h/conform): Likewise.
46830         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46831         (test-xfail-POSIX/tar.h/conform): Likewise.
46832         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46833         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46834         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46835         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46836         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46837         (test-xfail-UNIX98/sched.h/conform): Likewise.
46838         (test-xfail-UNIX98/signal.h/conform): Likewise.
46839         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46840         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46841         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46842         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46843         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46844         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46845         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46846         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46847         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46848         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46849         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46850         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46851         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46852         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46853         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46854         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46855         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46856         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46857         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46858         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46859         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46860         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46861         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46862         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46863         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46864         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46865         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46866         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46867         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46868         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46869         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46870         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46871         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46872         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46873         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46874         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46875         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46876         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46877         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46878         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46879         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46880         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46881         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46882         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46883         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46884         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46885         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46886         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46887         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46888         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46889         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46890         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46891         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46892         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46893         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46894         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46895         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46896         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46897         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46898         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46899         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46900         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46901         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46902         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46903         (conformtest-cc-flags): Likewise.
46904         ($(conformtest-header-tests): New target.
46905         * conform/check-header-lists.sh: New file.
46906         * conform/run-conformtest.sh: Remove.
46908         * conform/conformtest.pl: Allow ' and \ in values given for
46909         constants.
46910         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46911         inclusion.
46912         [POSIX] (sys/types.h): Likewise.
46913         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46914         inclusion.
46915         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46916         inclusion.
46917         * conform/data/signal.h-data (SIGIO): Remove expectation.
46918         [XPG3] (SIGBUS): Do not expect.
46919         [POSIX || XPG3] (SIGPOLL): Likewise.
46920         [POSIX || XPG3] (SIGPROF): Likewise.
46921         [POSIX || XPG3] (SIGSYS): Likewise.
46922         [XPG3] (SIGTRAP): Likewise.
46923         [POSIX || XPG3] (SIGURG): Likewise.
46924         [POSIX || XPG3] (SIGVTALRM): Likewise.
46925         [POSIX || XPG3] (SIGXCPU): Likewise.
46926         [POSIX || XPG3] (SIGXFSZ): Likewise.
46927         [POSIX] (SA_SIGINFO): Expect.
46928         [XPG3] (siginfo_t): Do not expect type or contents.
46929         [POSIX] (si_pid): Do not expect element.
46930         [POSIX] (si_uid): Likewise.
46931         [POSIX] (si_addr): Likewise.
46932         [POSIX] (si_status): Likewise.
46933         [POSIX] (si_band): Likewise.
46934         [XPG4] (si_value): Likewise.
46935         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46936         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46937         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46938         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46939         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46940         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46941         [POSIX || XPG3] (ILL_COPROC): Likewise.
46942         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46943         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46944         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46945         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46946         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46947         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46948         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46949         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46950         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46951         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46952         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46953         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46954         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46955         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46956         [POSIX || XPG3] (CLD_EXITED): Likewise.
46957         [POSIX || XPG3] (CLD_KILLED): Likewise.
46958         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46959         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46960         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46961         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46962         [POSIX || XPG3] (POLL_IN): Likewise.
46963         [POSIX || XPG3] (POLL_OUT): Likewise.
46964         [POSIX || XPG3] (POLL_MSG): Likewise.
46965         [POSIX || XPG3] (POLL_ERR): Likewise.
46966         [POSIX || XPG3] (POLL_PRI): Likewise.
46967         [POSIX || XPG3] (POLL_HUP): Likewise.
46968         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46969         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46970         (SIG*): Do not allow.
46971         [XPG3] (si_*): Likewise.
46972         [XPG3] (SI_*): Likewise.
46973         [XPG3 || XPG4] (sigev_*): Likewise.
46974         [XPG3 || XPG4] (SIGEV_*): Likewise.
46975         [XPG3 || XPG4] (sival_*): Likewise.
46976         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46977         [POSIX || XPG3] (BUS_*): Likewise.
46978         [POSIX || XPG3] (CLD_*): Likewise.
46979         [POSIX || XPG3] (FPE_*): Likewise.
46980         [POSIX || XPG3] (ILL_*): Likewise.
46981         [POSIX || XPG3] (POLL_*): Likewise.
46982         [POSIX || XPG3] (SEGV_*): Likewise.
46983         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46984         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46985         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46986         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46987         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46988         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46989         Specify type and value.
46990         (TVERSLEN): Likewise.
46991         (REGTYPE): Likewise.
46992         (AREGTYPE): Likewise.
46993         (LNKTYPE): Likewise.
46994         (SYMTYPE): Likewise.
46995         (CHRTYPE): Likewise.
46996         (BLKTYPE): Likewise.
46997         (DIRTYPE): Likewise.
46998         (FIFOTYPE): Likewise.
46999         (CONTTYPE): Likewise.
47000         (TSUID): Likewise.
47001         (TSGID): Likewise.
47002         (TSVTX): Likewise.
47003         (TUREAD): Likewise.
47004         (TUWRITE): Likewise.
47005         (TUEXEC): Likewise.
47006         (TGREAD): Likewise.
47007         (TGWRITE): Likewise.
47008         (TGEXEC): Likewise.
47009         (TOREAD): Likewise.
47010         (TOWRITE): Likewise.
47011         (TOEXEC): Likewise.
47012         [POSIX] (TSVTX): Expect constant.
47014 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47016         * Makefile (tests): Change dependencies to ....
47017         (tests-special): ... additions to this variable.
47018         (tests): Depend on $(tests-special).
47019         * Makerules (check-abi-list): New variable.
47020         (check-abi): Depend on $(check-abi-list).
47021         [$(subdir) = elf] (tests-special): Add
47022         $(objpfx)check-abi-libc.out.
47023         [$(build-shared) = yes && subdir] (tests-special): Add
47024         $(check-abi-list).
47025         [$(build-shared) = yes && subdir] (tests): Do not depend on
47026         check-abi.
47027         * Rules (tests): Depend on $(tests-special).
47028         (xtests): Depend on $(xtests-special).
47029         * catgets/Makefile (tests): Change dependencies to ....
47030         (tests-special): ... additions to this variable.
47031         * conform/Makefile (tests): Change dependencies to ....
47032         (tests-special): ... additions to this variable.
47033         * elf/Makefile (tests): Change dependencies to ....
47034         (tests-special): ... additions to this variable.
47035         * grp/Makefile (tests): Change dependencies to ....
47036         (tests-special): ... additions to this variable.
47037         * iconv/Makefile (xtests): Change dependencies to ....
47038         (xtests-special): ... additions to this variable.
47039         * iconvdata/Makefile (tests): Change dependencies to ....
47040         (tests-special): ... additions to this variable.
47041         * intl/Makefile (tests): Change dependencies to ....
47042         (tests-special): ... additions to this variable.  Also add
47043         $(objpfx)tst-gettext.out.
47044         * io/Makefile (tests): Change dependencies to ....
47045         (tests-special): ... additions to this variable.
47046         * libio/Makefile (tests): Change dependencies to ....
47047         (tests-special): ... additions to this variable.
47048         * malloc/Makefile (tests): Change dependencies to ....
47049         (tests-special): ... additions to this variable.
47050         * misc/Makefile (tests): Change dependencies to ....
47051         (tests-special): ... additions to this variable.
47052         * nptl/Makefile (tests): Change dependencies to ....
47053         (tests-special): ... additions to this variable.
47054         * nptl_db/Makefile (tests): Change dependencies to ....
47055         (tests-special): ... additions to this variable.
47056         * posix/Makefile (tests): Change dependencies to ....
47057         (tests-special): ... additions to this variable.
47058         (xtests): Change dependencies to ....
47059         (xtests-special): ... additions to this variable.
47060         * resolv/Makefile (tests): Change dependencies to ....
47061         (tests-special): ... additions to this variable.
47062         (xtests): Change dependencies to ....
47063         (xtests-special): ... additions to this variable.
47064         * stdio-common/Makefile (tests): Change dependencies to ....
47065         (tests-special): ... additions to this variable.
47066         (do-tst-unbputc): Remove target.
47067         (do-tst-printf): Likewise.
47068         * stdlib/Makefile (tests): Change dependencies to ....
47069         (tests-special): ... additions to this variable.
47070         * string/Makefile (tests): Change dependencies to ....
47071         (tests-special): ... additions to this variable.
47072         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47073         (tests-special): ... additions to this variable.
47075         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47076         whole file.
47077         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47078         whole file.
47079         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47080         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47082         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47083         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47084         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47085         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47086         * conform/data/libgen.h-data [XPG3]: Likewise.
47087         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47088         * conform/data/ndbm.h-data [XPG3]: Likewise.
47089         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47090         * conform/data/netdb.h-data [XPG3]: Likewise.
47091         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47092         * conform/data/poll.h-data [XPG3]: Likewise.
47093         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47094         * conform/data/strings.h-data [XPG3]: Likewise.
47095         * conform/data/stropts.h-data [XPG3]: Likewise.
47096         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47097         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47098         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47099         Likewise.
47100         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47101         * conform/data/sys/time.h-data [XPG3]: Likewise.
47102         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47103         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47104         * conform/data/sys/un.h-data [XPG3]: Likewise.
47105         * conform/data/syslog.h-data [XPG3]: Likewise.
47106         * conform/data/ucontext.h-data [XPG3]: Likewise.
47107         * conform/data/utmpx.h-data [XPG3]: Likewise.
47108         * conform/data/varargs.h-data [UNIX98]: Enable file.
47110         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47112         * math/libm-test.inc (struct test_f_f_data): Move expected results
47113         into structure for each rounding mode.
47114         (struct test_ff_f_data): Likewise.
47115         (struct test_ff_f_data_nexttoward): Likewise.
47116         (struct test_fi_f_data): Likewise.
47117         (struct test_fl_f_data): Likewise.
47118         (struct test_if_f_data): Likewise.
47119         (struct test_fff_f_data): Likewise.
47120         (struct test_c_f_data): Likewise.
47121         (struct test_f_f1_data): Likewise.
47122         (struct test_fF_f1_data): Likewise.
47123         (struct test_ffI_f1_data): Likewise.
47124         (struct test_c_c_data): Likewise.
47125         (struct test_cc_c_data): Likewise.
47126         (struct test_f_i_data): Likewise.
47127         (struct test_ff_i_data): Likewise.
47128         (struct test_f_l_data): Likewise.
47129         (struct test_f_L_data): Likewise.
47130         (struct test_fFF_11_data): Likewise.
47131         (RM_): New macro.
47132         (RM_FE_DOWNWARD): Likewise.
47133         (RM_FE_TONEAREST): Likewise.
47134         (RM_FE_TOWARDZERO): Likewise.
47135         (RM_FE_UPWARD): Likewise.
47136         (RUN_TEST_LOOP_f_f): Update references to expected results.
47137         (RUN_TEST_LOOP_2_f): Likewise.
47138         (RUN_TEST_LOOP_fff_f): Likewise.
47139         (RUN_TEST_LOOP_c_f): Likewise.
47140         (RUN_TEST_LOOP_f_f1): Likewise.
47141         (RUN_TEST_LOOP_fF_f1): Likewise.
47142         (RUN_TEST_LOOP_fI_f1): Likewise.
47143         (RUN_TEST_LOOP_ffI_f1): Likewise.
47144         (RUN_TEST_LOOP_c_c): Likewise.
47145         (RUN_TEST_LOOP_cc_c): Likewise.
47146         (RUN_TEST_LOOP_f_i): Likewise.
47147         (RUN_TEST_LOOP_f_i_tg): Likewise.
47148         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47149         (RUN_TEST_LOOP_f_b): Likewise.
47150         (RUN_TEST_LOOP_f_b_tg): Likewise.
47151         (RUN_TEST_LOOP_f_l): Likewise.
47152         (RUN_TEST_LOOP_f_L): Likewise.
47153         (RUN_TEST_LOOP_fFF_11): Likewise.
47154         * math/gen-libm-test.pl (parse_args): Output four copies of
47155         expected results for each test.
47157         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47158         (__ASSUME_UTIMES): Remove.
47159         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47160         (__ASSUME_UTIMES): Likewise.
47162         * math/gen-auto-libm-tests.c: Update comment on output format.
47163         (output_for_one_input_case): Generate before-rounding and
47164         after-rounding information as conditions on output flags not
47165         floating-point format.
47166         * math/auto-libm-test-out: Regenerated.
47167         * math/gen-libm-test.pl (cond_value): New function.
47168         (or_cond_value): Use cond_value.
47169         (generate_testfile): Handle conditional exceptions.
47171 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47173         * math/libm-test.inc (max_valid_error): New variable.
47174         (init_max_error): Take new argument specifying whether function
47175         results are exactly determined.  Set max_valid_error and bound
47176         other variables for errors based on this argument.
47177         (set_max_error): Do not record results above max_valid_error.
47178         (check_float_internal): Only accept errors of up to 0.5ulps if
47179         also at most max_valid_error.
47180         (START): Take new argument EXACT and pass it to init_max_error.
47181         (acos_test): Update call to START.
47182         (acos_test_tonearest): Likewise.
47183         (acos_test_towardzero): Likewise.
47184         (acos_test_downward): Likewise.
47185         (acos_test_upward): Likewise.
47186         (acosh_test): Likewise.
47187         (asin_test): Likewise.
47188         (asin_test_tonearest): Likewise.
47189         (asin_test_towardzero): Likewise.
47190         (asin_test_downward): Likewise.
47191         (asin_test_upward): Likewise.
47192         (asinh_test): Likewise.
47193         (atan_test): Likewise.
47194         (atanh_test): Likewise.
47195         (atan2_test): Likewise.
47196         (cabs_test): Likewise.
47197         (cacos_test): Likewise.
47198         (cacosh_test): Likewise.
47199         (carg_test): Likewise.
47200         (casin_test): Likewise.
47201         (casinh_test): Likewise.
47202         (catan_test): Likewise.
47203         (catanh_test): Likewise.
47204         (cbrt_test): Likewise.
47205         (ccos_test): Likewise.
47206         (ccosh_test): Likewise.
47207         (ceil_test): Likewise.
47208         (cexp_test): Likewise.
47209         (cimag_test): Likewise.
47210         (clog_test): Likewise.
47211         (clog10_test): Likewise.
47212         (conj_test): Likewise.
47213         (copysign_test): Likewise.
47214         (cos_test): Likewise.
47215         (cos_test_tonearest): Likewise.
47216         (cos_test_towardzero): Likewise.
47217         (cos_test_downward): Likewise.
47218         (cos_test_upward): Likewise.
47219         (cosh_test): Likewise.
47220         (cosh_test_tonearest): Likewise.
47221         (cosh_test_towardzero): Likewise.
47222         (cosh_test_downward): Likewise.
47223         (cosh_test_upward): Likewise.
47224         (cpow_test): Likewise.
47225         (cproj_test): Likewise.
47226         (creal_test): Likewise.
47227         (csin_test): Likewise.
47228         (csinh_test): Likewise.
47229         (csqrt_test): Likewise.
47230         (ctan_test): Likewise.
47231         (ctan_test_tonearest): Likewise.
47232         (ctan_test_towardzero): Likewise.
47233         (ctan_test_downward): Likewise.
47234         (ctan_test_upward): Likewise.
47235         (ctanh_test): Likewise.
47236         (ctanh_test_tonearest): Likewise.
47237         (ctanh_test_towardzero): Likewise.
47238         (ctanh_test_downward): Likewise.
47239         (ctanh_test_upward): Likewise.
47240         (erf_test): Likewise.
47241         (erfc_test): Likewise.
47242         (exp_test): Likewise.
47243         (exp_test_tonearest): Likewise.
47244         (exp_test_towardzero): Likewise.
47245         (exp_test_downward): Likewise.
47246         (exp_test_upward): Likewise.
47247         (exp10_test): Likewise.
47248         (exp10_test_tonearest): Likewise.
47249         (exp10_test_towardzero): Likewise.
47250         (exp10_test_downward): Likewise.
47251         (exp10_test_upward): Likewise.
47252         (pow10_test): Likewise.
47253         (exp2_test): Likewise.
47254         (expm1_test): Likewise.
47255         (expm1_test_tonearest): Likewise.
47256         (expm1_test_towardzero): Likewise.
47257         (expm1_test_downward): Likewise.
47258         (expm1_test_upward): Likewise.
47259         (fabs_test): Likewise.
47260         (fdim_test): Likewise.
47261         (floor_test): Likewise.
47262         (fma_test): Likewise.
47263         (fma_test_towardzero): Likewise.
47264         (fma_test_downward): Likewise.
47265         (fma_test_upward): Likewise.
47266         (fmax_test): Likewise.
47267         (fmin_test): Likewise.
47268         (fmod_test): Likewise.
47269         (fpclassify_test): Likewise.
47270         (frexp_test): Likewise.
47271         (hypot_test): Likewise.
47272         (ilogb_test): Likewise.
47273         (isfinite_test): Likewise.
47274         (finite_test): Likewise.
47275         (isgreater_test): Likewise.
47276         (isgreaterequal_test): Likewise.
47277         (isinf_test): Likewise.
47278         (isless_test): Likewise.
47279         (islessequal_test): Likewise.
47280         (islessgreater_test): Likewise.
47281         (isnan_test): Likewise.
47282         (isnormal_test): Likewise.
47283         (issignaling_test): Likewise.
47284         (isunordered_test): Likewise.
47285         (j0_test): Likewise.
47286         (j1_test): Likewise.
47287         (jn_test): Likewise.
47288         (ldexp_test): Likewise.
47289         (lgamma_test): Likewise.
47290         (gamma_test): Likewise.
47291         (lrint_test): Likewise.
47292         (lrint_test_tonearest): Likewise.
47293         (lrint_test_towardzero): Likewise.
47294         (lrint_test_downward): Likewise.
47295         (lrint_test_upward): Likewise.
47296         (llrint_test): Likewise.
47297         (llrint_test_tonearest): Likewise.
47298         (llrint_test_towardzero): Likewise.
47299         (llrint_test_downward): Likewise.
47300         (llrint_test_upward): Likewise.
47301         (log_test): Likewise.
47302         (log10_test): Likewise.
47303         (log1p_test): Likewise.
47304         (log2_test): Likewise.
47305         (logb_test): Likewise.
47306         (logb_test_downward): Likewise.
47307         (lround_test): Likewise.
47308         (llround_test): Likewise.
47309         (modf_test): Likewise.
47310         (nearbyint_test): Likewise.
47311         (nextafter_test): Likewise.
47312         (nexttoward_test): Likewise.
47313         (pow_test): Likewise.
47314         (pow_test_tonearest): Likewise.
47315         (pow_test_towardzero): Likewise.
47316         (pow_test_downward): Likewise.
47317         (pow_test_upward): Likewise.
47318         (remainder_test): Likewise.
47319         (drem_test): Likewise.
47320         (remainder_test_tonearest): Likewise.
47321         (drem_test_tonearest): Likewise.
47322         (remainder_test_towardzero): Likewise.
47323         (drem_test_towardzero): Likewise.
47324         (remainder_test_downward): Likewise.
47325         (drem_test_downward): Likewise.
47326         (remainder_test_upward): Likewise.
47327         (drem_test_upward): Likewise.
47328         (remquo_test): Likewise.
47329         (rint_test): Likewise.
47330         (rint_test_tonearest): Likewise.
47331         (rint_test_towardzero): Likewise.
47332         (rint_test_downward): Likewise.
47333         (rint_test_upward): Likewise.
47334         (round_test): Likewise.
47335         (scalb_test): Likewise.
47336         (scalbn_test): Likewise.
47337         (scalbln_test): Likewise.
47338         (signbit_test): Likewise.
47339         (sin_test): Likewise.
47340         (sin_test_tonearest): Likewise.
47341         (sin_test_towardzero): Likewise.
47342         (sin_test_downward): Likewise.
47343         (sin_test_upward): Likewise.
47344         (sincos_test): Likewise.
47345         (sinh_test): Likewise.
47346         (sinh_test_tonearest): Likewise.
47347         (sinh_test_towardzero): Likewise.
47348         (sinh_test_downward): Likewise.
47349         (sinh_test_upward): Likewise.
47350         (sqrt_test): Likewise.
47351         (sqrt_test_tonearest): Likewise.
47352         (sqrt_test_towardzero): Likewise.
47353         (sqrt_test_downward): Likewise.
47354         (sqrt_test_upward): Likewise.
47355         (tan_test): Likewise.
47356         (tan_test_tonearest): Likewise.
47357         (tan_test_towardzero): Likewise.
47358         (tan_test_downward): Likewise.
47359         (tan_test_upward): Likewise.
47360         (tanh_test): Likewise.
47361         (tgamma_test): Likewise.
47362         (trunc_test): Likewise.
47363         (y0_test): Likewise.
47364         (y1_test): Likewise.
47365         (yn_test): Likewise.
47366         (significand_test): Likewise.
47368         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47369         individual tests in comment.
47370         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47371         (prev_max_error): New variable.
47372         (prev_real_max_error): Likewise.
47373         (prev_imag_max_error): Likewise.
47374         (compare_ulp_data): Don't refer to test names in comment.
47375         (find_test_ulps): Remove function.
47376         (find_function_ulps): Likewise.
47377         (find_complex_function_ulps): Likewise.
47378         (init_max_error): Take function name as argument.  Look up ulps
47379         for that function.
47380         (print_ulps): Remove function.
47381         (print_max_error): Use prev_max_error instead of calling
47382         find_function_ulps.
47383         (print_complex_max_error): Use prev_real_max_error and
47384         prev_imag_max_error instead of calling find_complex_function_ulps.
47385         (check_float_internal): Take max_ulp parameter instead of calling
47386         find_test_ulps.  Don't call print_ulps.
47387         (check_float): Update call to check_float_internal.
47388         (check_complex): Update calls to check_float_internal.
47389         (START): Pass argument to init_max_error.
47390         * math/gen-libm-test.pl (%results): Don't include "kind"
47391         information.
47392         (parse_ulps): Don't handle ulps of individual tests.
47393         (print_ulps_file): Likewise.
47394         (output_ulps): Likewise.
47395         * math/README.libm-test: Update.
47396         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47397         individual tests.
47398         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47399         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47400         * sysdeps/arm/libm-test-ulps: Likewise.
47401         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47402         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47403         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47404         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47405         * sysdeps/microblaze/libm-test-ulps: Likewise.
47406         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47407         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47408         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47409         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47410         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47411         * sysdeps/sh/libm-test-ulps: Likewise.
47412         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47413         * sysdeps/tile/libm-test-ulps: Likewise.
47414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47416 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47418         * math/libm-test.inc (print_complex_max_error): Check separately
47419         whether real and imaginary errors are within allowed range and
47420         pass 0 to print_complex_function_ulps instead of value within
47421         allowed range.
47423 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47425         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47426         formatting.
47427         (get_handles_fopen): Likewise.
47428         (do_write_test): Likewise.
47430         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47432         * libio/fileops.c (do_ftell): Use cached offset when
47433         available.
47434         * libio/iofwide.c (do_ftell_wide): Likewise.
47435         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47436         _IO_file_attach.
47437         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47439         [BZ #16532]
47440         * libio/libioP.h (get_file_offset): New function.
47441         * libio/fileops.c (get_file_offset): Likewise.
47442         (do_ftell): Likewise.
47443         (_IO_new_file_seekoff): Split out ftell logic.
47444         * libio/wfileops.c (do_ftell_wide): Likewise.
47445         (_IO_wfile_seekoff): Split out ftell logic.
47446         * libio/tst-ftell-active-handler.c: New test case.
47447         * libio/Makefile (tests): Add it.
47449 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47451         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47452         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47454 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47456         [BZ #16639]
47457         * nscd/connections.c (nscd_init): Call do_exit.
47458         (start_threads): Call do_exit and notify_parent.
47459         (begin_drop_privileges): Call do_exit.
47460         (finish_drop_privileges): Likewise.
47461         * nscd/selinux.c (preserve_capabilities): Likewise.
47462         (install_real_capabilities): Likewise.
47463         (nscd_selinux_enabled): Likewise.
47464         (avc_create_thread): Likewise.
47465         (avc_alloc_lock): Likewise.
47466         (nscd_avc_init): Likewise.
47467         * nscd/nscd.c (parent_fd): New static variable.
47468         (main): Create a pipe between parent and child processes.
47469         Skip closing parent_fd.
47470         (monitor_child): New function.
47471         (do_exit): Likewise.
47472         (notify_parent): Likewise.
47473         * nscd/nscd.h (notify_parent): Likewise.
47474         (do_exit): Likewise.
47476 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47478         * malloc/malloc.c (__libc_calloc): Revert last change.
47480 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47484 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47486         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47488         implementation.
47489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47490         (__libc_ifunc_impl_list): Likewise.
47491         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47492         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47493         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47494         * string/strrchr.c: Define STRRCHR.
47496 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47498         * benchtest/bench-strtok.c (simple_strtok): Delete.
47499         (strtok_string): Use as benchmark.
47500         * string/strtok (STRTOK): New macro.
47502 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47504         * manual/threads.texi: Add header and standard comments to all
47505         functions.
47507         * elf/dl-lookup.c (check_match): New function.
47508         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47509         (do_lookup_x): Remove nested function check_match. Use non-nested
47510         function check_match.
47512 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47514         * csu/Makefile (generated, before-compile): Use += rather than =.
47515         * catgets/Makefile (generated, generated-dirs): Likewise.
47516         * debug/Makefile (generated): Likewise.
47517         * dlfcn/Makefile (generated): Likewise.
47518         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47519         * iconvdata/Makefile (before-compile, generated): Likewise.
47520         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47521         * libio/Makefile (generated): Likewise.
47522         * malloc/Makefile (generated): Likewise.
47523         * manual/Makefile (generated, generated-dirs): Likewise.
47524         * misc/Makefile (generated): Likewise.
47525         * posix/Makefile (generated): Likewise.
47526         * resolv/Makefile (generated): Likewise.
47527         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47528         * timezone/Makefile (generated, generated-dirs): Likewise.
47530         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47532 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47535         power8 implementation.
47536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47537         file: POWER8 llround ifunc implementation.
47538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47539         (__lllround): Add POWER8 implementation.
47540         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47541         POWER8 llround implementation.
47543         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47544         power8 implementation.
47545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47546         file: POWER8 llrint ifunc implementation.
47547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47548         Add POWER8 implementation.
47549         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47550         POWER8 llrint implementation.
47552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47553         power8 implementation.
47554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47555         file: POWER8 finite ifunc implementation.
47556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47557         Add POWER8 implementation.
47558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47559         Likewise.
47560         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47561         POWER8 finite implementation.
47562         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47565         power8 implementation.
47566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47567         file: POWER8 isinf ifunc implementation.
47568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47569         POWER8 implementation.
47570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47571         Likewise.
47572         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47573         isinf implementation.
47574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47576         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47577         (INIT_ARCH): Add hwcap2 initialization.
47578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47579         power8 implementation.
47580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47581         file: POWER8 isnan ifunc implementation.
47582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47583         POWER8 implementation.
47584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47585         Likewise.
47586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47587         isnan implementation.
47588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47590 2014-02-27  Joey Ye  <joey.ye@arm.com>
47592         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47593         (_FP_NANFRAC_Q): Set to zero.
47595 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47597         [BZ #16623]
47598         * math/auto-libm-test-in: New test inputs.
47599         * math/auto-libm-test-out: Regenerate.
47600         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47601         and DA.
47602         (__cos): Likewise.
47603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47605 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47607         * scripts/evaluate-test.sh: Take new argument indicating whether
47608         failure is expected.
47609         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47610         indicating whether failure is expected.
47611         * conform/Makefile (test-xfail-run-conformtest): New variable.
47612         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47613         level.
47614         * posix/Makefile (test-xfail-annexc): New variable.
47615         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47617 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47619         * argp/Makefile: Include Makeconfig immediately after defining
47620         subdir.
47621         * assert/Makefile: Likewise.
47622         * benchtests/Makefile: Likewise.
47623         * catgets/Makefile: Likewise.
47624         * conform/Makefile: Likewise.
47625         * crypt/Makefile: Likewise.
47626         * csu/Makefile: Likewise.
47627         (all): Remove target.
47628         * ctype/Makefile: Include Makeconfig immediately after defining
47629         subdir.
47630         * debug/Makefile: Likewise.
47631         * dirent/Makefile: Likewise.
47632         * dlfcn/Makefile: Likewise.
47633         * gmon/Makefile: Likewise.
47634         * gnulib/Makefile: Likewise.
47635         * grp/Makefile: Likewise.
47636         * gshadow/Makefile: Likewise.
47637         * hesiod/Makefile: Likewise.
47638         * hurd/Makefile: Likewise.
47639         (all): Remove target.
47640         * iconvdata/Makefile: Include Makeconfig immediately after
47641         defining subdir.
47642         * inet/Makefile: Likewise.
47643         * intl/Makefile: Likewise.
47644         * io/Makefile: Likewise.
47645         * libio/Makefile: Likewise.
47646         (all): Remove target.
47647         * locale/Makefile: Include Makeconfig immediately after defining
47648         subdir.
47649         * login/Makefile: Likewise.
47650         * mach/Makefile: Likewise.
47651         (all): Remove target.
47652         * malloc/Makefile: Include Makeconfig immediately after defining
47653         subdir.
47654         (all): Remove target.
47655         * manual/Makefile: Include Makeconfig immediately after defining
47656         subdir.
47657         * math/Makefile: Likewise.
47658         * misc/Makefile: Likewise.
47659         * nis/Makefile: Likewise.
47660         * nss/Makefile: Likewise.
47661         * po/Makefile: Likewise.
47662         (all): Remove target.
47663         * posix/Makefile: Include Makeconfig immediately after defining
47664         subdir.
47665         * pwd/Makefile: Likewise.
47666         * resolv/Makefile: Likewise.
47667         * resource/Makefile: Likewise.
47668         * rt/Makefile: Likewise.
47669         * setjmp/Makefile: Likewise.
47670         * shadow/Makefile: Likewise.
47671         * signal/Makefile: Likewise.
47672         * socket/Makefile: Likewise.
47673         * soft-fp/Makefile: Likewise.
47674         * stdio-common/Makefile: Likewise.
47675         * stdlib/Makefile: Likewise.
47676         * streams/Makefile: Likewise.
47677         * string/Makefile: Likewise.
47678         * sunrpc/Makefile: Likewise.
47679         (all): Remove target.
47680         * sysvipc/Makefile: Include Makeconfig immediately after defining
47681         subdir.
47682         * termios/Makefile: Likewise.
47683         * time/Makefile: Likewise.
47684         * timezone/Makefile: Likewise.
47685         (all): Remove target.
47686         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47687         subdir.
47688         * wctype/Makefile: Likewise.
47690 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47692         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47693         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47694         (libc_feholdexcept_setround_mips): Ditto.
47695         (libc_feholdsetround): New.
47696         (libc_feholdsetroundf): New.
47697         (libc_feholdsetroundl): New.
47698         (libc_feupdateenv_test_mips): New.
47699         (libc_feupdateenv_test): New.
47700         (libc_feupdateenv_testf): New.
47701         (libc_feupdateenv_testl): New.
47702         (libc_feresetround): New.
47703         (libc_feresetroundf): New.
47704         (libc_feresetroundl): New.
47705         (libc_fetestexcept_mips): New.
47706         (libc_fetestexcept): New.
47707         (libc_fetestexceptf): New.
47708         (libc_fetestexceptl): New.
47709         (HAVE_RM_CTX): New.
47710         (libc_feholdexcept_setround_mips_ctx): New.
47711         (libc_feholdexcept_setround_ctx): New.
47712         (libc_feholdexcept_setroundf_ctx): New.
47713         (libc_feholdexcept_setroundl_ctx): New.
47714         (libc_fesetenv_mips_ctx): New.
47715         (libc_fesetenv_ctx): New.
47716         (libc_fesetenv_ctxf): New.
47717         (libc_fesetenv_ctxl): New.
47718         (libc_feupdateenv_mips_ctx): New.
47719         (libc_feupdateenv_ctx): New.
47720         (libc_feupdateenvf_ctx): New.
47721         (libc_feupdateenvl_ctx): New.
47722         (libc_feholdsetround_mips_ctx): New.
47723         (libc_feholdsetround_ctx): New.
47724         (libc_feholdsetroundf_ctx): New.
47725         (libc_feholdsetroundl_ctx): New.
47726         (libc_feresetround_mips_ctx): New.
47727         (libc_feresetround_ctx): New.
47728         (libc_feresetroundf_ctx): New.
47729         (libc_feresetroundl_ctx): New.
47731 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47733         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47735         * manual/ipc.texi: New file.
47736         * manual/Makefile (chapters): Add ipc.
47737         * manual/job.texi: Add "Inter-Process Communication" to next.
47738         * manual/process.texi: Add "Inter-Process Communication" to prev.
47740 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47744 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47746         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47748         * manual/arith.texi: Fix spaces after sentences.
47749         * manual/charset.texi: Likewise.
47750         * manual/errno.texi: Likewise.
47751         * manual/install.texi: Likewise.
47752         * manual/llio.texi: Likewise.
47753         * manual/locale.texi: Likewise.
47754         * manual/maint.texi: Likewise.
47755         * manual/math.texi: Likewise.
47756         * manual/memory.texi: Likewise.
47757         * manual/message.texi: Likewise.
47758         * manual/probes.texi: Likewise.
47759         * manual/resource.texi: Likewise.
47760         * manual/signal.texi: Likewise.
47761         * manual/socket.texi: Likewise.
47762         * manual/stdio.texi: Likewise.
47763         * manual/string.texi: Likewise.
47764         * manual/time.texi: Likewise.
47765         * manual/users.texi: Likewise.
47767 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47769         [BZ #16632]
47770         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47771         _DEFAULT_SOURCE is defined.
47773 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47774             Carlos O'Donell  <carlos@redhat.com>
47776         [BZ #16613]
47777         * elf/dl-tls.c (_dl_count_modids): New function.
47778         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47779         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47780         audit library and increment generation counter.
47781         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47782         * elf/tst-audit9.c: New file.
47783         * elf/tst-auditmod9a.c: New file.
47784         * elf/tst-auditmod9b.c: New file.
47785         * elf/Makefile: Add rules to build and run tst-audit9.
47787 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47789         [BZ #15347]
47790         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47792 2014-02-25  Will Newton  <will.newton@linaro.org>
47794         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47795         (__longjmp): Restore sp and lr before restoring callee
47796         saved registers.  Add longjmp and longjmp_target
47797         SystemTap probe point.
47798         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47799         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47800         Define to zero to match jmpbuf layout.
47801         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47802         (__sigsetjmp): Save sp and lr before saving callee
47803         saved registers.  Add setjmp SystemTap probe point.
47805 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47807         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47809 2014-02-24  Andreas Schwab  <schwab@suse.de>
47811         [BZ #15804]
47812         * elf/pldd.c (wait_for_ptrace_stop): New function.
47813         (main): Call it after attaching.
47815 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47817         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47818         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47819         Versions files is now verboten.
47820         * hurd/Versions (libc: GLIBC_2.0):
47821         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47822         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47823         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47824         * mach/Versions: Likewise.
47826         * csu/Versions: Remove unused %include.
47827         * resolv/Versions: Likewise.
47829 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47831         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47832         ($(objpfx)check-local-headers.out): Likewise.
47833         ($(objpfx)begin-end-check.out): Likewise.
47834         * Makerules (check-abi-%.out): Likewise.
47835         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47836         ($(objpfx)test2.cat): Likewise.
47837         ($(objpfx)de/libc.cat): Likewise.
47838         ($(objpfx)test-gencat.out): Likewise.
47839         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47840         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47841         ($(objpfx)noload-mem): Likewise.
47842         ($(objpfx)tst-pathopt.out): Likewise.
47843         ($(objpfx)tst-rtld-load-self.out): Likewise.
47844         ($(objpfx)tst-array1-cmp.out): Likewise.
47845         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47846         ($(objpfx)tst-array2-cmp.out): Likewise.
47847         ($(objpfx)tst-array3-cmp.out): Likewise.
47848         ($(objpfx)tst-array4-cmp.out): Likewise.
47849         ($(objpfx)tst-array5-cmp.out): Likewise.
47850         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47851         ($(objpfx)check-textrel.out): Likewise.
47852         ($(objpfx)check-execstack.out): Likewise.
47853         ($(objpfx)check-localplt.out): Likewise.
47854         ($(objpfx)order2-cmp.out): Likewise.
47855         ($(objpfx)tst-leaks1-mem): Likewise.
47856         ($(objpfx)tst-leaks1-static-mem): Likewise.
47857         ($(objpfx)tst-initorder-cmp.out): Likewise.
47858         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47859         ($(objpfx)tst-unused-dep.out): Likewise.
47860         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47861         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47862         * iconv/Makefile (test-iconvconfig): Likewise.
47863         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47864         ($(objpfx)iconv-test.out): Likewise.
47865         ($(objpfx)tst-tables.out): Likewise.
47866         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47867         ($(objpfx)tst-gettext.out): Likewise.
47868         ($(objpfx)tst-translit.out): Likewise.
47869         ($(objpfx)tst-gettext2.out): Likewise.
47870         ($(objpfx)tst-gettext4.out): Likewise.
47871         ($(objpfx)tst-gettext6.out): Likewise.
47872         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47873         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47874         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47875         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47876         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47877         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47878         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47879         ($(objpfx)wordexp-tst.out): Likewise.
47880         ($(objpfx)annexc.out): Likewise.
47881         ($(objpfx)tst-fnmatch-mem): Likewise.
47882         ($(objpfx)bug-regex2-mem): Likewise.
47883         ($(objpfx)bug-regex14-mem): Likewise.
47884         ($(objpfx)bug-regex21-mem): Likewise.
47885         ($(objpfx)bug-regex31-mem): Likewise.
47886         ($(objpfx)tst-vfork3-mem): Likewise.
47887         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47888         ($(objpfx)tst-pcre-mem): Likewise.
47889         ($(objpfx)tst-boost-mem): Likewise.
47890         ($(objpfx)tst-getconf.out): Likewise.
47891         ($(objpfx)bug-ga2-mem): Likewise.
47892         ($(objpfx)bug-glob2-mem): Likewise.
47893         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47894         ($(objpfx)mtrace-tst-leaks2): Likewise.
47895         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47896         ($(objpfx)tst-printf.out): Likewise.
47897         ($(objpfx)tst-setvbuf1.out): Likewise.
47898         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47899         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47900         ($(objpfx)tst-fmtmsg.out): Likewise.
47901         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47902         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47904         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47905         * bits/sigaction.h [__USE_MISC]: Likewise.
47906         * bits/waitstatus.h: Update #endif comments.
47907         * ctype/ctype.h: Likewise.
47908         * dirent/dirent.h: Likewise.
47909         [__USE_MISC]: Remove redundant conditionals.
47910         * grp/grp.h: Update #endif comments.
47911         [__USE_GNU]: Remove redundant conditionals.
47912         [__USE_MISC]: Likewise.
47913         * inet/netinet/in.h [__USE_GNU]: Likewise.
47914         * io/sys/stat.h [__USE_MISC]: Likewise.
47915         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47916         * libio/bits/stdio.h: Update #endif comments.
47917         [__USE_MISC]: Remove redundant conditionals.
47918         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47919         * libio/stdio.h: Update #endif comments.
47920         [__USE_MISC]: Remove redundant conditionals.
47921         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47922         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47923         * math/math.h: Update #else and #endif comments.
47924         [__USE_MISC]: Remove redundant conditionals.
47925         * misc/sys/uio.h: Update #endif comments.
47926         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47927         * posix/glob.h [__USE_MISC]: Likewise.
47928         * posix/sys/types.h: Update #endif comments.
47929         [__USE_MISC]: Remove redundant conditionals.
47930         * posix/sys/wait.h: Update #endif comments.
47931         [__USE_MISC]: Remove redundant conditionals.
47932         * posix/unistd.h: Update #endif comments.
47933         [__USE_MISC]: Remove redundant conditionals.
47934         * pwd/pwd.h [__USE_GNU]: Likewise.
47935         [__USE_MISC]: Likewise.
47936         * resolv/netdb.h [__USE_GNU]: Likewise.
47937         * signal/signal.h: Update #endif comments.
47938         [__USE_MISC]: Remove redundant conditionals.
47939         * stdlib/stdlib.h: Update #else and #endif comments.
47940         [__USE_MISC]: Remove redundant conditionals.
47941         [__USE_GNU]: Likewise.
47942         * string/bits/string2.h [__USE_MISC]: Likewise.
47943         * string/string.h: Update #endif comments.
47944         [__USE_MISC]: Remove redundant conditionals.
47945         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47946         Likewise.
47947         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47948         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47949         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47950         Likewise.
47951         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47952         Likewise.
47953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47954         comments.
47955         [__USE_MISC]: Remove redundant conditionals.
47956         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47957         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47958         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47959         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47960         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47961         Likewise.
47962         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47963         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47964         Likewise.
47965         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47966         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47967         Likewise.
47968         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47969         Likewise.
47970         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47971         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47972         Likewise.
47973         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47974         Likewise.
47975         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47976         * sysdeps/x86/bits/string.h: Update #endif comments.
47977         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47978         conditionals.
47979         * time/sys/time.h: Update #endif comments.
47980         * time/time.h: Likewise.
47981         [__USE_MISC]: Remove redundant conditionals.
47983 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47985         [BZ #16600]
47986         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47988 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47990         * Versions.def (librt): Add GLIBC_2.17.
47992 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47994         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47995         synonym for _SYS_AUXV_H to allow direct inclusion.
47996         * sysdeps/sparc/bits/hwcap.h: Likewise.
47997         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47998         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47999         * sysdeps/sparc/sysdep.h: Likewise.
48001 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48003         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48005 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48007         * benchtests/bench-strrchr.c: Print length instead of position.
48009 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48011         [BZ #16611]
48012         * sysdeps/unix/sysv/linux/kernel-features.h
48013         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48014         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48015         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48016         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48017         Likewise.
48018         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48019         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48020         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48021         (__ASSUME_SENDMMSG): Define instead of using previous
48022         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48023         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48024         (__ASSUME_SENDMMSG_SYSCALL): Define.
48025         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48026         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48027         Likewise.
48028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48029         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48030         Likewise.
48031         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48032         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48033         Likewise.
48034         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48035         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48036         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48037         [__ASSUME_SENDMMSG]: Change conditionals to
48038         [__ASSUME_SENDMMSG_SOCKETCALL].
48039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48040         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48041         Define.
48042         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48043         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48044         Likewise.
48045         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48046         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48047         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48048         [!__ASSUME_SENDMMSG]: Change conditional to
48049         [!__ASSUME_SENDMMSG_SOCKETCALL].
48050         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48051         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48052         Define.
48054         [BZ #16610]
48055         * sysdeps/unix/sysv/linux/kernel-features.h
48056         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48057         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48058         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48059         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48060         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48061         [__i386__ || __sparc__]
48062         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48063         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48064         (__ASSUME_RECVMMSG): Define instead of using previous
48065         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48066         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48067         (__ASSUME_RECVMMSG_SYSCALL): Define.
48068         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48069         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48070         Likewise.
48071         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48072         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48073         Likewise.
48074         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48075         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48076         Likewise.
48077         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48078         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48079         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48080         [__ASSUME_RECVMMSG]: Change condition to
48081         [__ASSUME_RECVMMSG_SOCKETCALL].
48082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48083         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48084         Define.
48085         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48086         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48087         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48088         Likewise.
48089         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48090         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48091         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48092         [!__ASSUME_RECVMMSG]: Change condition to
48093         [!__ASSUME_RECVMMSG_SOCKETCALL].
48094         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48095         (__ASSUME_RECVMMSG_SYSCALL): Define.
48097         [BZ #16609]
48098         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48099         __powerpc__ || __s390__ || __sh__ || __sparc__]
48100         (__ASSUME_SOCKETCALL): Define.
48101         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48102         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48103         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48104         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48105         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48106         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48107         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48108         (__ASSUME_ACCEPT4): Define instead of using previous
48109         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48110         __powerpc__ || __sparc__ || __s390__)] condition.
48111         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48112         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48113         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48114         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48115         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48116         [!__ASSUME_ACCEPT4]: Change condition to
48117         [!__ASSUME_ACCEPT4_SOCKETCALL].
48118         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48119         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48120         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48121         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48122         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48123         __ASSUME_ACCEPT4_SYSCALL.
48124         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48125         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48126         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48127         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48128         __ASSUME_ACCEPT4_SYSCALL.
48129         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48130         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48131         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48132         [__ASSUME_ACCEPT4]: Change condition to
48133         [__ASSUME_ACCEPT4_SOCKETCALL].
48134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48135         (__ASSUME_SOCKETCALL): Define.
48136         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48138         (__ASSUME_SOCKETCALL): Define.
48139         (__ASSUME_ACCEPT4): Remove.
48140         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48141         Define.
48142         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48143         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48144         Likewise.
48145         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48146         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48148         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48149         macro.
48150         (HWCAP_ARM_LPAE): Likewise.
48151         (HWCAP_ARM_EVTSTRM): Likewise.
48152         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48153         Add vpfd32, lpae and evtstrm.
48154         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48155         Increase to 22.
48157 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48159         * math/auto-libm-test-in: Add tests of clog10.
48160         * math/auto-libm-test-out: Regenerated.
48161         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48162         * sysdeps/i386/fpu/libm-test-ulps: Update.
48163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48165 2014-02-18  Andreas Schwab  <schwab@suse.de>
48167         [BZ #16574]
48168         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48169         Store non-zero if the second buffer was newly allocated.
48170         (send_dg): Likewise.
48171         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48172         to send_vc and send_dg.
48173         (res_nsend): Pass NULL for ansp2_malloced.
48174         * resolv/res_query.c (__libc_res_nquery): Add parameter
48175         answerp2_malloced and pass it down to __libc_res_nsend.
48176         (res_nquery): Pass additional NULL to __libc_res_nquery.
48177         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48178         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48179         second answer buffer if answerp2_malloced was set.
48180         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48181         (__libc_res_nquerydomain): Add parameter
48182         answerp2_malloced and pass it down to __libc_res_nquery.
48183         (res_nquerydomain): Pass additional NULL to
48184         __libc_res_nquerydomain.
48185         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48186         additional NULL to __libc_res_nsend and __libc_res_nquery.
48187         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48188         additional NULL to __libc_res_nsearch.
48189         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48190         parameter of __libc_res_nsearch to check for separately allocated
48191         second buffer.
48192         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48193         __libc_res_nquery.
48194         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48195         additional NULL to __libc_res_nquery.
48196         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48197         __libc_res_nsearch.
48198         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48199         * include/resolv.h: Update prototypes of __libc_res_nquery,
48200         __libc_res_nsearch, __libc_res_nsend.
48202 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48204         * math/auto-libm-test-in: Add tests of fma.
48205         * math/auto-libm-test-out: Regenerated.
48206         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48207         (fma_towardzero_test_data): Likewise.
48208         (fma_downward_test_data): Likewise.
48209         (fma_upward_test_data): Likewise.
48210         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48211         mpc_mode.
48212         (rounding_modes): Add values for new field.
48213         (func_calc_method): Add value mpfr_fff_f.
48214         (func_calc_desc): Add mpfr_fff_f union field.
48215         (test_function): Add field exact_args.
48216         (FUNC): Add macro argument EXACT_ARGS.
48217         (FUNC_mpfr_f_f): Update call to FUNC.
48218         (FUNC_mpfr_f_f): Likewise.
48219         (FUNC_mpfr_ff_f): Likewise.
48220         (FUNC_mpfr_if_f): Likewise.
48221         (FUNC_mpc_c_f): Likewise.
48222         (FUNC_mpc_c_c): Likewise.
48223         (test_functions): Add fma.  Update calls to FUNC.
48224         (handle_input_arg): Add argument exact_args.
48225         (add_test): Update call to handle_input_arg.
48226         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48227         (output_for_one_input_case): Update call to calc_generic_results.
48228         Recalculate exact zero results in each rounding mode.
48230         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48231         non-negative before setting low bit.
48232         * math/auto-libm-test-in: Mark one asin test possibly having
48233         spurious underflow.
48234         * math/auto-libm-test-out: Regenerated.
48235         * sysdeps/i386/fpu/libm-test-ulps: Update.
48236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48238 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48240         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48241         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48242         ports/sysdeps/unix/sysv/linux/microblaze.
48243         * README: Add missing listing for microblaze*-*-linux-gnu.
48245 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48247         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48248         duplicate code
48250 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48252         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48253         * sysdeps/unix/sysv/linux/ia64: Move directory from
48254         ports/sysdeps/unix/sysv/linux/ia64.
48255         * README: Update listing for ia64-*-linux-gnu.
48257 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48258             Joseph Myers  <joseph@codesourcery.com>
48260         * Makeconfig (test-name): New variable.
48261         (evaluate-test): Likewise.
48262         * Makerules (do-test-clean): Remove .test-result files.
48263         (common-mostlyclean): Likewise.
48264         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48265         * scripts/evaluate-test.sh: New file.
48267 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48269         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48270         separate $(objpfx)tst-fopenloc-cmp.out and
48271         $(objpfx)tst-fopenloc-mem.out targets.
48272         (tests): Update dependencies.
48273         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48274         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48275         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48276         (tst-rxspencer-no-utf8-ARGS): New variable.
48277         (tst-rxspencer-no-utf8-ENV): Likewise.
48278         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48279         instead of $(objpfx)tst-rxspencer-mem.
48280         ($(objpfx)tst-rxspencer-mem): Change target to
48281         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48282         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48283         * posix/tst-rxspencer-no-utf8.c: New file.
48285         * elf/Makefile ($(objpfx)order.out): Remove rule.
48286         [$(run-built-tests) = yes] (tests): Depend on
48287         $(objpfx)order-cmp.out.
48288         ($(objpfx)order-cmp.out): New rule.
48289         [$(run-built-tests) = yes] (tests): Depend on
48290         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48291         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48292         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48293         $(objpfx)tst-array5-static-cmp.out.
48294         ($(objpfx)tst-array1.out): Remove rule.
48295         ($(objpfx)tst-array1-cmp.out): New rule.
48296         ($(objpfx)tst-array1-static.out): Remove rule.
48297         ($(objpfx)tst-array1-static-cmp.out): New rule.
48298         ($(objpfx)tst-array2.out): Remove rule.
48299         ($(objpfx)tst-array2-cmp.out): New rule.
48300         ($(objpfx)tst-array3.out): Remove rule.
48301         ($(objpfx)tst-array3-cmp.out): New rule.
48302         ($(objpfx)tst-array4.out): Remove rule.
48303         ($(objpfx)tst-array4-cmp.out): New rule.
48304         ($(objpfx)tst-array5.out): Remove rule.
48305         ($(objpfx)tst-array5-cmp.out): New rule.
48306         ($(objpfx)tst-array5-static.out): Remove rule.
48307         ($(objpfx)tst-array5-static-cmp.out): New rule.
48308         [$(run-built-tests) = yes] (tests): Depend on
48309         $(objpfx)order2-cmp.out.
48310         ($(objpfx)order2.out): Remove rule.
48311         ($(objpfx)order2-cmp.out): New rule.
48312         ($(objpfx)tst-initorder.out): Remove rule.
48313         [$(run-built-tests) = yes] (tests): Depend on
48314         $(objpfx)tst-initorder-cmp.out.
48315         ($(objpfx)tst-initorder-cmp.out): New rule.
48316         ($(objpfx)tst-initorder2.out): Remove rule.
48317         [$(run-built-tests) = yes] (tests): Depend on
48318         $(objpfx)tst-initorder2-cmp.out.
48319         ($(objpfx)tst-initorder2-cmp.out): New rule.
48320         [$(run-built-tests) = yes] (tests): Depend on
48321         $(objpfx)tst-unused-dep-cmp.out.
48322         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48323         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48324         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48325         on $(objpfx)tst-setvbuf1-cmp.out.
48326         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48327         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48328         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48329         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48330         ($(objpfx)tst-svc.out): Remove rule.
48331         ($(objpfx)tst-svc-cmp.out): New rule.
48333 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48335         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48336         * ctype/ctype.h [__USE_MISC]: Likewise.
48337         * dirent/dirent.h [__USE_MISC]: Likewise.
48338         * grp/grp.h [__USE_MISC]: Likewise.
48339         * io/fcntl.h [__USE_MISC]: Likewise.
48340         * io/sys/stat.h [__USE_MISC]: Likewise.
48341         * libio/stdio.h [__USE_MISC]: Likewise.
48342         * posix/unistd.h [__USE_MISC]: Likewise.
48343         * pwd/pwd.h [__USE_MISC]: Likewise.
48344         * stdlib.h [__USE_MISC]: Likewise.
48345         * string/bits/string2.h [__USE_MISC]: Likewise.
48346         * string/string.h [__USE_MISC]: Likewise.
48347         * time/time.h [__USE_MISC]: Likewise.
48349 2014-02-13  Andreas Schwab  <schwab@suse.de>
48351         [BZ #16574]
48352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48353         second answer buffer if it was separately allocated.
48355 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48357         * sysdeps/mips/math-tests.h: Include <features.h>.
48358         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48359         (ROUNDING_TESTS_long_double): Do not define.
48360         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48361         (EXCEPTION_TESTS_long_double): Likewise.
48362         * sysdeps/mips/mips64/libm-test-ulps: Update.
48364         * include/features.h (__USE_BSD): Remove macro definitions.
48365         (__USE_SVID): Likewise.
48366         (_BSD_SOURCE): Likewise.
48367         (_SVID_SOURCE): Likewise.
48368         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48369         from definition of _DEFAULT_SOURCE.
48370         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48371         [_DEFAULT_SOURCE].
48372         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48373         * bits/mman.h [__USE_BSD]: Likewise.
48374         * bits/termios.h [__USE_BSD]: Likewise.
48375         * bits/waitstatus.h [__USE_BSD]: Likewise.
48376         * ctype/ctype.h [__USE_SVID]: Likewise.
48377         * dirent/dirent.h [__USE_BSD]: Likewise.
48378         * grp/grp.h [__USE_SVID]: Likewise.
48379         [__USE_BSD]: Likewise.
48380         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48381         * io/fcntl.h [__USE_BSD]: Likewise.
48382         * io/ftw.h [__USE_BSD]: Likewise.
48383         * io/sys/stat.h [__USE_BSD]: Likewise.
48384         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48385         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48386         * libio/stdio.h [__USE_SVID]: Likewise.
48387         [__USE_BSD]: Likewise.
48388         * math/math.h [__USE_SVID]: Likewise.
48389         [__USE_BSD]: Likewise.
48390         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48391         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48392         * misc/search.h [__USE_SVID]: Likewise.
48393         * misc/sys/mman.h [__USE_BSD]: Likewise.
48394         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48395         * misc/sys/uio.h [__USE_BSD]: Likewise.
48396         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48397         * posix/glob.h [__USE_BSD]: Likewise.
48398         * posix/regex.h [__USE_BSD]: Likewise.
48399         * posix/sys/types.h [__USE_BSD]: Likewise.
48400         [__USE_SVID]: Likewise.
48401         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48402         * posix/sys/wait.h [__USE_BSD]: Likewise.
48403         [__USE_SVID]: Likewise.
48404         * posix/unistd.h [__USE_BSD]: Likewise.
48405         [__USE_SVID]: Likewise.
48406         * pwd/pwd.h [__USE_SVID]: Likewise.
48407         * resolv/netdb.h [__USE_BSD]: Likewise.
48408         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48409         * signal/signal.h [__USE_BSD]: Likewise.
48410         [__USE_SVID]: Likewise.
48411         * socket/sys/socket.h [__USE_BSD]: Likewise.
48412         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48413         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48414         [__USE_SVID]: Likewise.
48415         * string/bits/string2.h [__USE_BSD]: Likewise.
48416         [__USE_SVID]: Likewise.
48417         * string/bits/string3.h [__USE_BSD]: Likewise.
48418         * string/endian.h [__USE_BSD]: Likewise.
48419         * string/string.h [__USE_SVID]: Likewise.
48420         [__USE_BSD]: Likewise.
48421         * string/strings.h [__USE_BSD]: Likewise.
48422         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48423         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48424         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48425         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48426         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48427         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48428         Likewise.
48429         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48430         Likewise.
48431         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48432         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48433         Likewise.
48434         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48435         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48436         Likewise.
48437         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48438         Likewise.
48439         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48440         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48441         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48442         Likewise.
48443         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48444         Likewise.
48445         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48446         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48447         * termios/termios.h [__USE_BSD]: Likewise.
48448         * time/sys/time.h [__USE_BSD]: Likewise.
48449         * time/time.h [__USE_BSD]: Likewise.
48450         [__USE_SVID]: Likewise.
48452         * Makefile (subdir_targets): Remove subdir_lint.out.
48454         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48455         (do-tst-printf): Likewise.
48456         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48457         $(objpfx)tst-printf.out.
48459         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48461         * Makerules (check-abi-%): Change target to
48462         $(objpfx)check-abi-%.out.
48463         (check-abi target): Update dependencies.
48464         (check-abi-pattern variable): Redirect output of diff to $@.
48465         (check-abi variable): Likewise.
48466         * elf/Makefile (check-abi): Update dependencies.
48468         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48469         unused.
48470         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48471         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48472         subnormal range.
48473         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48474         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48475         value has largest subnormal exponent.
48476         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48477         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48478         * sysdeps/aarch64/soft-fp/sfp-machine.h
48479         (_FP_TININESS_AFTER_ROUNDING): New macro.
48480         * sysdeps/alpha/soft-fp/sfp-machine.h
48481         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48482         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48483         Likewise.
48484         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48485         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48486         * sysdeps/mips/soft-fp/sfp-machine.h
48487         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48488         * sysdeps/powerpc/soft-fp/sfp-machine.h
48489         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48490         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48491         Likewise.
48492         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48493         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48494         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48495         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48496         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48497         Likewise.
48499 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48501         [BZ #16545]
48502         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48503         model 1.
48505 2014-02-12  Richard Henderson  <rth@redhat.com>
48507         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48508         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48509         * sysdeps/unix/sysv/linux/alpha: Move directory from
48510         ports/sysdeps/unix/sysv/linux/alpha.
48511         * README: Update listing for alpha-*-linux-gnu.
48513 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48515         * include/features.h: Update comment documenting feature test
48516         macros.
48517         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48518         _DEFAULT_SOURCE.
48519         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48520         (_SVID_SOURCE): Likewise.
48521         (_DEFAULT_SOURCE): Update description of default features.
48522         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48523         with _GNU_SOURCE.
48524         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48525         (S_ISVTX): Likewise.
48526         * manual/math.texi (Mathematical Constants): Likewise.
48527         * manual/signal.texi (Interrupted Primitives): Likewise.
48528         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48529         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48530         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48531         Don't refer to _SVID_SOURCE in warning text.
48533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48535         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48536         already defined.
48537         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48538         * sysdeps/mips/dl-lookup.c: Remove.
48539         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48541 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48543         [BZ #16447]
48544         * math/auto-libm-test-in: Add testcase for expl.
48545         * math/auto-libm-test-out: Regenerate.
48546         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48547         calculation of unsafe.
48548         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48550 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48552         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48553         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48554         ports/sysdeps/unix/sysv/linux/aarch64.
48555         * README: Update listing for aarch64*-*-linux-gnu.
48557 2014-02-11  Will Newton  <will.newton@linaro.org>
48559         * manual/probes.texi (Mathematical Function Probes): Use
48560         "triggered" instead of "hit".
48562         * manual/probes.texi (Internal Probes): Add documentation
48563         of setjmp, longjmp and longjmp_target probes.
48565         * include/stap-probe.h: Add comment about probe argument
48566         format.
48568         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48569         definition.  (tr_where, tr_freehook, tr_mallochook,
48570         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48572 2014-02-11  David S. Miller  <davem@davemloft.net>
48574         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48575         processing int_tests.
48577 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48579         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48580         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48581         * sysdeps/unix/sysv/linux/mips: Move directory from
48582         ports/sysdeps/unix/sysv/linux/mips.
48583         * README: Update listing for mips-*-linux-gnu and
48584         mips64-*-linux-gnu.
48586 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48588         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48589         * sysdeps/unix/sysv/linux/m68k: Move directory from
48590         ports/sysdeps/unix/sysv/linux/m68k.
48591         * README: Update listing for m68k-*-linux-gnu.
48593 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48595         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48596         * sysdeps/unix/sysv/linux/generic: Move directory from
48597         ports/sysdeps/unix/sysv/linux/generic.
48598         * sysdeps/unix/sysv/linux/tile: Move directory from
48599         ports/sysdeps/unix/sysv/linux/tile.
48600         * README: Update listing for tile*-*-linux-gnu.
48602 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48604         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48605         __builtin_expect.
48606         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48607         * catgets/open_catalog.c (__open_catalog): Likewise.
48608         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48609         * debug/confstr_chk.c: Likewise.
48610         * debug/fread_chk.c (__fread_chk): Likewise.
48611         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48612         * debug/getgroups_chk.c: Likewise.
48613         * debug/mbsnrtowcs_chk.c: Likewise.
48614         * debug/mbsrtowcs_chk.c: Likewise.
48615         * debug/mbstowcs_chk.c: Likewise.
48616         * debug/memcpy_chk.c: Likewise.
48617         * debug/memmove_chk.c: Likewise.
48618         * debug/mempcpy_chk.c: Likewise.
48619         * debug/memset_chk.c: Likewise.
48620         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48621         * debug/strcat_chk.c (__strcat_chk): Likewise.
48622         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48623         * debug/strncat_chk.c (__strncat_chk): Likewise.
48624         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48625         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48626         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48627         * debug/wcpncpy_chk.c: Likewise.
48628         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48629         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48630         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48631         * debug/wcsncpy_chk.c: Likewise.
48632         * debug/wcsnrtombs_chk.c: Likewise.
48633         * debug/wcsrtombs_chk.c: Likewise.
48634         * debug/wcstombs_chk.c: Likewise.
48635         * debug/wmemcpy_chk.c: Likewise.
48636         * debug/wmemmove_chk.c: Likewise.
48637         * debug/wmempcpy_chk.c: Likewise.
48638         * debug/wmemset_chk.c: Likewise.
48639         * dirent/scandirat.c (SCANDIRAT): Likewise.
48640         * dlfcn/dladdr1.c (dladdr1): Likewise.
48641         * dlfcn/dladdr.c (dladdr): Likewise.
48642         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48643         * dlfcn/dlerror.c (__dlerror): Likewise.
48644         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48645         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48646         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48647         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48648         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48649         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48650         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48651         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48652         Likewise.
48653         * elf/dl-conflict.c: Likewise.
48654         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48655         * elf/dl-dst.h: Likewise.
48656         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48657         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48658         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48659         * elf/dl-init.c (call_init, _dl_init): Likewise.
48660         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48661         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48662         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48663         Likewise.
48664         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48665         Likewise.
48666         * elf/dl-minimal.c (__libc_memalign): Likewise.
48667         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48668         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48669         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48670         * elf/dl-sym.c (do_sym): Likewise.
48671         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48672         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48673         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48674         * elf/dl-writev.h (_dl_writev): Likewise.
48675         * elf/ldconfig.c (search_dir): Likewise.
48676         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48677         (dl_main): Likewise.
48678         * elf/setup-vdso.h (setup_vdso): Likewise.
48679         * grp/compat-initgroups.c (compat_call): Likewise.
48680         * grp/fgetgrent.c (fgetgrent): Likewise.
48681         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48682         * grp/putgrent.c (putgrent): Likewise.
48683         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48684         Likewise.
48685         * hurd/hurdinit.c: Likewise.
48686         * iconvdata/8bit-gap.c (struct): Likewise.
48687         * iconvdata/ansi_x3.110.c : Likewise.
48688         * iconvdata/big5.c : Likewise.
48689         * iconvdata/big5hkscs.c : Likewise.
48690         * iconvdata/cp1255.c: Likewise.
48691         * iconvdata/cp1258.c : Likewise.
48692         * iconvdata/cp932.c : Likewise.
48693         * iconvdata/euc-cn.c: Likewise.
48694         * iconvdata/euc-jisx0213.c : Likewise.
48695         * iconvdata/euc-jp.c: Likewise.
48696         * iconvdata/euc-jp-ms.c : Likewise.
48697         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48698         * iconvdata/gb18030.c : Likewise.
48699         * iconvdata/gbbig5.c (const): Likewise.
48700         * iconvdata/gbgbk.c: Likewise.
48701         * iconvdata/gbk.c : Likewise.
48702         * iconvdata/ibm1364.c : Likewise.
48703         * iconvdata/ibm930.c : Likewise.
48704         * iconvdata/ibm932.c: Likewise.
48705         * iconvdata/ibm933.c : Likewise.
48706         * iconvdata/ibm935.c : Likewise.
48707         * iconvdata/ibm937.c : Likewise.
48708         * iconvdata/ibm939.c : Likewise.
48709         * iconvdata/ibm943.c: Likewise.
48710         * iconvdata/iso_11548-1.c: Likewise.
48711         * iconvdata/iso-2022-cn.c : Likewise.
48712         * iconvdata/iso-2022-cn-ext.c : Likewise.
48713         * iconvdata/iso-2022-jp-3.c: Likewise.
48714         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48715         * iconvdata/iso-2022-kr.c : Likewise.
48716         * iconvdata/iso646.c (gconv_end): Likewise.
48717         * iconvdata/iso_6937-2.c : Likewise.
48718         * iconvdata/iso_6937.c : Likewise.
48719         * iconvdata/iso8859-1.c: Likewise.
48720         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48721         * iconvdata/shift_jisx0213.c : Likewise.
48722         * iconvdata/sjis.c : Likewise.
48723         * iconvdata/t.61.c : Likewise.
48724         * iconvdata/tcvn5712-1.c : Likewise.
48725         * iconvdata/tscii.c: Likewise.
48726         * iconvdata/uhc.c : Likewise.
48727         * iconvdata/unicode.c (gconv_end): Likewise.
48728         * iconvdata/utf-16.c (gconv_end): Likewise.
48729         * iconvdata/utf-32.c (gconv_end): Likewise.
48730         * iconvdata/utf-7.c (base64): Likewise.
48731         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48732         * iconv/gconv_close.c (__gconv_close): Likewise.
48733         * iconv/gconv_open.c (__gconv_open): Likewise.
48734         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48735         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48736         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48737         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48738         (ucs4le_internal_loop_single): Likewise.
48739         * iconv/iconv.c (iconv): Likewise.
48740         * iconv/iconv_close.c: Likewise.
48741         * iconv/loop.c (SINGLE): Likewise.
48742         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48743         * include/atomic.h: Likewise.
48744         * inet/inet6_option.c (option_alloc): Likewise.
48745         * intl/bindtextdom.c (set_binding_values): Likewise.
48746         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48747         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48748         * intl/localealias.c (read_alias_file): Likewise.
48749         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48750         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48751         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48752         * libio/fmemopen.c (fmemopen): Likewise.
48753         * libio/iofgets.c (_IO_fgets): Likewise.
48754         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48755         * libio/iofgetws.c (fgetws): Likewise.
48756         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48757         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48758         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48759         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48760         * locale/findlocale.c (_nl_find_locale): Likewise.
48761         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48762         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48763         Likewise.
48764         * locale/setlocale.c (setlocale): Likewise.
48765         * login/programs/pt_chown.c (main): Likewise.
48766         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48767         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48768         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48769         (mmap, mmap64, mremap, munmap): Likewise.
48770         * math/e_exp2l.c: Likewise.
48771         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48772         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48773         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48774         * math/s_catan.c (__catan): Likewise.
48775         * math/s_catanf.c (__catanf): Likewise.
48776         * math/s_catanh.c (__catanh): Likewise.
48777         * math/s_catanhf.c (__catanhf): Likewise.
48778         * math/s_catanhl.c (__catanhl): Likewise.
48779         * math/s_catanl.c (__catanl): Likewise.
48780         * math/s_ccosh.c (__ccosh): Likewise.
48781         * math/s_ccoshf.c (__ccoshf): Likewise.
48782         * math/s_ccoshl.c (__ccoshl): Likewise.
48783         * math/s_cexp.c (__cexp): Likewise.
48784         * math/s_cexpf.c (__cexpf): Likewise.
48785         * math/s_cexpl.c (__cexpl): Likewise.
48786         * math/s_clog10.c (__clog10): Likewise.
48787         * math/s_clog10f.c (__clog10f): Likewise.
48788         * math/s_clog10l.c (__clog10l): Likewise.
48789         * math/s_clog.c (__clog): Likewise.
48790         * math/s_clogf.c (__clogf): Likewise.
48791         * math/s_clogl.c (__clogl): Likewise.
48792         * math/s_csin.c (__csin): Likewise.
48793         * math/s_csinf.c (__csinf): Likewise.
48794         * math/s_csinh.c (__csinh): Likewise.
48795         * math/s_csinhf.c (__csinhf): Likewise.
48796         * math/s_csinhl.c (__csinhl): Likewise.
48797         * math/s_csinl.c (__csinl): Likewise.
48798         * math/s_csqrt.c (__csqrt): Likewise.
48799         * math/s_csqrtf.c (__csqrtf): Likewise.
48800         * math/s_csqrtl.c (__csqrtl): Likewise.
48801         * math/s_ctan.c (__ctan): Likewise.
48802         * math/s_ctanf.c (__ctanf): Likewise.
48803         * math/s_ctanh.c (__ctanh): Likewise.
48804         * math/s_ctanhf.c (__ctanhf): Likewise.
48805         * math/s_ctanhl.c (__ctanhl): Likewise.
48806         * math/s_ctanl.c (__ctanl): Likewise.
48807         * math/w_pow.c: Likewise.
48808         * math/w_powf.c: Likewise.
48809         * math/w_powl.c: Likewise.
48810         * math/w_scalb.c (sysv_scalb): Likewise.
48811         * math/w_scalbf.c (sysv_scalbf): Likewise.
48812         * math/w_scalbl.c (sysv_scalbl): Likewise.
48813         * misc/error.c (error_tail): Likewise.
48814         * misc/pselect.c (__pselect): Likewise.
48815         * nis/nis_callback.c (__nis_create_callback): Likewise.
48816         * nis/nis_call.c (__nisfind_server): Likewise.
48817         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48818         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48819         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48820         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48821         * nis/nis_lookup.c (nis_lookup): Likewise.
48822         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48823         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48824         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48825         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48826         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48827         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48828         * nis/nss_compat/compat-initgroups.c (add_group)
48829         (internal_getgrent_r): Likewise.
48830         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48831         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48832         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48833         (internal_getspnam_r): Likewise.
48834         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48835         (_nss_nis_getaliasbyname_r): Likewise.
48836         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48837         (_nss_nis_getntohost_r): Likewise.
48838         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48839         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48840         (_nss_nis_getgrgid_r): Likewise.
48841         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48842         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48843         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48844         (_nss_nis_gethostbyname4_r): Likewise.
48845         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48846         (initgroups_netid): Likewise.
48847         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48848         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48849         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48850         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48851         (_nss_nis_getprotobynumber_r): Likewise.
48852         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48853         (_nss_nis_getsecretkey): Likewise.
48854         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48855         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48856         (_nss_nis_getpwuid_r): Likewise.
48857         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48858         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48859         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48860         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48861         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48862         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48863         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48864         Likewise.
48865         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48866         (_nss_nisplus_getntohost_r): Likewise.
48867         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48868         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48869         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48870         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48871         Likewise.
48872         * nis/nss_nisplus/nisplus-initgroups.c
48873         (_nss_nisplus_initgroups_dyn): Likewise.
48874         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48875         (_nss_nisplus_getnetbyaddr_r): Likewise.
48876         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48877         (_nss_nisplus_getprotobynumber_r): Likewise.
48878         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48879         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48880         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48881         Likewise.
48882         * nis/nss_nisplus/nisplus-service.c
48883         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48884         (_nss_nisplus_getservbyport_r): Likewise.
48885         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48886         (_nss_nisplus_getspnam_r): Likewise.
48887         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48888         Likewise.
48889         * nscd/aicache.c (addhstaiX): Likewise.
48890         * nscd/cache.c (cache_search, prune_cache): Likewise.
48891         * nscd/connections.c (register_traced_file, send_ro_fd)
48892         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48893         (main_loop_epoll): Likewise.
48894         * nscd/grpcache.c (addgrbyX): Likewise.
48895         * nscd/hstcache.c (addhstbyX): Likewise.
48896         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48897         * nscd/mem.c (gc, mempool_alloc): Likewise.
48898         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48899         (addinnetgrX): Likewise.
48900         * nscd/nscd-client.h (__nscd_acquire_maplock)
48901         (__nscd_drop_map_ref): Likewise.
48902         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48903         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48904         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48905         Likewise.
48906         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48907         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48908         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48909         (__nscd_get_map_ref): Likewise.
48910         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48911         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48912         Likewise.
48913         * nscd/pwdcache.c (addpwbyX): Likewise.
48914         * nscd/selinux.c (preserve_capabilities): Likewise.
48915         * nscd/servicescache.c (addservbyX): Likewise.
48916         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48917         * posix/fnmatch.c (fnmatch): Likewise.
48918         * posix/getopt.c (_getopt_internal_r): Likewise.
48919         * posix/glob.c (glob, glob_in_dir): Likewise.
48920         * posix/wordexp.c (exec_comm_child): Likewise.
48921         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48922         (getanswer_r, gaih_getanswer_slice): Likewise.
48923         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48924         * resolv/res_init.c: Likewise.
48925         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48926         * resolv/res_query.c (__libc_res_nquery): Likewise.
48927         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48928         Likewise.
48929         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48930         * stdio-common/perror.c (perror): Likewise.
48931         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48932         * stdio-common/tmpnam.c (tmpnam): Likewise.
48933         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48934         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48935         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48936         Likewise.
48937         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48938         * stdlib/putenv.c (putenv): Likewise.
48939         * stdlib/setenv.c (__add_to_environ): Likewise.
48940         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48941         * stdlib/strtol_l.c (INTERNAL): Likewise.
48942         * string/memmem.c (memmem): Likewise.
48943         * string/strerror.c (strerror): Likewise.
48944         * string/strnlen.c (__strnlen): Likewise.
48945         * string/test-memmem.c (simple_memmem): Likewise.
48946         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48947         * sunrpc/pm_getport.c (__get_socket): Likewise.
48948         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48949         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48950         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48951         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48952         Likewise.
48953         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48954         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48955         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48956         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48957         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48958         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48959         Likewise.
48960         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48961         Likewise.
48962         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48963         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48964         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48965         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48966         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48968         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48969         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48970         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48971         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48972         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48973         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48974         Likewise.
48975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48976         Likewise.
48977         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48978         Likewise.
48979         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48980         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48981         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48982         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48983         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48984         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48985         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48986         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48988         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48989         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48991         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48992         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48993         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48995         Likewise.
48996         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48997         Likewise.
48998         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48999         Likewise.
49000         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49001         Likewise.
49002         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49004         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49005         Likewise.
49006         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49007         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49008         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49009         * sysdeps/posix/sleep.c: Likewise.
49010         * sysdeps/posix/tempname.c: Likewise.
49011         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49012         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49013         Likewise.
49014         * sysdeps/powerpc/powerpc32/dl-machine.h
49015         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49016         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49017         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49018         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49019         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49020         Likewise.
49021         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49022         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49023         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49024         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49025         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49026         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49027         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49028         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49029         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49030         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49031         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49032         (elf_machine_lazy_rel): Likewise.
49033         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49034         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49035         (elf_machine_lazy_rel): Likewise.
49036         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49037         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49038         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49039         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49040         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49041         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49042         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49044         Likewise.
49045         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49046         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49047         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49048         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49049         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49050         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49051         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49052         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49053         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49054         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49055         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49056         Likewise.
49057         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49058         (__posix_fallocate64_l64): Likewise.
49059         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49060         (posix_fallocate): Likewise.
49061         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49062         Likewise.
49063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49064         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49065         (getifaddrs_internal): Likewise.
49066         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49067         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49068         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49069         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49070         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49071         (__posix_fallocate64_l64): Likewise.
49072         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49073         Likewise.
49074         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49075         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49076         (__get_clockfreq): Likewise.
49077         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49078         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49079         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49082         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49083         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49084         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49085         Likewise.
49086         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49087         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49088         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49089         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49090         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49091         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49092         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49093         Likewise.
49094         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49095         (posix_fallocate): Likewise.
49096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49097         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49098         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49099         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49100         (elf_machine_rela, elf_machine_rela_relative)
49101         (elf_machine_lazy_rel): Likewise.
49102         * time/asctime.c (asctime_internal): Likewise.
49103         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49104         * time/tzset.c (__tzset_parse_tz): Likewise.
49105         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49106         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49107         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49108         * wcsmbs/wcsmbsload.h: Likewise.
49110         [BZ #15894]
49111         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49113         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49114         (arena_get2): Remove THREAD_STATS conditionals.
49115         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49116         (__malloc_stats, int): Likewise.
49118 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49120         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49121         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49123         * manual/setjmp.texi: Fix typos/grammar errors.
49125         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49126         Only return early when n is <= 0.  Delete unused return statement.
49128         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49129         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49130         * debug/tst-longjmp_chk3.c: New file.
49132         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49133         (test_main): Replace code with set_fortify_handler call.
49134         * debug/test-strcpy_chk.c: Likewise.
49135         * debug/tst-chk1.c: Likewise.
49136         * debug/tst-longjmp_chk.c: Likewise.
49137         * test-skeleton.c: Include fcntl.h & paths.h
49138         (set_fortify_handler): Define.
49140         * debug/tst-longjmp_chk.c: Add header comment and include
49141         ../test-skeleton.c.
49142         (do_test): Mark static.
49143         (TEST_FUNCTION): Define.
49145         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49146         (IP_PMTUDISC_INTERFACE): Likewise.
49147         (IP_MULTICAST_IF): Likewise.
49148         (IP_MULTICAST_TTL): Likewise.
49149         (IP_MULTICAST_LOOP): Likewise.
49150         (IP_ADD_MEMBERSHIP): Likewise.
49151         (IP_DROP_MEMBERSHIP): Likewise.
49152         (IP_UNBLOCK_SOURCE): Likewise.
49153         (IP_BLOCK_SOURCE): Likewise.
49154         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49155         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49156         (IP_MSFILTER): Likewise.
49157         (MCAST_JOIN_GROUP): Likewise.
49158         (MCAST_BLOCK_SOURCE): Likewise.
49159         (MCAST_UNBLOCK_SOURCE): Likewise.
49160         (MCAST_LEAVE_GROUP): Likewise.
49161         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49162         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49163         (MCAST_MSFILTER): Likewise.
49164         (IP_MULTICAST_ALL): Likewise.
49165         (IP_UNICAST_IF): Likewise.
49167         * timezone/Makefile: Delete $(have-ksh) check.
49168         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49169         * timezone/tzselect.ksh: Add +x mode bits.
49171         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49172         (ANON_INODE_FS_MAGIC): Likewise.
49173         (BDEVFS_MAGIC): Likewise.
49174         (BINFMTFS_MAGIC): Likewise.
49175         (BTRFS_TEST_MAGIC): Likewise.
49176         (CRAMFS_MAGIC_WEND): Likewise.
49177         (DEBUGFS_MAGIC): Likewise.
49178         (ECRYPTFS_SUPER_MAGIC): Likewise.
49179         (EXT3_SUPER_MAGIC): Likewise.
49180         (EXT4_SUPER_MAGIC): Likewise.
49181         (FUTEXFS_SUPER_MAGIC): Likewise.
49182         (HOSTFS_SUPER_MAGIC): Likewise.
49183         (HUGETLBFS_MAGIC): Likewise.
49184         (MINIX3_SUPER_MAGIC): Likewise.
49185         (MTD_INODE_FS_MAGIC): Likewise.
49186         (NILFS_SUPER_MAGIC): Likewise.
49187         (OPENPROM_SUPER_MAGIC): Likewise.
49188         (PIPEFS_MAGIC): Likewise.
49189         (PSTOREFS_MAGIC): Likewise.
49190         (QNX6_SUPER_MAGIC): Likewise.
49191         (RAMFS_MAGIC): Likewise.
49192         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49193         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49194         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49195         (SECURITYFS_MAGIC): Likewise.
49196         (SELINUX_MAGIC): Likewise.
49197         (SMACK_MAGIC): Likewise.
49198         (SOCKFS_MAGIC): Likewise.
49199         (SQUASHFS_MAGIC): Likewise.
49200         (STACK_END_MAGIC): Likewise.
49201         (TMPFS_MAGIC): Likewise.
49202         (USBDEVICE_SUPER_MAGIC): Likewise.
49203         (V9FS_MAGIC): Likewise.
49204         (XENFS_SUPER_MAGIC): Likewise.
49205         (CRAMFS_MAGIC): Fix typo in comment.
49206         (EXT2_SUPER_MAGIC): Update comment.
49207         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49209 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49211         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49212         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49213         * sysdeps/unix/sysv/linux/arm: Move directory from
49214         ports/sysdeps/unix/sysv/linux/arm.
49215         * README: Update listing for arm-*-linux-gnueabi.
49217         * README: Remove mention of am33.
49219 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49221         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49222         than the comma operator, to avoid "rhs of comma has no effect"
49223         compiler warnings.
49224         (__sigfillset, __sigandset, __sigorset): Likewise.
49225         * include/signal.h (__sigemptyset): Likewise.
49226         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49228 2014-02-07  Allan McRae  <allan@archlinux.org>
49230         * version.h (RELEASE): Set to "development".
49231         (VERSION): Set to "2.19.90"
49232         * NEWS: Add 2.20 section.
49234 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49236         [BZ #16529]
49237         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49239 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49241         * manual/contrib.texi: Update entry for Carlos O'Donell,
49242         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49244 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49246         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49248         * sysdeps/unix/sysv/linux/kernel-features.h
49249         [__LINUX_KERNEL_VERSION >= 0x020621]
49250         (__ASSUME_PROC_PID_TASK_COMM): Define.
49252 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49254         [BZ #16398]
49255         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49256         conversion when destination buffer does not have enough space.
49257         * libio/tst-ftell-partial-wide.c: New test case.
49258         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49260         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49261         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49262         Leonard and Allan McRae.
49264 2014-02-04  David S. Miller  <davem@davemloft.net>
49266         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49267         32-bit.
49269 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49272         New file
49273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49274         New file
49275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49276         New file.
49277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49278         New file.
49279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49280         New file.
49281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49282         New file.
49283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49284         New file.
49285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49286         New file.
49287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49288         New file.
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49290         New file.
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49292         New file.
49293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49294         New file.
49295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49296         New file.
49298 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49300         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49301         * shlib-versions: Likewise.
49303 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49304             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49306         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49307         (abilist-pattern): New variable, set to %-le.abilist.
49309         * Makerules (abilist-pattern): New variable.
49310         (vpath): Use $(abilist-pattern) in place of %.abilist.
49311         (check-abi-% pattern rule): Likewise.
49312         (check-abi, update-abi): Likewise.
49314 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49318 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49320         * manual/startup.texi: Add next, previous, and top entries for
49321         the `Program Arguments' and `Environment Variables' nodes.
49323 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49325         * manual/macros.texi: Add comments before MTASC-safety macros.
49327         * manual/users.texi: Document MTASC-safety properties.
49329         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49330         (pthread_getspecific, pthread_setspecific): Format with
49331         @deftypefun, and add @safety note.
49332         * manual/signal.texi: Move comments that analyze the above
49333         functions to their home place.
49335 2014-02-03  Allan McRae  <allan@archlinux.org>
49337         * po/sl.po: Update Slovenian translation from translation project.
49339 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49341         * manual/time.texi (timegm): Add missing blank after @c.
49342         Reported by Joseph Myers <joseph@codesourcery.com>.
49344 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49346         * manual/check-safety.sh: New.
49347         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49349         * manual/terminal.texi: Document MTASC-safety properties.
49351         * manual/filesys.texi: Document MTASC-safety properties.
49353         * manual/errno.texi: Document MTASC-safety properties.
49355         * manual/intro.texi: Document safety identifiers and
49356         conditionals.
49358         * manual/string.texi (wcstok): Fix prototype.
49359         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49361         * manual/time.texi: Document MTASC-safety properties.
49363         * manual/string.texi: Document MTASC-safety properties.
49365         * manual/threads.texi: Document MTASC-safety properties.
49367         * manual/stdio.texi: Document MTASC-safety properties.
49369         * manual/syslog.texi: Document MTASC-safety properties.
49371         * manual/sysinfo.texi: Document MTASC-safety properties.
49373         * manual/startup.texi: Document MTASC-safety properties.
49375         * manual/socket.texi: Document MTASC-safety properties.
49377         * manual/signal.texi: Document MTASC-safety properties.
49379 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49381         * manual/setjmp.texi: Document MTASC-safety properties.
49383         * manual/search.texi: Document MTASC-safety properties.
49385         * manual/resource.texi: Document MTASC-safety properties.
49387         * manual/process.texi: Document MTASC-safety properties.
49389         * manual/platform.texi: Document MTASC-safety properties.
49391         * manual/pipe.texi: Document MTASC-safety properties.
49393         * manual/pattern.texi: Document MTASC-safety properties.
49395         * manual/message.texi: Document MTASC-safety properties.
49397         [BZ #12751]
49398         * manual/memory.texi: Document MTASC-safety properties.
49400         * manual/math.texi: Document MTASC-safety properties.
49402         * manual/locale.texi: Document MTASC-safety properties.
49404         * manual/llio.texi: Document MTASC-safety properties.
49406         * manual/libdl.texi: New.
49408         * manual/lang.texi: Document MTASC-safety properties.
49410         * manual/job.texi: Document MTASC-safety properties.
49412         * manual/getopt.texi: Document MTASC-safety properties.
49414         * manual/ctype.texi: Document MTASC-safety properties.
49416 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49418         [BZ #16046]
49419         * csu/libc-tls.c (static_map): Remove variable.
49420         (__libc_setup_tls): Use main executable's link map for TLS data.
49421         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49422         casing for LM_ID_BASE and GL(dl_nns).
49423         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49424         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49425         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49426         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49427         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49428         member.
49429         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49430         l_phnum members.
49432 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49434         * manual/debug.texi: Document MTASC-safety properties.
49436 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49438         [BZ #16510]
49439         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49440         of __x86_64__ when disabling x87 inline functions.
49442 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49444         * manual/charset.texi: Document MTASC-safety properties.
49446         * manual/crypt.texi: Document MTASC-safety properties.
49448         * manual/conf.texi: Document MTASC-safety properties.
49450         * manual/arith.texi: Document MTASC-safety properties.
49452         * manual/argp.texi: Document MTASC-safety properties.
49454         * manual/macros.texi: Introduce macros to document multi
49455         thread, asynchronous signal and asynchronous cancellation
49456         safety properties.
49457         * manual/intro.texi: Introduce the properties themselves.
49459 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49461         * sysdeps/sh/sh4/Makefile: New file.
49463 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49465         * math/gen-libm-test.pl ($srcdir): New variable.
49466         ($auto_input): Use it.
49468 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49470         [BZ #16506]
49471         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49472         access beyond array bounds when parsing netgroups file.
49474         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49475         the old buffer before realloc.
49477 2014-01-27  Allan McRae  <allan@archlinux.org>
49479         * po/fr.po: Update French translation from translation project.
49481 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49483         * sysdeps/sh/libm-test-ulps: Regenerate.
49485 2014-01-24  David S. Miller  <davem@davemloft.net>
49487         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49489 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49491         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49492         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49494 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49496         [BZ #16474]
49497         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49498         string pointers after reallocation.
49500 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49502         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49503         __SH4A__ instead of __SH_FPU_ANY__.
49505 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49507         * sysdeps/sh/fpu_control.h: New file.
49508         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49509         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49510         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49511         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49512         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49513         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49514         * sysdeps/sh/sys/ucontext.h: Remove.
49515         * sysdeps/sh/sys: Remove directory.
49517 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49519         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49520         s390/sys/ucontext.h.
49521         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49522         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49524 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49526         [BZ #15605]
49527         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49529 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49531         [BZ#16431]
49532         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49533         Adjust the vDSO correctly for internal calls.
49534         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49536 2014-01-20  Allan McRae  <allan@archlinux.org>
49538         * po/ca.po: Update Catalan translation from translation project.
49540 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49542         * sysdeps/s390/sotruss-lib.c: New file.
49544 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49546         [BZ#16430]
49547         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49548         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49549         local calls issues by not having a PLT stub required for IFUNC calls.
49550         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49552 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49554         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49555         * math/test-fpucw-static.c: Likewise.
49557 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49559         [BZ #16453]
49560         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49562 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49564         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49565         implementation for powerpc.
49567 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49569         [BZ #14782]
49570         * sysdeps/posix/system.c (__libc_system): Do not enable
49571         asynchronous cancellation.
49573 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49575         [BZ #16427]
49576         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49577         handling only for numbers special also in the IEEE case.
49579 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49581         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49583 2014-01-11  Allan McRae  <allan@archlinux.org>
49585         * po/bg.po: Update Bulgarian translation from translation project.
49587         * po/de.po: Update German translation from translation project.
49589 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49591         * sysdeps/generic/gcc-compat.h: New file.
49593 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49595         * benchtests/asin-inputs: Correct slow inputs.
49596         * benchtests/acos-inputs: Likewise.
49598 2014-01-10  Allan McRae  <allan@archlinux.org>
49600         * po:sv.po: Update Swedish translation from translation project.
49602         * po/vi.po: Update Vietnamese translation from translation project.
49604         * po/eo.po: Update Esperanto translation from translation project.
49606         * po/cs.po: Update Czech translation from translation project.
49608         * po/nl.po: Update Dutch translation from translation project.
49610         * po/pl.po: Update Polish translation from translation project.
49612         * po/ru.po: Update Russian translation from translation project.
49614         * po/uk.po: Update Ukrainian translation from translation project.
49616 2014-01-08  Brooks Moses  <bmoses@google.com>
49618         * elf/dl-load.c: Fix comment typo.
49620 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49622         * po/header.pot: Rename to...
49623         * po/pot.header: ... this.
49624         * po/Makefile: Use pot.header.
49626 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49627             Maxim Kuvyrkov  <maxim@kugelworks.com>
49629         [BZ #16394]
49630         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49631         SRC and DEST against LEN.
49633 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49635         [BZ #16414]
49636         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49637         implementation.
49638         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49640 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49644 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49646         [BZ #16408]
49647         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49648         for large positive arguments.
49650 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49652         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49654         * math/auto-libm-test-in: Mark various tests with
49655         xfail-rounding:ldbl-128ibm.
49656         * math/auto-libm-test-out: Regenerated.
49658         [BZ #16407]
49659         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49660         Increase overflow threshold.
49662 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49664         [BZ #14286]
49665         * stdio-common/vfprintf.c: Check for integer overflow.
49667 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49669         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49670         the first argument and return value of __tls_get_addr_internal.
49672 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49674         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49675         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49677 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49679         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49680         * sysdeps/s390/rtld-global-offsets.sym: New file.
49681         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49682         GLIBC_2.19 symbol.
49683         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49684         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49685         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49686         ... this.
49687         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49688         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49689         ... this.
49690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49691         Regenerate.
49692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49693         Regenerate.
49694         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49695         halfs of GPRs for high_gprs contexts.
49696         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49697         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49698         field.
49699         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49700         uc_flags field.
49701         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49702         64 bit versions:
49703         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49704         for high GPRs (uc_high_gprs) and for future extensions
49705         (__reserved).
49706         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49707         for future extensions (__reserved).
49708         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49709         64 bit versions:
49710         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49711         SC_HIGHGPRS offset definition.
49712         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49713         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49715         * Versions.def: Add GLIBC_2.19 for libpthread.
49716         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49717         siglongjmp for libpthread with GLIBC_2.19 symver.
49718         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49719         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49720         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49721         * sysdeps/s390/__longjmp.c: New file.
49722         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49723         * sysdeps/s390/longjmp.c: New file.
49724         * sysdeps/s390/setjmp.S: New file.
49725         * sysdeps/s390/sigjmp.S: New file.
49726         * sysdeps/s390/v1-longjmp.c: New file.
49727         * sysdeps/s390/v1-setjmp.h: New file.
49728         * sysdeps/s390/v1-sigjmp.c: New file.
49729         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49730         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49731         GLIBC_2.19 version.
49732         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49733         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49734         versioned symbols for ____longjmp_chk.
49735         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49736         Likewise.
49737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49738         Regenerate.
49739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49740         Regenerate.
49741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49742         Regenerate.
49743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49744         Regenerate.
49745         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49746         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49747         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49748         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49749         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49750         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49751         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49752         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49753         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49754         * sysdeps/s390/rtld-__longjmp.c: New file.
49755         * sysdeps/s390/rtld-setjmp.S: New file.
49757 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49759         [BZ #16400]
49760         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49761         Return -__logl (x) for small positive arguments without evaluating
49762         a polynomial.
49764 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49766         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49767         Rename to ...
49768         (__ptrace_peeksiginfo_args): ... this.
49769         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49770         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49771         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49773 2014-01-06  Allan McRae  <allan@archlinux.org>
49775         * inet/netinet/in.h: Fix typo in comment.
49777 2014-01-05  Andreas Jaeger  <aj@suse.de>
49779         * sysdeps/i386/fpu/libm-test-ulps: Update.
49781 2014-01-05  Allan McRae  <allan@archlinux.org>
49783         * po/libc.pot: Regenerated.
49785         * malloc/memusagestat.c: Fix gettext call formatting.
49787 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49789         * nscd/nscd.c: Improve usage() output.
49791 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49793         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49794         * sysdeps/unix/sysv/linux/configure: Regenerated.
49795         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49796         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49798 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49800         [BZ #16390]
49801         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49802         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49804 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49806         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49807         extra tokens at end of #undef directive.
49808         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49809         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49810         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49812 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49814         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49816         * math/auto-libm-test-in: Mark various tests with
49817         xfail-rounding:ldbl-128ibm.
49818         * math/auto-libm-test-out: Regenerated.
49820 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49822         [BZ #16386]
49823         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49824         numbers with subnormal high part when calculating exponent.
49826         [BZ #16385]
49827         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49828         fabs.
49830         [BZ #16384]
49831         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49832         M_LN2l.
49833         (__ieee754_acoshl): Use __log1pl not __log1p.
49835 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49837         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49838         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49839         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49840         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49841         (reused_arena, arena_get2): Convert to GNU style.
49842         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49843         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49844         (memalign_check, __malloc_set_state): Likewise.
49845         * malloc/mallocbug.c (main): Likewise.
49846         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49847         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49848         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49849         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49850         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49851         (__posix_memalign, malloc_info): Likewise.
49852         * malloc/malloc.h: Likewise.
49853         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49854         (mallochook, memalignhook, reallochook, mabort): Likewise.
49855         * malloc/mcheck.h: Likewise.
49856         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49857         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49858         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49859         * malloc/morecore.c (__default_morecore): Likewise.
49860         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49861         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49862         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49863         (print_and_abort): Likewise.
49864         * malloc/obstack.h: Likewise.
49865         * malloc/set-freeres.c (__libc_freeres): Likewise.
49866         * malloc/tst-mallocstate.c (main): Likewise.
49867         * malloc/tst-mtrace.c (main): Likewise.
49868         * malloc/tst-realloc.c (do_test): Likewise.
49870 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49872         [BZ #16366]
49873         * nscd/netgroupcache.c (do_notfound): New function.
49874         (addgetnetgrentX): Use it.
49876         [BZ # 16365]
49877         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49878         NSS_STATUS_NOTFOUND.
49880 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49882         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49885 2014-01-01  Allan McRae  <allan@archlinux.org>
49887         * scripts/update-copyrights: Update configure input file suffix.
49889         * NEWS: Update copyright year.
49890         * catgets/gencat.c: Likewise.
49891         * csu/version.c: Likewise.
49892         * debug/catchsegv.sh: Likewise.
49893         * debug/pcprofiledump.c: Likewise.
49894         * debug/xtrace.sh: Likewise.
49895         * elf/ldconfig.c: Likewise.
49896         * elf/ldd.bash.in: Likewise.
49897         * elf/pldd.c: Likewise.
49898         * elf/sotruss.ksh: Likewise.
49899         * elf/sprof.c: Likewise.
49900         * iconv/iconv_prog.c: Likewise.
49901         * iconv/iconvconfig.c: Likewise.
49902         * locale/programs/locale.c: Likewise.
49903         * locale/programs/localedef.c: Likewise.
49904         * login/programs/pt_chown.c: Likewise.
49905         * malloc/memusage.sh: Likewise.
49906         * malloc/memusagestat.c: Likewise.
49907         * malloc/mtrace.pl: Likewise.
49908         * manual/libc.texinfo: Likewise.
49909         * nscd/nscd.c: Likewise.
49910         * nss/getent.c: Likewise.
49911         * nss/makedb.c: Likewise.
49912         * posix/getconf.c: Likewise.
49913         * scripts/test-installation.pl: Likewise.
49915         * All files with FSF copyright notices: Update copyright dates
49916         using scripts/update-copyrights.
49917         * intl/plural.c: Regenerated.
49918         * locale/programs/charmap-kw.h: Likewise.
49919         * locale/programs/locfile-kw.h: Likewise.
49921 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49923         * sysdeps/unix/sysv/linux/configure: Regenerated.
49924         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49925         the linux/fanotify.h header.
49926         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49927         HAVE_LINUX_FANOTIFY_H is defined.
49929 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49931         * benchtests/cos-inputs: New inputs.
49932         * benchtests/sin-inputs: Likewise.
49934         * benchtests/atan-inputs: New inputs. Fix name of multiple
49935         precision fallback inputs.
49937         * benchtests/atanh-inputs: New inputs.
49938         * benchtests/tanh-inputs: Likewise.
49940         * benchtests/acosh-inputs: New inputs.
49941         * benchtests/asinh-inputs: Likewise.
49943         * benchtests/cosh-inputs: New inputs.
49944         * benchtests/sinh-inputs: Likewise.
49946         * benchtests/acos-inputs: Add more inputs.
49947         * benchtests/asin-inputs: Likewise.
49949 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49951         [BZ #16375]
49952         * manual/arith.texi: Fix spelling.
49953         * manual/charset.texi: Likewise.
49954         * manual/errno.texi: Likewise.
49955         * manual/filesys.texi: Likewise.
49956         * manual/lang.texi: Likewise.
49957         * manual/llio.texi: Likewise.
49958         * manual/locale.texi: Likewise.
49959         * manual/message.texi: Likewise.
49960         * manual/resource.texi: Likewise.
49961         * manual/search.texi: Likewise.
49962         * manual/setjmp.texi: Likewise.
49963         * manual/stdio.texi: Likewise.
49964         * manual/string.texi: Likewise.
49965         * manual/sysinfo.texi: Likewise.
49966         * manual/time.texi: Likewise.
49968 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49970         * po/sl.po: New file.
49972 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49974         * .gitignore: Add core/.gdbinit/.gdb_history.
49976 2013-12-27  Allan McRae  <allan@archlinux.org>
49978         [BZ #16369]
49979         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49980         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49982 2013-12-24  Brooks Moses  <bmoses@google.com>
49984         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49985         all compilers that claim C++98 compliance, not just GCC.
49986         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49987         Likewise.
49989 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49991         * NEWS: Restore accidentally deleted bug-fix entries.
49993 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49994             Ondřej Bílka  <neleai@seznam.cz>
49996         [BZ #15073]
49997         * malloc/malloc.c (_int_free): Perform sanity check only if we
49998         have_lock.
50000 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50002         [BZ #12986]
50003         * manual/stdio.texi (String Input Conversions): Clarify that character
50004         classes are not supported.
50006 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50010 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50012         [BZ #16337]
50013         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50014         Calculate results for small negative arguments directly rather
50015         than using reflection formula with special underflow handling.
50017         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50018         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50019         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50020         (fchflags): Likewise.
50021         (revoke): Likewise.
50022         (setlogin): Likewise.
50023         (sigaltstack): Likewise.
50024         (wait4): Likewise.
50025         (sigblock): Remove.
50026         (sigsetmask): Likewise.
50027         (wait3): Likewise.
50028         (waitpid): Likewise.
50029         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50030         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50031         file.
50032         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50033         * sysdeps/unix/bsd/Makefile: ... here.
50034         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50035         * sysdeps/unix/bsd/Versions: ... here.
50036         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50037         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50038         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50039         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50040         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50041         * sysdeps/unix/bsd/sigblock.c: ... here.
50042         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50043         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50044         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50045         * sysdeps/unix/bsd/sigvec.c: ... here.
50046         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50047         * sysdeps/unix/bsd/tcdrain.c: ... here.
50048         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50049         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50050         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50051         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50052         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50053         * sysdeps/unix/bsd/wait.c: ... here.
50054         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50055         * sysdeps/unix/bsd/wait3.c: ... here.
50056         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50057         * sysdeps/unix/bsd/waitpid.c: ... here.
50059 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50061         [BZ #16356]
50062         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50063         round-to-nearest for [!USE_AS_EXPM1L].
50064         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50065         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50066         more tests of exp and exp10.  Expect some exp10 tests to miss
50067         exceptions or fail in directed rounding modes.
50068         * math/auto-libm-test-out: Regenerated.
50069         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50070         (exp10_test_tonearest): New function.
50071         (exp10_towardzero_test_data): New array.
50072         (exp10_test_towardzero): New function.
50073         (exp10_downward_test_data): New array.
50074         (exp10_test_downward): New function.
50075         (exp10_upward_test_data): New array.
50076         (exp10_test_upward): New function.
50077         (main): Call the new functions.
50078         * sysdeps/i386/fpu/libm-test-ulps: Update.
50079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50081 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50083         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50084         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50085         * math/auto-libm-test-out: Regenerated.
50086         * math/libm-test.inc (acosh_test_data): Add more tests.
50087         (atanh_test_data): Likewise.
50088         (ceil_test_data): Likewise.
50089         (copysign_test_data): Likewise.
50090         * sysdeps/i386/fpu/libm-test-ulps: Update.
50091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50093         * timezone/checktab.awk: Update from tzcode 2013i.
50094         * timezone/private.h: Likewise.
50095         * timezone/scheck.c: Likewise.
50096         * timezone/tzfile.h: Likewise.
50097         * timezone/tzselect.ksh: Likewise.
50098         * timezone/zdump.c: Likewise.
50099         * timezone/zic.c: Likewise.
50101         * math/auto-libm-test-in: Add tests of cpow.
50102         * math/auto-libm-test-out: Regenerated.
50103         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50104         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50105         mpc_cc_c.
50106         (func_calc_desc): Add mpc_cc_c union field.
50107         (test_functions): Add cpow.
50108         (special_fill_2pi): New function.
50109         (special_real_inputs): Add 2pi.
50110         (calc_generic_results): Handle mpc_cc_c.
50111         * sysdeps/i386/fpu/libm-test-ulps: Update.
50112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50114         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50115         csqrt, ctan and ctanh.
50116         * math/auto-libm-test-out: Regenerated.
50117         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50118         (TEST_COND_x86): Likewise.
50119         (ccos_test_data): Use AUTO_TESTS_c_c.
50120         (ccosh_test_data): Likewise.
50121         (cexp_test_data): Likewise.
50122         (clog_test_data): Likewise.
50123         (csqrt_test_data): Likewise.
50124         (ctan_test_data): Likewise.
50125         (ctan_tonearest_test_data): Likewise.
50126         (ctan_towardzero_test_data): Likewise.
50127         (ctan_downward_test_data): Likewise.
50128         (ctan_upward_test_data): Likewise.
50129         (ctanh_test_data): Likewise.
50130         (ctanh_tonearest_test_data): Likewise.
50131         (ctanh_towardzero_test_data): Likewise.
50132         (ctanh_downward_test_data): Likewise.
50133         (ctanh_upward_test_data): Likewise.
50134         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50135         mpc_c_c.
50136         (func_calc_desc): Add mpc_c_c union field.
50137         (FUNC_mpc_c_c): New macro.
50138         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50139         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50140         ctanh.
50141         (special_fill_min_subnorm_p120): New function.
50142         (special_real_inputs): Add min_subnorm_p120.
50143         (calc_generic_results): Handle mpc_c_c.
50144         * sysdeps/i386/fpu/libm-test-ulps: Update.
50145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50147 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50149         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50150         (do_sin_slow): New functions.
50151         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50152         (cslow2, csloww1, csloww2): Use the new functions.
50154         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50155         Use M to change sign of result instead of X.  Assume X is
50156         positive.
50157         (csloww1): Likewise.
50158         (__sin): Adjust.
50159         (__cos): Adjust.
50161         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50162         arguments A and DA.
50163         (__sin): Adjust.
50164         (__cos): Likewise.
50166         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50167         (__cos): Likewise.
50168         (sloww1): Don't adjust sign of DX.
50169         (csloww1): Likewise.
50170         (sloww2): Use X directly and don't adjust sign of DX.
50171         (csloww2): Likewise.
50173 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50175         * math/auto-libm-test-in: Add tests of cabs and carg.
50176         * math/auto-libm-test-out: Regenerated.
50177         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50178         (carg_test_data): Likewise.
50179         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50180         mpc_c_f.
50181         (func_calc_desc): Add mpc_c_f union field.
50182         (test_functions): Add cabs and carg.
50183         (calc_generic_results): Handle mpc_c_f.
50185         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50186         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50187         as a macro and a compat symbol.
50188         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50189         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50190         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50191         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50192         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50193         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50194         not use .hidden.
50195         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50196         Likewise.
50197         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50198         Likewise.
50199         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50200         Likewise.
50201         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50202         Likewise.
50203         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50204         Likewise.
50205         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50206         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50207         from GLIBC_2.3.2.
50209 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50213 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50215         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50216         trailing whitespace removed.
50217         * scripts/config.guess: Update to version 2013-11-29.
50218         * scripts/config.sub: Update to version 2013-10-01.
50220         * math/auto-libm-test-in: Add tests of sincos.
50221         * math/auto-libm-test-out: Regenerated.
50222         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50223         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50224         mpfr_f_11.
50225         (func_calc_desc): Add mpfr_f_11 union field.
50226         (test_functions): Add sincos.
50227         (calc_generic_results): Handle mpfr_f_11.
50228         * sysdeps/i386/fpu/libm-test-ulps: Update.
50229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50231 2013-12-19  Andreas Schwab  <schwab@suse.de>
50233         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50234         CALL_MCOUNT.
50235         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50236         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50237         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50239 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50241         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50242         * sysdeps/i386/fpu/libm-test-ulps: Update.
50243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50245         [BZ #16293]
50246         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50247         round-to-nearest mode when using frndint.
50248         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50249         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50250         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50251         Likewise.
50252         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50253         sinh test to fail.
50254         * math/auto-libm-test-out: Regenerated.
50255         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50256         (TEST_COND_x86): Likewise.
50257         (expm1_tonearest_test_data): New array.
50258         (expm1_test_tonearest): New function.
50259         (expm1_towardzero_test_data): New array.
50260         (expm1_test_towardzero): New function.
50261         (expm1_downward_test_data): New array.
50262         (expm1_test_downward): New function.
50263         (expm1_upward_test_data): New array.
50264         (expm1_test_upward): New function.
50265         (main): Run the new test functions.
50266         * sysdeps/i386/fpu/libm-test-ulps: Update.
50267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50269         * include/features.h: Update comment documenting feature test
50270         macros.  Mention _DEFAULT_SOURCE in comment.
50271         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50272         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50273         _BSD_SOURCE and _SVID_SOURCE.
50274         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50275         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50276         !_SVID_SOURCE]: Likewise.
50277         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50278         (__USE_POSIX_IMPLICITLY): Define.
50279         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50280         (_POSIX_SOURCE): Undefine and redefine.
50281         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50282         (_POSIX_C_SOURCE): Likewise.
50283         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50284         (Feature Test Macros): Update documentation of default features.
50286 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50288         * benchtests/Makefile: Add bench-strtok.
50289         * benchtests/bench-strtok.c: New file: strtok benchtest.
50291 2013-12-19  Allan McRae  <allan@archlinux.org>
50293         * manual/install.texi: Suppress menu for plain text output.
50294         * INSTALL: Regenerated.
50296 2013-12-18  Brooks Moses  <bmoses@google.com>
50298         [BZ #15846]
50299         * misc/getauxval.c: Include errno.h.
50300         (__getauxval): Set errno to ENOENT if the requested type is not
50301         found.
50302         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50303         don't declare with __attribute_const__.
50304         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50305         * manual/startup.texi: Document that getauxval sets errno.
50307 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50309         * math/auto-libm-test-in: Add tests of jn and yn.
50310         * math/auto-libm-test-out: Regenerated.
50311         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50312         (yn_test_data): Likewise.
50313         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50314         mpfr_if_f.
50315         (func_calc_desc): Add mpfr_if_f union field.
50316         (FUNC_mpfr_if_f): New macro.
50317         (test_functions): Add jn and yn.
50318         (calc_generic_results): Assert type of second input for
50319         mpfr_ff_f.  Handle mpfr_if_f.
50320         (output_for_one_input_case): Disable all checking for arguments
50321         fitting floating-point types in case of an integer argument.
50322         * sysdeps/i386/fpu/libm-test-ulps: Update.
50323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50326         Don't expect fegetround reference in libm.so.
50328 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50330         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50331         $(config-cflags-nofma).
50333 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50335         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50336         * math/auto-libm-test-out: Regenerated.
50338         [BZ #16338]
50339         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50340         to determine exponent and adjust argument to have exponent of -1.
50341         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50342         log2.
50343         * math/auto-libm-test-out: Regenerated.
50344         * sysdeps/i386/fpu/libm-test-ulps: Update.
50345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50347 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50349         * manual/probes.texi: Remove cases when per-thread arenas are
50350         disabled.
50352 2013-12-18  Andreas Schwab  <schwab@suse.de>
50354         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50355         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50356         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50357         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50358         * sysdeps/i386/i686/multiarch/Makefile: Update.
50359         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50361 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50363         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50364         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50366 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50368         [BZ #15968]
50369         Support TZ transition times < 00:00:00.
50370         This is needed for version-3 tz-format files; it supports time
50371         stamps past 2037 for America/Godthab (the only entry in the tz
50372         database for which this change is relevant).
50373         * manual/time.texi (TZ Variable): Document transition times
50374         from -167:59:59 through -00:00:01.
50375         * time/tzset.c (tz_rule): Time of day is now signed.
50376         (__tzset_parse_tz): Parse negative time of day.
50378         Document TZ transition times >= 25:00:00.
50379         * manual/time.texi (TZ Variable): Document transition times from
50380         25:00:00 through 167:59:59.  These are already supported, and this
50381         support will help with version-3 tz-format files.
50383         * manual/time.texi (TZ Variable): Modernize North America example
50384         to reflect current (i.e., 2007-and-later) daylight saving rules.
50386         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50388 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50390         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50391         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50392         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50394         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50395         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50396         * sysdeps/unix/bsd/clock.c: Likewise.
50397         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50398         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50399         * sysdeps/unix/bsd/init-posix.c: Likewise.
50400         * sysdeps/unix/bsd/poll.c: Likewise.
50401         * sysdeps/unix/bsd/ptsname.c: Likewise.
50402         * sysdeps/unix/bsd/seekdir.c: Likewise.
50403         * sysdeps/unix/bsd/setegid.c: Likewise.
50404         * sysdeps/unix/bsd/seteuid.c: Likewise.
50405         * sysdeps/unix/bsd/setgid.c: Likewise.
50406         * sysdeps/unix/bsd/setrgid.c: Likewise.
50407         * sysdeps/unix/bsd/setruid.c: Likewise.
50408         * sysdeps/unix/bsd/setsid.c: Likewise.
50409         * sysdeps/unix/bsd/setuid.c: Likewise.
50410         * sysdeps/unix/bsd/sigaction.c: Likewise.
50411         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50412         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50413         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50414         * sysdeps/unix/bsd/telldir.c: Likewise.
50415         * sysdeps/unix/bsd/times.c: Likewise.
50416         * sysdeps/unix/bsd/usleep.c: Likewise.
50418         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50419         ($(objpfx)libbsd-compat.a): Remove rule.
50421         * include/features.h (__FAVOR_BSD): Do not define.
50422         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50423         features conflicting with POSIX.
50424         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50425         (_BSD_SOURCE): Remove description of not being a subset of other
50426         feature test macros.
50427         * manual/job.texi (getpgrp): Do not document BSD version.
50428         (getpgid): Do not document by reference to BSD getpgrp.
50429         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50430         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50431         * signal/signal.h [__FAVOR_BSD]: Likewise.
50432         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50433         instead of making contents conditional on [__FAVOR_BSD].
50434         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50436 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50440 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50442         [BZ #16314]
50443         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50444         values below 2**-450, not 2**-500.
50445         * math/auto-libm-test-in: Don't allow spurious underflow from
50446         hypot.
50447         * math/auto-libm-test-out: Regenerated.
50449         [BZ #16316]
50450         [BZ #16330]
50451         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50452         values of ha and hb and sort them after adjusting subnormal
50453         arguments.
50454         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50455         Likewise.
50456         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50457         values of ea and eb and sort them after adjusting subnormal
50458         arguments.
50459         * math/auto-libm-test-in: Do not expect some hypot tests of
50460         subnormals to fail.  Add more hypot tests.
50461         * math/auto-libm-test-out: Regenerated.
50463 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50465         [BZ #13304]
50466         * sysdeps/sh/s_fma.c: New file.
50467         * sysdeps/sh/s_fmaf.c: New file.
50468         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50469         version.
50470         * sysdeps/sh/Implies: Add sh/soft-fp.
50472 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50474         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50475         level of indirection to members `objname', `errstring', `malloced'.
50476         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50477         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50478         it as the __longjmp argument (just pass 1 instead).
50479         (_dl_catch_error): Initialize C with argument pointers and address of
50480         volatile local ERRCODE rather than copying values out of C at return.
50482 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50484         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50485         * math/auto-libm-test-out: Regenerated.
50486         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50487         (hypot_test_data): Likewise.
50488         (pow_test_data): Likewise.
50489         (pow_tonearest_test_data): Likewise.
50490         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50491         mpfr_ff_f.
50492         (func_calc_desc): Add mpfr_ff_f union field.
50493         (FUNC_mpfr_ff_f): New macro.
50494         (test_functions): Add atan2, hypot and pow.
50495         (special_fill_min): New function.
50496         (special_fill_minus_min): Likewise.
50497         (special_fill_min_subnorm): Likewise.
50498         (special_fill_minus_min_subnorm): Likewise.
50499         (special_real_inputs): Add min, -min, min_subnorm and
50500         -min_subnorm.
50501         (calc_generic_results): Handle mpfr_ff_f.
50502         * sysdeps/i386/fpu/libm-test-ulps: Update.
50503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50505 2013-12-16  Will Newton  <will.newton@linaro.org>
50507         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50508         (Aligned Memory Blocks): Add documentation for aligned_alloc
50509         and suggest it as an alternative to posix_memalign.
50510         (Hooks for Malloc): Document __memalign_hook is also called
50511         for aligned_alloc.  (Summary of Malloc): Add summary for
50512         aligned alloc.  Document __memalign_hook is also called
50513         for aligned_alloc.
50515 2013-12-16  Will Newton  <will.newton@linaro.org>
50517         * manual/memory.texi (Malloc Examples): Clarify default
50518         alignment documentation.  Suggest posix_memalign rather
50519         than memalign or valloc.
50520         (Aligned Memory Blocks): Remove suggestion to use memalign
50521         or valloc.  Remove obsolete comment about BSD.
50522         Document memalign errno values and mark the function obsolete.
50523         Document posix_memalign returned error codes.  Mark valloc
50524         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50525         called for posix_memalign and valloc.
50526         (Summary of Malloc): Add posix_memalign to function summary.
50527         __memalign_hook is also called for posix_memalign and valloc.
50529 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50531         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50532         TAYLOR_SIN.
50533         (__sin): Adjust.
50534         (__cos): Likewise.
50535         (sloww): Use mynumber union.  Expand ternary operator into
50536         if-else statements.
50537         (cslow): use mynumber union.
50539 2013-12-16  Allan McRae  <allan@archlinux.org>
50541         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50542         * configure: Regenerated.
50544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50546         [BZ #14120]
50547         * configure.ac: Added --enable-maintainer-mode. Check for
50548         autoconf when enabled.
50549         * configure: Regenerated.
50551         * nscd/nscd.service: New file.
50552         * nscd/nscd.tmpfiles: New file.
50554 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50556         [BZ #12100]
50557         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50558         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50559         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50560         (strstr): Add __strstr_sse2_unaligned ifunc.
50561         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50562         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50563         (strcasestr): Remove __strcasestr_sse42 ifunc.
50564         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50568 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50570         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50571         * sysdeps/sh/bits/fenv.h: ... here.
50572         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50574 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50576         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50579         hypotf multiarch implementations.
50580         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50581         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50582         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50583         multiarch hypot for PPC64.
50584         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50585         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50587         multiarch hypotf for PPC64.
50589         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50590         modff multiarch implementations.
50591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50594         multiarch modf for PPC64.
50595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50598         multiarch modff for PPC64.
50600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50601         and logl multiarch implementations.
50602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50605         multiarch logb for PPC64.
50606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50609         multiarch logb for PPC64.
50610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50613         multiarch logb for PPC64.
50615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50616         isinff multiarch implementation.
50617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50618         file.
50619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50621         multiarch isinf for PPC64.
50622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50623         file.
50624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50625         multiarch isinff for PPC64.
50627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50628         finitef multiarch implementation.
50629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50630         file.
50631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50633         multiarch finite for PPC64.
50634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50635         file.
50636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50637         multiarch finitef for PPC64.
50639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50640         lrint multiarch implementation.
50641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50642         file.
50643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50645         multiarch llrint for PPC64.
50646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50647         multiarch lrint for PPC64.
50649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50650         copysignf multiarch implementation.
50651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50652         file.
50653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50654         file.
50655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50656         multiarch copysign for PPC64.
50657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50658         multiarch copysignf for PPC64.
50660         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50661         multiarch implementation.
50662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50663         file.
50664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50665         file.
50666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50667         file.
50668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50669         file.
50670         multiarch llround for PPC64.
50671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50672         multiarch trunc for PPC64.
50673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50674         multiarch truncf for PPC64.
50676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50677         multiarch implementation.
50678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50679         file.
50680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50681         file.
50682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50683         file.
50684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50685         file.
50686         multiarch llround for PPC64.
50687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50688         multiarch round for PPC64.
50689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50690         multiarch roundf for PPC64.
50692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50693         multiarch implementation.
50694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50695         file.
50696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50697         file.
50698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50699         file.
50700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50701         file.
50702         multiarch llround for PPC64.
50703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50704         multiarch floor for PPC64.
50705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50706         multiarch floorf for PPC64.
50708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50709         multiarch implementation.
50710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50711         file.
50712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50713         file.
50714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50715         file.
50716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50717         file.
50718         multiarch llround for PPC64.
50719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50720         multiarch ceil for PPC64.
50721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50722         multiarch ceilf for PPC64.
50724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50725         multiarch implementation.
50726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50727         file.
50728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50729         file.
50730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50731         file.
50732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50733         multiarch llround for PPC64.
50734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50735         multiarch lround for PPC64.
50737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50738         multiarch implementation.
50739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50742         file.
50743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50746         multiarch isnan for PPC64.
50747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50748         multiarch isnanf for PPC64.
50750         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50751         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50752         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50753         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50754         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50757         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50758         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50759         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50760         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50763         multiarch implementations.
50764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50765         (__libc_ifunc_impl_list): Likewise.
50766         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50767         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50769         multiarch stpcpy for PPC64.
50771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50772         multiarch implementations.
50773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50774         (__libc_ifunc_impl_list): Likewise.
50775         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50776         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50777         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50778         multiarch strcpy for PPC64.
50780         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50781         redefine function name.
50782         (_wordcopy_fwd_dest_aligned): Likewise.
50783         (_wordcopy_bwd_aligned): Likewise.
50784         (_wordcopy_bwd_dest_aligned): Likewise.
50785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50786         multiarch implementations.
50787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50788         (__libc_ifunc_impl_list): Likewise.
50789         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50790         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50792         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50793         multiarch wcscpy for PPC64.
50795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50796         multiarch implementations.
50797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50798         (__libc_ifunc_impl_list): Likewise.
50799         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50800         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50801         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50802         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50803         multiarch wcscpy for PPC64.
50805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50806         multiarch implementations.
50807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50808         (__libc_ifunc_impl_list): Likewise.
50809         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50810         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50811         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50812         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50813         multiarch wcsrchr for PPC64.
50815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50816         multiarch implementations.
50817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50818         (__libc_ifunc_impl_list): Likewise.
50819         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50820         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50821         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50822         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50823         multiarch wcschr for PPC64.
50825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50826         multiarch implementations.
50827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50828         (__libc_ifunc_impl_list): Likewise.
50829         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50830         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50831         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50832         multiarch strchrnul for PPC64.
50834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50835         implementations.
50836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50837         (__libc_ifunc_impl_list): Likewise.
50838         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50839         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50840         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50841         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50842         strchr for PPC64.
50844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50845         implementations.
50846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50847         (__libc_ifunc_impl_list): Likewise.
50848         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50849         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50851         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50852         strncmp for PPC64.
50854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50855         multiarch implementations.
50856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50857         (__libc_ifunc_impl_list): Likewise.
50858         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50859         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50860         strncasecmp for PPC64.
50861         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50862         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50863         multiarch strncasecmp_l for PPC64.
50865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50866         multiarch implementations.
50867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50868         (__libc_ifunc_impl_list): Likewise.
50869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50870         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50871         multiarch strcasecmp for PPC64.
50872         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50873         file.
50874         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50875         multiarch strcasecmp_l for PPC64.
50877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50878         implementations.
50879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50880         (__libc_ifunc_impl_list): Likewise.
50881         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50882         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50883         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50884         strnlen for PPC64.
50886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50887         implementations.
50888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50889         (__libc_ifunc_impl_list): Likewise.
50890         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50891         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50892         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50893         strlen for PPC64.
50895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50896         implementations.
50897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50898         (__libc_ifunc_impl_list): Likewise.
50899         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50900         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50901         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50902         rawmemrchr for PPC64.
50904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50905         implementation.
50906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50907         (__libc_ifunc_impl_list): Likewise.
50908         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50909         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50910         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50911         memrchr for PPC64.
50913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50914         implementation.
50915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50916         (__libc_ifunc_impl_list): Likewise.
50917         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50918         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50919         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50920         memchr for PPC64.
50922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50923         implementation.
50924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50925         (__libc_ifunc_impl_list): Likewise.
50926         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50927         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50928         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50929         mempcpy for PPC64.
50931         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50932         avoid cretion of __bzero symbol.
50933         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50934         Likewise.
50935         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50936         Likewise.
50937         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50938         Likewise.
50939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50940         multiarch implementations.
50941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50942         (__libc_ifunc_impl_list): Likewise.
50943         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50944         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50945         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50946         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50947         bzero for PPC32.
50948         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50949         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50950         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50951         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50952         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50953         memset for PPC64.
50954         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50956         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50958         implementations.
50959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50960         (__libc_ifunc_impl_list): Likewise.
50961         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50962         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50963         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50964         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50965         memcmp for PPC64.
50967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50968         multiarch for POWER/PPC64.
50969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50970         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50971         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50972         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50973         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50974         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50975         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50976         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50977         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50978         memcpy for PPC64.
50980         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50981         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50982         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50983         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50984         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50985         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50986         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50987         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50988         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50989         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50990         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50991         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50992         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50993         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50994         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51003 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51005         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51007 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51009         * benchtests/Makefile (bench): Add exp2 and log2.
51010         (LDLIBS-bench-exp2): Add -lm.
51011         (LDLIBS-bench-log2): Likewise.
51012         * benchtests/exp2-inputs: New inputs file.
51013         * benchtests/log2-inputs: New inputs file.
51014         * benchtests/log-inputs: Add new inputs.
51015         * benchtests/tan-inputs: Likewise.
51017 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51019         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51020         definition...
51021         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51022         (csloww2): ... from here.
51024         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51025         instead of structures.
51026         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51027         (POLYNOMIAL): Likewise.
51028         (TAYLOR_SLOW): Likewise.
51029         (__sin): Likewise.
51030         (__cos): Likewise.
51031         (slow1): Likewise.
51032         (slow2): Likewise.
51033         (sloww): Likewise.
51034         (sloww1); Likewise.
51035         (sloww2): Likewise.
51036         (bsloww1): Likewise.
51037         (bsloww2): Likewise.
51038         (cslow2): Likewise.
51039         (csloww): Likewise.
51040         (csloww1): Likewise.
51041         (csloww2): Likewise.
51043 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51045         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51046         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51047         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51048         * malloc/hooks.c (realloc_check): Likewise.
51050         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51051         * malloc/arena.c: Remove PER_THREAD conditional.
51052         [!PER_THREAD]: Remove code.
51053         (ptmalloc_unlock_all2): Likewise.
51054         (ptmalloc_init): Likewise.
51055         (_int_new_arena): Likewise.
51056         (arena_get2): Likewise.
51057         * malloc/hooks.c (__malloc_get_state): Likewise.
51058         (__malloc_set_state): Likewise.
51059         * malloc/malloc.c: Likewise.
51060         (struct malloc_state): Likewise.
51061         (struct malloc_par): Likewise.
51062         (__libc_realloc): Likewise.
51063         (__libc_mallopt): Likewise.
51065 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51067         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51069 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51071         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51072         macro to a function.  Check for zero perturb_byte.
51073         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51075         * malloc/malloc.c: (force_reg): Remove.
51076         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51077         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51078         force_reg by atomic_forced_read.
51079         * malloc/arena.c (ptmalloc_init): Likewise.
51080         * malloc/hooks.c (top_check): Likewise.
51082 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51086 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51090 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51092         * math/auto-libm-test-in: Add tests of lgamma.
51093         * math/auto-libm-test-out: Regenerated.
51094         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51095         (M_LOG_2_SQRT_PIl): Likewise.
51096         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51098         mpfr_f_f1.
51099         (func_calc_desc): Add mpfr_f_f1 union field.
51100         (ARGS1): New macro.
51101         (ARGS2): Likewise.
51102         (ARGS3): Likewise.
51103         (ARGS4): Likewise.
51104         (RET1): Likewise.
51105         (RET2): Likewise.
51106         (CALC): Likewise.
51107         (FUNC): Likewise.
51108         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51109         (test_functions): Add lgamma.
51110         (calc_generic_results): Handle mpfr_f_f1.
51111         * sysdeps/i386/fpu/libm-test-ulps: Update.
51112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51114 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51116         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51117         __mpn_add_n for PowerPC64/POWER7.
51118         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51119         __mpn_sub_n for PowerPC64/POWER7.
51121         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51122         __mpn_addmul_1 for PowerPC64.
51123         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51124         __mpn_submul_1 for PowerPC64.
51125         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51126         for PowerPC64.
51127         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51128         for PowerPC64.
51130 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51132         [BZ #15089]
51133         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51135 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51137         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51139         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51140         add multiarch folders.
51141         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51142         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51143         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51144         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51145         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51146         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51147         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51148         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51149         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51150         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51151         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51160         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51162         New file.
51163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51164         New file.
51165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51166         multiarch __ieee754_hypot for PowerPC32.
51167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51168         New file.
51169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51170         New file.
51171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51172         multiarch __ieee754_hypotf for PowerPC32.
51174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51175         long_double_symbol only if __logbl is defined.
51176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51177         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51178         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51179         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51180         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51181         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51182         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51183         path for implementation.
51184         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51185         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51187         logb, and logbl multiarch implementations for PowerPC32.
51188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51189         file.
51190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51191         file.
51192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51193         multiarch logb for PowerPC32.
51194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51195         file.
51196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51197         file.
51198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51199         multiarch logbf for PowerPC32.
51200         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51202         file.
51203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51204         multiarch logbl implementation for PowerPC32.
51206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51207         and modff multiarch implementations.
51208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51209         New file.
51210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51211         New file.
51212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51213         multiarch modf for PowerPC32.
51214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51215         New file.
51216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51217         New file.
51218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51219         multiarch modff for PowerPC32.
51221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51222         and lrintf multiarch implementations.
51223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51224         New file.
51225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51226         New file.
51227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51228         multiarch lrint for PowerPC32.
51229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51230         file: multiarch lrintf for PowerPC32.
51232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51233         and lroundf multiarch implementations.
51234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51235         New file.
51236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51237         New file.
51238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51239         New file.
51240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51241         multiarch lround for PowerPC32.
51242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51243         file: multiarch lroundf for PowerPC32.
51245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51246         copysign and copysignf multiarch implementations.
51247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51248         New file.
51249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51250         New file.
51251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51252         file: multiarch copysign for PowerPC32.
51253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51254         file: multiarch copysignf for PowerPC32.
51256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51257         and truncf multiarch implementations.
51258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51259         New file.
51260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51261         file.
51262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51263         multiarch trunc for PowerPC32.
51264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51265         New file.
51266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51267         New file.
51268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51269         multiarch truncf for PowerPC32.
51271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51272         and roundf multiarch implementations.
51273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51274         New file.
51275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51276         file.
51277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51278         multiarch round for PowerPC32.
51279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51280         New file.
51281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51282         New file.
51283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51284         multiarch roundf for PowerPC32.
51286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51287         and floorf multiarch implementations.
51288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51289         New file.
51290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51291         file.
51292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51293         multiarch floor for PowerPC32.
51294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51295         New file.
51296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51297         New file.
51298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51299         multiarch floorf for PowerPC32.
51301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51302         and ceilf multiarch implementations.
51303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51304         New file.
51305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51306         file.
51307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51308         multiarch ceil for PowerPC32.
51309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51310         New file.
51311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51312         file.
51313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51314         multiarch ceilf for PowerPC32.
51316         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51317         is defined.
51318         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51319         FINITEF is defined.
51320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51321         and finitef multiarch implementations.
51322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51323         New file.
51324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51325         file.
51326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51327         multiarch finite for PowerPC32.
51328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51329         New file.
51330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51331         file: multiarch finitef for PowerPC32.
51333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51334         and isinff multiarch implementations.
51335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51336         file.
51337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51338         file.
51339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51340         multiarch isinf for PowerPC32.
51341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51342         New file.
51343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51344         multiarch isinff for PowerPC32.
51346         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51347         alias when __isnan is defined.
51348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51349         and isnanf multiarch implementations.
51350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51351         file.
51352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51353         file.
51354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51355         file.
51356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51357         file.
51358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51359         multiarch isnan for PowerPC32.
51360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51361         New file.
51362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51363         New file.
51364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51365         multiarch isnanf for PowerPC32.
51367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51368         and sqrtf multiarch implementations.
51369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51370         file.
51371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51372         file.
51373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51374         multiarch sqrt for PowerPC32.
51375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51376         file.
51377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51378         file.
51379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51380         multiarch sqrtf for PowerPC32.
51382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51383         and llroundf multiarch implementations.
51384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51385         New file.
51386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51387         New file.
51388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51389         New file.
51390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51391         file: multiarch llround for PowerPC32.
51392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51393         file: multiarch llroundf for PowerPC32.
51395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51396         multiarch PowerPC32 fpu implementations.
51397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51398         New file.
51399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51400         New file.
51401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51402         multiarch llrint for PowerPC32.
51403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51404         New file.
51405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51406         New file.
51407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51408         file.
51410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51412         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51413         file.
51414         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51415         file.
51416         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51417         file.
51418         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51419         multiarch wordcopy for PPC32.
51420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51421         wordcopy objects.
51422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51423         (__libc_ifunc_impl_list): Likewise.
51424         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51425         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51426         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51427         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51428         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51429         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51431         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51433         file.
51434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51435         file.
51436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51437         file.
51438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51439         multiarch wcscpy for PPC32.
51440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51441         multiarch objects.
51442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51443         (__libc_ifunc_impl_list): Likewise.
51444         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51445         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51446         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51447         sysdeps/powerpc/power6/wcscpy.c.
51449         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51451         file.
51452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51453         file.
51454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51455         file.
51456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51457         multiarch wcsrchr for PPC32.
51458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51459         multiarch objects.
51460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51461         (__libc_ifunc_impl_list): Likewise.
51462         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51463         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51464         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51465         sysdeps/powerpc/power6/wcsrchr.c.
51467         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51468         file.
51469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51470         file.
51471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51473         multiarch wcschr for PPc32.
51474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51475         multiarch objects.
51476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51477         (__libc_ifunc_impl_list): Likewise.
51478         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51479         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51480         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51481         sysdeps/powerpc/power6/wcschr.c.
51483         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51484         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51485         file.
51486         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51487         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51488         file: multiarch strchr for PPC32.
51489         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51490         multiarch objects.
51491         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51492         (__libc_ifunc_impl_list): Likewise.
51494         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51495         name.
51496         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51497         file.
51498         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51499         file.
51500         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51501         multiarch strchrnul for PPC32.
51502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51503         multiarch objects.
51504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51505         (__libc_ifunc_impl_list): Likewise.
51507         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51508         file.
51509         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51510         multiarch strncasecmp for PPC32.
51511         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51512         file.
51513         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51514         multiarch strncasecmp_l for PPC32.
51515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51516         strncasecmp multiarch objects.
51517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51518         (__libc_ifunc_impl_list): Likewise.
51520         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51521         file.
51522         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51523         multiarch strncasecmp for PPC32.
51524         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51525         New file.
51526         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51527         multiarch strcasecmp_l for PPC32.
51528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51529         multiarch objects.
51530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51531         (__libc_ifunc_impl_list): Likewise.
51533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51534         file.
51535         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51536         file.
51537         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51538         multiarch strncmp for PPC32.
51539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51540         multiarch objects.
51541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51542         (__libc_ifunc_impl_list): Likewise.
51544         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51545         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51546         file.
51547         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51548         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51550         multiarch objects.
51551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51552         (__libc_ifunc_impl_list): Likewise.
51554         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51555         file.
51556         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51557         file.
51558         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51560         multiarch objects.
51561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51562         (__libc_ifunc_impl_list): Likewise.
51564         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51565         file.
51566         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51567         file.
51568         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51569         multiarch rawmemchr for PPC32.
51570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51571         multiarch objects.
51572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51573         (__libc_ifunc_impl_list): Likewise.
51575         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51576         file.
51577         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51578         file.
51579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51580         file: memrchr multiarch for PPC32.
51581         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51582         multiarch objects.
51583         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51584         (__libc_ifunc_impl_list): Likewise.
51586         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51587         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51588         file.
51589         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51590         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51591         multiarch memchr for PPC32.
51592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51593         multiarch objects.
51594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51595         (__libc_ifunc_impl_list): Likewise.
51597         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51598         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51599         file.
51600         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51601         file.
51602         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51603         file: multiarch mempcpy for PPC32.
51604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51605         multiarch objects.
51606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51607         (__libc_ifunc_impl_list): Likewise.
51609         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51610         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51611         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51612         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51613         multiarch bzero for PPC32.
51614         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51615         file.
51616         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51617         file.
51618         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51619         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51620         file: multiarch memset for PPC32.
51621         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51623         memset multiarch objects.
51624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51625         (__libc_ifunc_impl_list): Likewise.
51627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51628         file.
51629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51630         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51631         memcmp for PPC32.
51632         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51634         multiarch objects.
51635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51636         (__libc_ifunc_impl_list): Likewise.
51638         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51641         file.
51642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51643         file.
51644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51645         file.
51646         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51647         multiarch memcpy for PPC32.
51648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51649         multiarch objects.
51650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51651         (__libc_ifunc_impl_list): Likewise.
51653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51654         support multiarch for POWER/PPC32.
51655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51656         Likewise.
51657         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51659         Implies file to make multiarch folder appers before the fpu and
51660         default folder for power4 configuration.
51662 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51664         * scripts/bench.pl: Append volatile keyword to type.
51666 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51668         * sysdeps/sh/sotruss-lib.c: New file.
51669         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51671 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51675 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51677         [BZ #6810]
51678         * math/w_tgamma.c: Include <errno.h>.
51679         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51680         * math/w_tgammaf.c: Include <errno.h>.
51681         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51682         * math/w_tgammal.c: Include <errno.h>.
51683         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51684         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51685         underflow.  Add more tgamma tests.
51686         * math/auto-libm-test-out: Regenerated.
51687         * sysdeps/i386/fpu/libm-test-ulps: Update.
51688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51690         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51691         sin, sinh, tan, tanh, tgamma, y0 and y1.
51692         * math/auto-libm-test-out: Regenerated.
51693         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51694         (TEST_COND_x86): Likewise.
51695         (M_E2l): Remove macro.
51696         (M_E3l): Likewise.
51697         (M_2_SQRT_PIl): Likewise.
51698         (M_SQRT_PIl): Likewise.
51699         (M_1_DIV_El): Likewise.
51700         (log_test_data): Use AUTO_TESTS_f_f.
51701         (log10_test_data): Likewise.
51702         (log1p_test_data): Likewise.
51703         (log2_test_data): Likewise.
51704         (sin_test_data): Likewise.
51705         (sin_tonearest_test_data): Likewise.
51706         (sin_towardzero_test_data): Likewise.
51707         (sin_downward_test_data): Likewise.
51708         (sin_upward_test_data): Likewise.
51709         (sinh_test_data): Likewise.
51710         (sinh_tonearest_test_data): Likewise.
51711         (sinh_towardzero_test_data): Likewise.
51712         (sinh_downward_test_data): Likewise.
51713         (sinh_upward_test_data): Likewise.
51714         (tan_test_data): Likewise.
51715         (tan_tonearest_test_data): Likewise.
51716         (tan_towardzero_test_data): Likewise.
51717         (tan_downward_test_data): Likewise.
51718         (tan_upward_test_data): Likewise.
51719         (tanh_test_data): Likewise.
51720         (tgamma_test_data): Likewise.
51721         (y0_test_data): Likewise.
51722         (y1_test_data): Likewise.
51723         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51724         (special_real_inputs): Add pi/4.
51725         * sysdeps/i386/fpu/libm-test-ulps: Update.
51726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51728 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51730         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51731         "longjmp_target" static probes.
51732         (__longjmp): Rename to __longjmp_symbol.
51733         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51734         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51735         on which longjmp to generate.
51736         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51737         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51738         probe.
51739         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51740         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51741         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51742         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51743         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51744         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51746         __longjmp_symbol based on which __longjmp to generate.
51747         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51748         probe.
51749         (setjmp): Rename to setjmp_symbol.
51750         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51751         (_setjmp): Rename to _setjmp_symbol.
51752         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51753         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51754         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51755         which setjmp to generate.
51756         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51757         "longjmp_target" static probes.
51759 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51761         * benchtests/README: Add note about output arguments.
51762         * benchtests/bench-sincos.c: Remove file.
51763         * benchtests/sincos-inputs: New file.
51764         * scripts/bench.pl: Identify output arguments and define
51765         static variables for them.
51767         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51769         [BZ #15941]
51770         * Makefile (INSTALL): Add install-plain.texi as the primary
51771         dependency.
51772         * manual/install-plain.texi: New file.
51773         * manual/install.texi: Include node directive only for
51774         non-plaintext output.
51776 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51778         * stdlib/longlong.h: Update from GCC.
51780         [BZ #6807]
51781         [BZ #15901]
51782         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51783         * math/w_j0f.c (y0f): Likewise.
51784         * math/w_j0l.c (__y0l): Likewise.
51785         * math/w_j1.c (y1): Likewise.
51786         * math/w_j1f.c (y1f): Likewise.
51787         * math/w_j1l.c (__y1l): Likewise.
51788         * math/w_jn.c (yn): Likewise.
51789         * math/w_jnf.c (ynf): Likewise.
51790         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51791         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51792         value for Bessel function domain errors outside _SVID_ mode.
51793         Adjust sign of return value for yn (negative integer, 0).
51794         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51795         by zero in return for negative x and set sign appropriately for
51796         negative n.
51797         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51798         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51799         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51800         expectations in error cases.
51801         (y1_test_data): Likewise.
51802         (yn_test_data): Likewise.
51803         * sysdeps/i386/fpu/libm-test-ulps: Update.
51804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51806 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51808         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51809         "64" to "64-v1".  Add "64-v2".
51810         (abi-64-options): Rename to ...
51811         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51812         (abi-64-condition): Rename to ...
51813         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51814         (abi-64-ld-soname): Rename to ...
51815         (abi-64-v1-ld-soname): ... this.
51816         (abi-64-v2-options): Define.
51817         (abi-64-v2-condition): Likewise.
51818         (abi-64-v2-ld-soname): Likewise.
51819         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51820         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51825 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51826             Alan Modra  <amodra@gmail.com>
51828         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51829         New versions for use with the ELFv2 ABI.
51830         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51831         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51832         declaration.
51833         (struct La_ppc64v2_retval): Likewise.
51834         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51835         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51836         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51837         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51838         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51839         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51840         Do not save or restore CR.
51841         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51842         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51843         return values for ELFv2 ABI.  Fix location of FPR return registers.
51844         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51845         updated values for _CALL_ELF == 2.
51846         (La_regs, La_retval, int_retval): Likewise.
51848 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51850         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51851         (FRAME_MIN_SIZE_PARM): Likewise.
51852         (FRAME_BACKCHAIN): Likewise.
51853         (FRAME_CR_SAVE): Likewise.
51854         (FRAME_LR_SAVE): Likewise.
51855         (FRAME_TOC_SAVE): Likewise.
51856         (FRAME_PARM_SAVE): Likewise.
51857         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51858         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51859         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51860         (call_mcount_parm_offset): New macro.
51861         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51862         (PROF): Use symbolic stack frame offsets.
51863         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51864         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51865         Redefine in terms of FRAME_MIN_SIZE.
51866         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51867         (_dl_profile_resolve): Likewise.  Update comment.
51868         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51869         symbols stack frame offsets.
51870         (__sigsetjmp): Likewise.
51871         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51872         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51873         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51874         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51877         (FRAME_BACKCHAIN): Remove.
51878         (FRAME_CR_SAVE): Likewise.
51879         (FRAME_LR_SAVE): Likewise.
51880         (FRAME_COMPILER_DW): Likewise.
51881         (FRAME_LINKER_DW): Likewise.
51882         (FRAME_TOC_SAVE): Likewise.
51883         (FRAME_PARM_SAVE): Likewise.
51884         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51885         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51886         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51888         (CHECK_SP): Use symbolic stack frame offsets.
51889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51890         zone" instead of caller's parameter save area for temp storage.
51891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51892         Likewise.  Also, use symbolic stack frame offsets.
51893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51894         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51895         our own stack frame instead of the caller's.
51896         (__socket): Use symbolic stack frame offsets.
51898 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51899             Alan Modra  <amodra@gmail.com>
51901         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51902         Define.
51903         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51904         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51905         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51906         New function.
51907         (elf_machine_fixup_plt): Call it.
51908         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51909         reloc arguments.
51910         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51911         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51912         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51913         r2 before calling target.
51915 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51916             Alan Modra  <amodra@gmail.com>
51918         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51919         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51920         versions of macros to support ELFv2 ABI.
51921         (LOCALENTRY): New macro.
51922         (ENTRY, EALIGN): Use it.
51923         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51924         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51925         fall through into ENTRY entry point.
51926         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51927         Only define if _CALL_ELF != 2.
51929         (elf_machine_matches_host): Verify ABI version matches.
51930         (RTLD_START): Use LOCALENTRY.
51931         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51932         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51933         (PLT_ENTRY_WORDS): New macro.
51934         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51935         (elf_machine_runtime_setup): Support ELFv2 ABI.
51936         (elf_machine_fixup_plt): Likewise.
51937         (elf_machine_plt_conflict): Likewise.
51938         (resolve_ifunc): Likewise.
51939         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51940         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51941         Likewise.
51942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51943         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51945         (makecontext): Support ELFv2 ABI.
51946         * elf/elf.h (EF_PPC64_ABI): Define.
51948 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51950         * sysdeps/powerpc/powerpc64/sysdep.h
51951         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51952         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51953         (ENTRY) [ASSEMBLER]: ... but instead here ...
51954         (EALIGN) [ASSEMBLER]: ... and here.
51955         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51956         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51957         (ENTRY_2) [!ASSEMBLER]: Use it.
51958         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51959         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51960         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51961         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51962         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51964         Use PPC64_LOAD_FUNCPTR.
51966         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51968 2013-12-04  Alan Modra  <amodra@gmail.com>
51970         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51971         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51972         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51973         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51975         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51976         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51977         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51978         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51979         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51980         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51982 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51985         (__makecontext): Fix incorrect CFI when backtracing out of
51986         context created via makecontext.
51987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51988         (__setcontext): Fix incorrect CFI during switch to new context.
51989         (__novec_setcontext): Likewise.
51991 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51993         [BZ #4772]
51994         * time/strptime_l.c (__strptime_internal): Allow modifiers
51995         in strptime.
51996         * time/tst-strptime.c (day_tests): Add testcase.
51998 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52000         * scripts/bench.pl: Skip over blank lines.
52002 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52004         [BZ #926]
52005         * manual/time.texi (Calendar Time): Clarify what timezone functions
52006         use.
52008 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52012 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52014         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52015         implementation.
52016         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52017         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52018         * debug/memset_chk.c (__memset_chk): Likewise.
52019         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52020         * debug/strncpy_chk.c: Likewise.
52022 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52024         [BZ #15268]
52025         [BZ #15425]
52026         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52027         (__ieee754_exp): For possibly underflowing results, check size of
52028         result and force underflow exception if required.
52029         * math/auto-libm-test-in: Add more tests of exp.
52030         * math/auto-libm-test-out: Regenerated.
52031         * sysdeps/i386/fpu/libm-test-ulps: Update.
52032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52034         [BZ #16283]
52035         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52036         * math/w_exp2f.c (__exp2f): Likewise.
52037         * math/w_exp2l.c (__exp2l): Likewise.
52038         * math/auto-libm-test-in: Do not allow missing errno on exp2
52039         underflow.
52040         * math/auto-libm-test-out: Regenerated.
52042 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52044         [BZ #16274]
52045         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52046         handle filename validation.
52047         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52048         (do_open): Delete.
52050 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52052         [BZ #6786]
52053         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52054         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52055         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52056         <float.h>.
52057         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52058         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52059         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52060         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52061         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52062         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52063         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52064         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52065         Add more erfc tests.
52066         * math/auto-libm-test-out: Regenerated.
52067         * sysdeps/i386/fpu/libm-test-ulps: Update.
52068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52070         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52071         exp2, expm1, j0 and j1.
52072         * math/auto-libm-test-out: Regenerated.
52073         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52074         (erfc_test_data): Likewise.
52075         (exp_test_data): Likewise.
52076         (exp_tonearest_test_data): Likewise.
52077         (exp_towardzero_test_data): Likewise.
52078         (exp_downward_test_data): Likewise.
52079         (exp_upward_test_data): Likewise.
52080         (exp10_test_data): Likewise.
52081         (exp2_test_data): Likewise.
52082         (expm1_test_data): Likewise.
52083         (j0_test_data): Likewise.
52084         (j1_test_data): Likewise.
52085         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52086         (input_flag_type): Add flag_xfail_rounding.
52087         (input_flags): Add xfail-rounding.
52088         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52089         (output_for_one_input_case): Handle flag_xfail_rounding.
52090         * sysdeps/i386/fpu/libm-test-ulps: Update.
52091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52093 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52095         [BZ #16289]
52096         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52097         division by 0.
52099 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52101         [BZ #16195]
52102         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52103         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52104         (STAP_PROBE0): New macro.
52105         (STAP_PROBE1): Likewise.
52106         (STAP_PROBE2): Likewise.
52107         (STAP_PROBE3): Likewise.
52108         (STAP_PROBE4): Likewise.
52110 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52112         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52114 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52116         * benchtests/Makefile (bench): Add sqrt.
52117         (LDLIBS-bench-sqrt): New.
52118         * benchtests/sqrt-input: New.
52120 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52122         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52123         (GAIH_EAI): Likewise.
52124         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52125         (gaih_inet): Likewise.
52126         (getaddrinfo): Don't use GAIH_EAI.
52128         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52129         (struct gaih): Remove definition.
52131 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52133         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52134         Use HERRNOP directly.
52136 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52140 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52142         * math/gen-auto-libm-tests.c (test_functions): Add more
52143         single-argument functions.
52144         (special_fill_pi_2): New function.
52145         (special_fill_minus_pi_2): Likewise.
52146         (special_fill_pi_6): Likewise.
52147         (special_fill_minus_pi_6): Likewise.
52148         (special_fill_pi_3): Likewise.
52149         (special_fill_2pi_3): Likewise.
52150         (special_fill_e): Likewise.
52151         (special_fill_1_e): Likewise.
52152         (special_fill_e_minus_1): Likewise.
52153         (special_real_inputs): Add more special inputs.
52154         (output_for_one_input_case): Do not require ERANGE on underflow to
52155         zero if round-to-nearest result does not underflow to zero, unless
52156         exact results required.
52157         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52158         atan, atanh, cbrt, cos and cosh.
52159         * math/auto-libm-test-out: Regenerated.
52160         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52161         (acos_tonearest_test_data): Likewise.
52162         (acos_towardzero_test_data): Likewise.
52163         (acos_downward_test_data): Likewise.
52164         (acos_upward_test_data): Likewise.
52165         (acosh_test_data): Likewise.
52166         (asin_test_data): Likewise.
52167         (asin_tonearest_test_data): Likewise.
52168         (asin_towardzero_test_data): Likewise.
52169         (asin_upward_test_data): Likewise.
52170         (asinh_test_data): Likewise.
52171         (atan_test_data): Likewise.
52172         (atanh_test_data): Likewise.
52173         (cbrt_test_data): Likewise.
52174         (cos_test_data): Likewise.
52175         (cos_tonearest_test_data): Likewise.
52176         (cos_towardzero_test_data): Likewise.
52177         (cos_downward_test_data): Likewise.
52178         (cos_upward_test_data): Likewise.
52179         (cosh_test_data): Likewise.
52180         (cosh_tonearest_test_data): Likewise.
52181         (cosh_towardzero_test_data): Likewise.
52182         (cosh_downward_test_data): Likewise.
52183         (cosh_upward_test_data): Likewise.
52184         * sysdeps/i386/fpu/libm-test-ulps: Update.
52185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52187 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52189         [BZ #6787]
52190         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52191         * math/w_exp10f.c (__exp10f): Likewise.
52192         * math/w_exp10l.c (__exp10l): Likewise.
52193         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52194         errno settings in existing tests.
52196         [BZ #14032]
52197         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52198         precision control set to double precision.
52199         * sysdeps/i386/fpu/w_sqrt.c: New file.
52200         * math/auto-libm-test-in: Add more tests.
52201         * math/auto-libm-test-out: Update.
52203         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52204         (sqrt_test_tonearest): New function.
52205         (sqrt_towardzero_test_data): New variable.
52206         (sqrt_test_towardzero): New function.
52207         (sqrt_downward_test_data): New variable.
52208         (sqrt_test_downward): New function.
52209         (sqrt_upward_test_data): New variable.
52210         (sqrt_test_upward): New function.
52211         (main): Call the new functions.
52213         * math/gen-auto-libm-tests.c: New file.
52214         * math/auto-libm-test-in: Likewise.
52215         * math/auto-libm-test-out: New generated file.
52216         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52217         variables.
52218         (%beautify): Add generated representations of zero.
52219         (top level): Set $auto_input and call parse_auto_input.
52220         (beautify): Remove trailing "f" from hex float constants.
52221         (parse_args): Handle XFAIL_TEST.
52222         (convert_condition): New function.
52223         (or_value): Likewise.
52224         (or_cond_value): Likewise.
52225         (generate_testfile): Handle AUTO_TESTS_* lines.
52226         (parse_auto_input): New function.
52227         * math/libm-test.inc (XFAIL_TEST): New macro.
52228         (ERRNO_UNCHANGED): Update value.
52229         (ERRNO_EDOM): Likewise.
52230         (ERRNO_ERANGE): Likewise.
52231         (IGNORE_RESULT): Likewise.
52232         (TEST_COND_flt_32): New macro.
52233         (TEST_COND_dbl_64): Likewise.
52234         (TEST_COND_ldbl_96_intel): Likewise.
52235         (TEST_COND_ldbl_96_m68k): Likewise.
52236         (TEST_COND_ldbl_128): Likewise.
52237         (TEST_COND_ldbl_128ibm): Likewise.
52238         (TEST_COND_long32): Likewise.
52239         (TEST_COND_long64): Likewise.
52240         (TEST_COND_before_rounding): Likewise.
52241         (TEST_COND_after_rounding): Likewise.
52242         (enable_test): Handle XFAIL_TEST flag.
52243         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52244         with finite results.
52245         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52246         auto-libm-test-out.
52248 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52249             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52251         [BZ #16214]
52252         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52253         __tls_get_addr_internal instead of __tls_get_offset in order to
52254         avoid GOT pointer dependency.  Make rtld export
52255         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52256         __tls_get_addr since we are a __tls_get_offset platform.
52257         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52258         GOT pointer being set up before.
52259         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52261 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52263         * manual/math.texi (Errors in Math Functions): Document accuracy
52264         goals.
52266         [BZ #15004]
52267         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52268         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52269         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52270         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52271         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52272         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52273         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52274         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52275         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52276         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52277         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52278         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52279         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52280         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52281         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52282         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52284         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52285         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52286         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52287         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52288         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52289         Likewise.
52290         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52291         Likewise.
52292         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52293         Likewise.
52294         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52295         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52296         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52297         atomic-feupdateenv and flt-rounds.
52298         * sysdeps/powerpc/nofpu/Versions (libc): Add
52299         __atomic_feholdexcept, __atomic_feclearexcept,
52300         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52301         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52302         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52303         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52304         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52305         here.
52306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52307         Update.
52309         * manual/arith.texi (FP Exceptions): Document that exceptions may
52310         not be raised when matherr is used.
52311         (Math Error Reporting): Document overflow in directed rounding
52312         modes.  Document that errno may not be set when finite values are
52313         returned on overflow.  Document intent to set errno on underflow
52314         only for underflow to zero.
52316         [BZ #16271]
52317         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52318         round-to-nearest then adjust result for other rounding modes.
52319         * include/fenv.h (fegetround): Use libm_hidden_proto.
52320         * math/fegetround.c (fegetround): Use libm_hidden_def.
52321         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52322         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52323         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52324         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52325         Likewise.
52326         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52327         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52328         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52329         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52331 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52333         [BZ #16077]
52334         * nss/Versions (libnss_files): Add
52335         _nss_files_gethostbyname3_r.
52336         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52337         New function.
52338         (HOST_DB_LOOKUP): Remove macro.
52339         (_nss_files_gethostbyname_r): Implement function without the
52340         HOST_DB_LOOKUP macro.
52341         (_nss_files_gethostbyname2_r): Likewise.
52343 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52345         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52347 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52349         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52350         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52351         warning.
52353 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52355         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52356         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52357         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52358         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52359         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52360         __fe_nomask_env_priv and attribute_hidden.
52361         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52362         (libc_feupdateenv_test_ppc): Likewise.
52363         (libc_feresetround_ppc): Likewise.
52364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52365         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52366         compat_symbol macro.
52367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52368         (__fe_nomask_env): Likewise.
52369         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52371 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52373         * string/Makefile: Remove ifunc tests.
52374         * string/test-string.h: Define TEST_IFUNC.
52375         * string/test-bcopy-ifunc.c: Remove.
52376         * string/test-bzero-ifunc.c: Likewise.
52377         * string/test-memccpy-ifunc.c: Likewise.
52378         * string/test-memchr-ifunc.c: Likewise.
52379         * string/test-memcmp-ifunc.c: Likewise.
52380         * string/test-memcpy-ifunc.c: Likewise.
52381         * string/test-memmem-ifunc.c: Likewise.
52382         * string/test-memmove-ifunc.c: Likewise.
52383         * string/test-mempcpy-ifunc.c: Likewise.
52384         * string/test-memrchr-ifunc.c: Likewise.
52385         * string/test-memset-ifunc.c: Likewise.
52386         * string/test-rawmemchr-ifunc.c: Likewise.
52387         * string/test-stpcpy-ifunc.c: Likewise.
52388         * string/test-stpncpy-ifunc.c: Likewise.
52389         * string/test-strcasecmp-ifunc.c: Likewise.
52390         * string/test-strcasestr-ifunc.c: Likewise.
52391         * string/test-strcat-ifunc.c: Likewise.
52392         * string/test-strchr-ifunc.c: Likewise.
52393         * string/test-strchrnul-ifunc.c: Likewise.
52394         * string/test-strcmp-ifunc.c: Likewise.
52395         * string/test-strcpy-ifunc.c: Likewise.
52396         * string/test-strcspn-ifunc.c: Likewise.
52397         * string/test-strlen-ifunc.c: Likewise.
52398         * string/test-strncasecmp-ifunc.c: Likewise.
52399         * string/test-strncat-ifunc.c: Likewise.
52400         * string/test-strncmp-ifunc.c: Likewise.
52401         * string/test-strncpy-ifunc.c: Likewise.
52402         * string/test-strnlen-ifunc.c: Likewise.
52403         * string/test-strpbrk-ifunc.c: Likewise.
52404         * string/test-strrchr-ifunc.c: Likewise.
52405         * string/test-strspn-ifunc.c: Likewise.
52406         * string/test-strstr-ifunc.c: Likewise.
52408 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52410         * benchtests/Makefile: Remove ifunc tests.
52411         * benchtests/bench-string.h: Define TEST_IFUNC.
52412         * benchtests/bench-bcopy-ifunc.c: Remove.
52413         * benchtests/bench-bzero-ifunc.c: Likewise.
52414         * benchtests/bench-memccpy-ifunc.c: Likewise.
52415         * benchtests/bench-memchr-ifunc.c: Likewise.
52416         * benchtests/bench-memcmp-ifunc.c: Likewise.
52417         * benchtests/bench-memcpy-ifunc.c: Likewise.
52418         * benchtests/bench-memmem-ifunc.c: Likewise.
52419         * benchtests/bench-memmove-ifunc.c: Likewise.
52420         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52421         * benchtests/bench-memrchr-ifunc.c: Likewise.
52422         * benchtests/bench-memset-ifunc.c: Likewise.
52423         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52424         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52425         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52426         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52427         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52428         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52429         * benchtests/bench-strcat-ifunc.c: Likewise.
52430         * benchtests/bench-strchr-ifunc.c: Likewise.
52431         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52432         * benchtests/bench-strcmp-ifunc.c: Likewise.
52433         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52434         * benchtests/bench-strcpy-ifunc.c: Likewise.
52435         * benchtests/bench-strcspn-ifunc.c: Likewise.
52436         * benchtests/bench-strlen-ifunc.c: Likewise.
52437         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52438         * benchtests/bench-strncat-ifunc.c: Likewise.
52439         * benchtests/bench-strncmp-ifunc.c: Likewise.
52440         * benchtests/bench-strncpy-ifunc.c: Likewise.
52441         * benchtests/bench-strnlen-ifunc.c: Likewise.
52442         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52443         * benchtests/bench-strrchr-ifunc.c: Likewise.
52444         * benchtests/bench-strsep-ifunc.c: Likewise.
52445         * benchtests/bench-strspn-ifunc.c: Likewise.
52446         * benchtests/bench-strstr-ifunc.c: Likewise.
52448 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52450         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52452 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52454         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52455         * rt/aio.h: Likewise.
52456         * sysdeps/gnu/bits/utmp.h: Likewise.
52457         * sysdeps/gnu/bits/utmpx.h: Likewise.
52458         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52459         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52460         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52461         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52462         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52463         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52464         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52465         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52466         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52467         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52468         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52469         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52470         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52472         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52473         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52474         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52475         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52476         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52477         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52478         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52479         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52480         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52481         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52482         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52484         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52485         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52486         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52487         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52488         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52489         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52490         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52491         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52492         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52493         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52494         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52495         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52496         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52497         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52498         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52499         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52501 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52503         [BZ #16245]
52504         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52505         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52507 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52509         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52510         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52511         Likewise.
52513 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52515         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52516         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52517         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52518         (__fesetround): Remove define.
52519         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52520         rounding and exceptions handling.
52521         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52522         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52523         (__fe_nomask_env): Likewise.
52524         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52525         __fegetround instead of fegetround.
52526         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52527         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52529 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52531         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52532         it's there.
52534         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52536 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52538         [BZ #11157]
52539         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52540         (encrypt_r): Likewise.
52541         * malloc/obstack.h (obstack_free): Likewise.
52542         * posix/unistd.h (encrypt): Likewise.
52544 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52546         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52547         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52548         DL_CALL_DT_FINI() that call the functions directly.
52549         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52550         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52551         * elf/dl-fini.c: Likewise.
52553 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52555         * malloc/hooks.c (memalign_check): Add alignment rounding.
52556         * malloc/malloc.c (_mid_memalign): New function.
52557         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52558         Implement by calling _mid_memalign.
52559         * manual/probes.texi (Memory Allocation Probes): Remove
52560         memory_valloc_retry and memory_pvalloc_retry.
52562 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52564         * locale/programs/locarchive.c (open_archive): Add const
52565         qualifier to ARCHIVEFNAME and copy default fname to
52566         DEFAULT_FNAME.
52568         [BZ #15601]
52569         * libio/tst-widetext.input: Rename Oriya to Odia.
52570         * locale/iso-639.def: Likewise.
52572         * manual/probes.texi (Mathematical Function Probes): Add
52573         documentation for sin, cos, asin and acos probes.
52574         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52575         (__sin32): Add slowasin probe.
52576         (__cos32): Add slowacos probe.
52577         (__mpsin): Add slowsin probe.
52578         (__mpcos): Add slowcos probe.
52580 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52582         [BZ #15483]
52583         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52584         thread-local __sim_exceptions_thread and global
52585         __sim_exceptions_global.
52586         (__sim_disabled_exceptions): Change to thread-local
52587         __sim_disabled_exceptions_thread and global
52588         __sim_disabled_exceptions_global.
52589         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52590         and global __sim_round_mode_global.
52591         (__simulate_exceptions): Use thread-local floating-point state and
52592         set global state from it as needed.
52593         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52594         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52595         __sim_round_mode_thread.
52596         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52597         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52598         and global __sim_exceptions_global.
52599         (__sim_disabled_exceptions): Change to thread-local
52600         __sim_disabled_exceptions_thread and global
52601         __sim_disabled_exceptions_global.
52602         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52603         and global __sim_round_mode_global.
52604         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52605         (SIM_SET_GLOBAL): Likewise.
52606         * sysdeps/powerpc/soft-fp/sfp-machine.h
52607         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52608         __sim_round_mode_thread.
52609         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52610         __sim_disabled_exceptions_thread.
52611         (__sim_exceptions): Change to __sim_exceptions_thread.
52612         (__sim_disabled_exceptions): Change to
52613         __sim_disabled_exceptions_thread.
52614         (__sim_round_mode): Change to __sim_round_mode_thread.
52615         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52616         thread-local floating-point state and set global state from it as
52617         needed.
52618         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52619         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52620         (__sim_disabled_exceptions): Remove extern declaration.
52621         (feenableexcept): Use thread-local floating-point state and set
52622         global state from it as needed.
52623         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52624         extern declaration.
52625         (__sim_disabled_exceptions): Likewise.
52626         (__sim_round_mode): Likewise.
52627         (__fegetenv): Use thread-local floating-point state.
52628         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52629         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52630         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52631         floating-point state and set global state from it as needed.
52632         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52633         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52634         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52635         Likewise.
52636         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52637         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52638         Likewise.
52639         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52640         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52641         Use __sim_round_mode_thread.
52642         * math/test-fenv-tls.c: New file.
52643         * math/Makefile (tests): Add test-fenv-tls.
52644         ($(objpfx)test-fenv-tls): Depend on
52645         $(common-objpfx)nptl/libpthread.so.
52647 2013-11-19  Andreas Schwab  <schwab@suse.de>
52649         * locale/programs/locale.c (show_info): Decode wordarray elements.
52650         * locale/categories.def (LC_MONETARY): Add element for
52651         _NL_MONETARY_CRNCYSTR.
52652         * locale/C-monetary.c (conversion_rate): New variable.
52653         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52654         element.
52656 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52658         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52659         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52661 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52663         * elf/Makefile (tst-auxv): New test.
52664         * elf/tst-auxv.c: New
52665         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52667 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52669         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52670         (hidden_proto): Caller changed.
52671         (hidden_tls_proto): New macro.
52672         (libc_hidden_tls_proto): Likewise.
52673         (rtld_hidden_tls_proto): Likewise.
52674         (libm_hidden_tls_proto): Likewise.
52675         (libresolv_hidden_tls_proto): Likewise.
52676         (librt_hidden_tls_proto): Likewise.
52677         (libdl_hidden_tls_proto): Likewise.
52678         (libnss_files_hidden_tls_proto): Likewise.
52679         (libnsl_hidden_tls_proto): Likewise.
52680         (libnss_nisplus_hidden_tls_proto): Likewise.
52681         (libutil_hidden_tls_proto): Likewise.
52683 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52685         [BZ #10253]
52686         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52687         (decompose_rpath): Defer expansion to fillin_rpath.
52688         (_dl_init_paths): Pass linkmap to fillin_rpath.
52690 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52692         * benchtests/Makefile: Add strsep.
52693         * benchtests/bench-strsep.c: New file: strsep benchtest.
52694         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52696 2013-11-18  Andreas Schwab  <schwab@suse.de>
52698         * locale/programs/locale.c (show_info) [case byte]: Check for
52699         '\377' instead of '\177'.
52700         * locale/C-monetary.c (not_available): Always use "\377".
52701         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52702         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52703         detect unavailable sign_posn locale elements.
52704         * locale/localeconv.c (__localeconv): For grouping and
52705         mon_grouping handle "\177" and "\377" like no grouping.
52706         (INT_ELEM): New macro.  Use it to set all numeric members.
52707         * locale/programs/ld-monetary.c (monetary_read)
52708         <tok_mon_grouping>: Normalize single -1 to the empty string.
52709         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52710         Likewise.
52712 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52714         [BZ #16055]
52715         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52716         when we match (nil).
52717         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52719 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52721         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52722         (NO_TEST_INLINE): Update value.
52723         (ERRNO_UNCHANGED): Likewise.
52724         (ERRNO_EDOM): Likewise.
52725         (ERRNO_ERANGE): Likewise.
52726         (IGNORE_RESULT): Likewise.
52727         (check_float_internal): Check signs of NaN results if
52728         TEST_NAN_SIGN used.
52729         (check_complex): Pass TEST_NAN_SIGN flag through to second
52730         check_float_internal call.
52731         (copysign_test_data): Add tests with quiet NaNs as second
52732         argument.  Use TEST_NAN_SIGN.
52733         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52734         TEST_NAN_SIGN.
52735         (signbit_test_data): Add tests of quiet NaN argument.
52736         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52738         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52739         $ignore_result.
52740         (parse_args): Handle function results specified as IGNORE.
52741         * math/libm-test.inc (IGNORE_RESULT): New macro.
52742         (check_float_internal): Do not check numerical result if flag
52743         IGNORE_RESULT set.
52744         (check_complex): Pass through IGNORE_RESULT to second
52745         check_float_internal call.
52746         (check_int): Do not check numerical result if flag IGNORE_RESULT
52747         set.
52748         (check_long): Likewise.
52749         (check_bool): Likewise.
52750         (check_longlong): Likewise.
52751         (lrint_test_data): Add tests of infinite and NaN arguments.
52752         (lrint_tonearest_test_data): Likewise.
52753         (lrint_towardzero_test_data): Likewise.
52754         (lrint_downward_test_data): Likewise.
52755         (lrint_upward_test_data): Likewise.
52756         (llrint_test_data): Likewise.
52757         (llrint_tonearest_test_data): Likewise.
52758         (llrint_towardzero_test_data): Likewise.
52759         (llrint_downward_test_data): Likewise.
52760         (llrint_upward_test_data): Likewise.
52761         (lround_test_data): Likewise.
52762         (llround_test_data): Likewise.
52764         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52765         (ERRNO_UNCHANGED): Update value.
52766         (ERRNO_EDOM): Likewise.
52767         (ERRNO_ERANGE): Likewise.
52768         (NO_TEST_INLINE_FLOAT): New macro.
52769         (NO_TEST_INLINE_DOUBLE): Likewise.
52770         (enable_test): New function.
52771         (RUN_TEST_f_f): Check enable_test before running test.
52772         (RUN_TEST_2_f): Likewise.
52773         (RUN_TEST_fff_f): Likewise.
52774         (RUN_TEST_c_f): Likewise.
52775         (RUN_TEST_f_f1): Likewise.
52776         (RUN_TEST_fF_f1): Likewise.
52777         (RUN_TEST_fI_f1): Likewise.
52778         (RUN_TEST_ffI_f1): Likewise.
52779         (RUN_TEST_c_c): Likewise.
52780         (RUN_TEST_cc_c): Likewise.
52781         (RUN_TEST_f_i): Likewise.
52782         (RUN_TEST_f_i_tg): Likewise.
52783         (RUN_TEST_ff_i_tg): Likewise.
52784         (RUN_TEST_f_b): Likewise.
52785         (RUN_TEST_f_b_tg): Likewise.
52786         (RUN_TEST_f_l): Likewise.
52787         (RUN_TEST_f_L): Likewise.
52788         (RUN_TEST_fFF_11): Likewise.
52789         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52790         conditionals.
52791         (cosh_test_data): Likewise.
52792         (exp_test_data): Likewise.
52793         (expm1_test_data): Likewise.
52794         (hypot_test_data): Likewise.
52795         (pow_test_data): Likewise.
52796         (sinh_test_data): Likewise.
52797         (tanh_test_data): Likewise.
52798         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52799         flags argument.
52801         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52802         tests with quiet NaN input and output.
52803         (acosh_test_data): Likewise.
52804         (asin_test_data): Likewise.
52805         (asinh_test_data): Likewise.
52806         (atan_test_data): Likewise.
52807         (atanh_test_data): Likewise.
52808         (atan2_test_data): Likewise.
52809         (cbrt_test_data): Likewise.
52810         (cos_test_data): Likewise.
52811         (cosh_test_data): Likewise.
52812         (erf_test_data): Likewise.
52813         (erfc_test_data): Likewise.
52814         (exp_test_data): Likewise.
52815         (exp10_test_data): Likewise.
52816         (exp2_test_data): Likewise.
52817         (expm1_test_data): Likewise.
52818         (hypot_test_data): Likewise.
52819         (j0_test_data): Likewise.
52820         (j1_test_data): Likewise.
52821         (jn_test_data): Likewise.
52822         (lgamma_test_data): Likewise.
52823         (log_test_data): Likewise.
52824         (log10_test_data): Likewise.
52825         (log1p_test_data): Likewise.
52826         (log2_test_data): Likewise.
52827         (pow_test_data): Likewise.
52828         (scalb_test_data): Likewise.
52829         (sin_test_data): Likewise.
52830         (sincos_test_data): Likewise.
52831         (sinh_test_data): Likewise.
52832         (tan_test_data): Likewise.
52833         (tanh_test_data): Likewise.
52834         (tgamma_test_data): Likewise.
52835         (y0_test_data): Likewise.
52836         (y1_test_data): Likewise.
52837         (yn_test_data): Likewise.
52839         [BZ #16167]
52840         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52841         argument being NaN and avoid computations with second argument in
52842         that case.
52843         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52844         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52845         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52847 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52849         * locale/iso-639.def: Add Chitwani Tharu (the).
52851 2013-11-14  Andreas Schwab  <schwab@suse.de>
52853         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52854         word instead of empty string.
52856 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52859         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52861         (__fe_nomask_env): Likewise.
52863 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52865         * benchtests/bench-timing.h: Include time.h.
52867 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52869         [BZ #15997]
52870         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52871         to 3.4.0 for x32.
52872         * sysdeps/unix/sysv/linux/configure: Regenerated.
52874 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52876         [BZ #16151]
52877         * stdlib/strtod_l.c (round_and_return): Do not consider
52878         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52879         exponent one less than half the least subnormal exponent.
52880         * stdlib/test-strtod-round-data: Add more tests.
52881         * stdlib/tst-strtod-round.c (tests): Regenerated.
52883 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52885         [BZ #14143]
52886         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52887         (__fe_mask_env): Likewise.
52888         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52889         libm_hidden_proto and add function prototype.
52890         (__fe_mask_env): Add function prototype.
52891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52892         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52894         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52896         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52898 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52900         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52901         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52903 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52905         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52906         of htab_find_slot().
52908 2013-11-11  David S. Miller  <davem@davemloft.net>
52910         [BZ #16150]
52911         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52912         symbol in the non-vis3 case in static builds.
52913         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52914         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52915         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52916         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52918 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52920         [BZ #387]
52921         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52922         it is empty.
52924 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52926         * benchtests/Makefile: Add bench-strtod.
52927         * benchtests/bench-strtod.c: New file: strtod benchtest
52929 2013-11-11  Andreas Schwab  <schwab@suse.de>
52931         [BZ #16153]
52932         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52933         terminating NUL in key length.
52935 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52937         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52938         Add artificial ODP entry for vDSO symbol for PPC64.
52939         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52940         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52942 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52944         [BZ #15374]
52945         * nss/getent.c (services_keys): Recognize services starting with digit.
52947 2013-11-06  David S. Miller  <davem@davemloft.net>
52949         [BZ #15985]
52950         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52951         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52953 2013-11-06  Will Newton  <will.newton@linaro.org>
52955         * manual/memory.texi (Malloc Examples): Remove register
52956         keyword from examples.
52958 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52960         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52962 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52964         [BZ #6981]
52965         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52966         depending on [__GCC_IEC_559 > 0].
52967         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52968         depending on [__GCC_IEC_559_COMPLEX > 0].
52970 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52972         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52973         to iso-639.def.
52975 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52977         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52979 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52981         [BZ #16112]
52982         * malloc/malloc (malloc_info): Do not handle first bin as
52983         special case.
52985 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52987         * locale/iso-639.def: Add Central Nahuatl (nhn).
52989 2013-11-01  Bruno Haible  <bruno@clisp.org>
52991         [BZ #7003]
52992         * manual/math.texi (BSD Random): Specify range upper bound as
52993         in POSIX.
52995 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52997         * locale/iso-639.def: Add Meadow Mari (mhr).
52999 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53001         [BZ #14752], [BZ #15763]
53002         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53003         Validate name.
53004         * rt/tst_shm.c: Add test for escaping directory.
53006 2013-10-31  Andreas Schwab  <schwab@suse.de>
53008         [BZ #15917]
53009         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53010         followed by 'x' as part of digit sequence.
53011         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53013 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53015         [BZ #16037]
53016         * configure.ac: allow GNU Make 4.0 and greater.
53017         * configure: Regenerated.
53019 2013-10-30  Will Newton  <will.newton@linaro.org>
53021         [BZ #16038]
53022         * malloc/hooks.c (memalign_check): Limit alignment to the
53023         maximum representable power of two.
53024         * malloc/malloc.c (__libc_memalign): Likewise.
53025         * malloc/tst-memalign.c (do_test): Add test for very
53026         large alignment values.
53027         * malloc/tst-posix_memalign.c (do_test): Likewise.
53029 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53031         [BZ #11087]
53032         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53033         (munmap_chunk): Likewise.
53034         (mremap_chunk): Likewise.
53036 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53038         [BZ #15799]
53039         * stdlib/div.c (div): Remove obsolete code.
53040         * stdlib/ldiv.c (ldiv): Likewise.
53041         * stdlib/lldiv.c (lldiv): Likewise.
53043 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53045         [BZ #16071]
53046         * nss/nss_files/files-XXX.c (get_contents_ret): New
53047         enumerator.
53048         (get_contents): New function.
53049         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53051 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53053         * configure.in: Moved to ...
53054         * configure.ac: ... here. Change reference to configure.in
53055         to configure.ac.
53056         * sysdeps/arm/preconfigure.ac: ... here.
53057         configure.in to configure.ac.
53058         * sysdeps/gnu/configure.in: Moved to ...
53059         * sysdeps/gnu/configure.ac: ... here.
53060         * sysdeps/i386/configure.in: Moved to ...
53061         * sysdeps/i386/configure.ac: ... here.
53062         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53063         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53064         * sysdeps/mach/configure.in: Moved to ...
53065         * sysdeps/mach/configure.ac: ... here.
53066         * sysdeps/mach/hurd/configure.in: Moved to ...
53067         * sysdeps/mach/hurd/configure.ac: ... here.
53068         * sysdeps/powerpc/configure.in: Moved to ...
53069         * sysdeps/powerpc/configure.ac: ... here.
53070         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53071         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53072         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53073         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53074         * sysdeps/s390/s390-32/configure.in: Moved to ...
53075         * sysdeps/s390/s390-32/configure.ac: ... here.
53076         * sysdeps/s390/s390-64/configure.in: Moved to ...
53077         * sysdeps/s390/s390-64/configure.ac: ... here.
53078         * sysdeps/sh/configure.in: Moved to ...
53079         * sysdeps/sh/configure.ac: ... here.
53080         * sysdeps/sparc/configure.in: Moved to ...
53081         * sysdeps/sparc/configure.ac: ... here.
53082         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53083         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53084         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53085         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53086         * sysdeps/x86_64/configure.in: Moved to ...
53087         * sysdeps/x86_64/configure.ac: ... here.
53088         * sysdeps/x86_64/preconfigure.in: Moved to ...
53089         * sysdeps/x86_64/preconfigure.ac: ... here.
53090         * aclocal.m4: Change reference to configure.in to configure.ac.
53091         * config.h.in: Likewise.
53092         * manual/install.texi: Likewise.
53093         * manual/maint.texi: Likewise.
53094         * Makefile: Likewise.
53095         * malloc/Makefile: Likewise.
53096         * nscd/Makefile: Likewise.
53097         * Makeconfig: Change reference to configure.in and
53098         preconfigure.in to configure.ac and preconfigure.ac
53099         respectively.
53100         * INSTALL: Regenerated.
53101         * configure: Likewise.
53102         * sysdeps/gnu/configure: Likewise.
53103         * sysdeps/i386/configure: Likewise.
53104         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53105         * sysdeps/mach/configure: Likewise.
53106         * sysdeps/mach/hurd/configure: Likewise.
53107         * sysdeps/powerpc/configure: Likewise.
53108         * sysdeps/powerpc/powerpc32/configure: Likewise.
53109         * sysdeps/powerpc/powerpc64/configure: Likewise.
53110         * sysdeps/s390/s390-32/configure: Likewise.
53111         * sysdeps/s390/s390-64/configure: Likewise.
53112         * sysdeps/sh/configure: Likewise.
53113         * sysdeps/sparc/configure: Likewise.
53114         * sysdeps/unix/sysv/linux/configure: Likewise.
53115         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53116         * sysdeps/x86_64/configure: Likewise.
53117         * sysdeps/x86_64/preconfigure: Likewise.
53119 2013-10-29  Andreas Schwab  <schwab@suse.de>
53121         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53123 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53125         * benchtests/pow-inputs: Add new inputs.
53127         * benchtests/exp-inputs: Add new inputs.
53129         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53130         conditional check for return value.
53131         (__cos32): Likewise.
53133 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53135         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53136         to provide a boost for large inputs with word alignment.
53137         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53138         implementation based on optimized PPC64 strcpy.
53139         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53140         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53141         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53142         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53144 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53146         [BZ #2801]
53147         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53149 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53151         [BZ #14876]
53152         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53153         * time/tst-strptime.c (day_tests): Add testcase.
53155 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53157         [BZ #14029]
53158         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53160 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53162         [BZ #16074]
53163         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53164         MAP_FAILED on error.
53166 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53168         [BZ #16072]
53169         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53170         heap for large requests.
53172 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53174         [BZ #9954]
53175         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53176         result if the result has no associated interface.
53177         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53178         interface for all 127.X.Y.Z addresses.
53180 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53182         * locale/iso-639.def: Add Ligurian (lij)
53184 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53186         [BZ #15825]
53187         * sunrpc/rpc_main.c: Document rpcgen -5.
53189 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53191         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53193 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53195         [BZ #10278]
53196         * posix/glob.c: Match only directories when trailing slash is present.
53197         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53198         (main): Add testcase.
53200 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53202         [BZ #15670]
53203         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53205 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53207         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53208         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53209         AUTH_DES and cindex for FIPS 140-2.
53210         (DES Encryption): Add cindex FIPS 46-3.
53212         * locale/locarchive.h (struct locarhandle): Add fname.
53213         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53214         if an optional argument was specified to --list-archive,
53215         otherwise NULL.
53216         * locale/programs/locarchive.c (show_archive_content): Take new
53217         argument fname and pass it via ah.fname to open_archive.
53218         * locale/programs/localedef.h: Update decl.
53219         (open_archive): If AH->fname is non-null, open that file
53220         rather than the default file name, and don't ignore ENOENT.
53221         (create_archive): Set AH.fname to NULL.
53222         (delete_locales_from_archive): Likewise.
53223         (add_locales_to_archive): Likewise.
53224         * locale/programs/locfile.c (write_all_categories): Likewise.
53226 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53227             Aldy Hernandez  <aldyh@redhat.com>
53229         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53230         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53231         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53232         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53233         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53234         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53235         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53236         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53237         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53238         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53239         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53240         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53241         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53242         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53243         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53244         Likewise.
53245         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53246         Likewise.
53247         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53248         Likewise.
53249         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53250         Likewise.
53251         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53252         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53253         Likewise.
53254         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53255         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53256         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53257         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53258         Likewise.
53259         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53260         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53261         * sysdeps/powerpc/preconfigure: Likewise.
53262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53263         Likewise.
53264         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53265         Replace contents of file by #include of <fenv_libc.h>.
53266         * sysdeps/powerpc/soft-fp/sfp-machine.h
53267         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53268         and <sys/prctl.h>.
53269         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53270         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53271         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53276         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53277         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53282         Allow copysignl PLT reference to be missing.
53284 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53285             Joseph Myers  <joseph@codesourcery.com
53287         [BZ #15948]
53288         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53289         single character.
53290         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53292 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53294         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53295         * elf/tst-tls1.c: Likewise.
53296         * elf/tst-tls10.h: Likewise.
53297         * elf/tst-tls14.c: Likewise.
53298         * elf/tst-tls2.c: Likewise.
53299         * elf/tst-tls3.c: Likewise.
53300         * elf/tst-tls4.c: Likewise.
53301         * elf/tst-tls5.c: Likewise.
53302         * elf/tst-tls6.c: Likewise.
53303         * elf/tst-tls7.c: Likewise.
53304         * elf/tst-tls8.c: Likewise.
53305         * elf/tst-tls9.c: Likewise.
53306         * elf/tst-tlsmod1.c: Likewise.
53307         * elf/tst-tlsmod13.c: Likewise.
53308         * elf/tst-tlsmod13a.c: Likewise.
53309         * elf/tst-tlsmod14a.c: Likewise.
53310         * elf/tst-tlsmod16a.c: Likewise.
53311         * elf/tst-tlsmod16b.c: Likewise.
53312         * elf/tst-tlsmod2.c: Likewise.
53313         * elf/tst-tlsmod3.c: Likewise.
53314         * elf/tst-tlsmod4.c: Likewise.
53315         * elf/tst-tlsmod5.c: Likewise.
53316         * elf/tst-tlsmod6.c: Likewise.
53318 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53320         [BZ #12486]
53321         * malloc/malloc.c: remove checks for statistics.
53323 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53325         [BZ #15277]
53326         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53327         * inet/tst-network.c: Add testcase.
53329 2013-10-17  Andreas Schwab  <schwab@suse.de>
53331         [BZ #15218]
53332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53333         to determine canonical name.
53335 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53337         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53338         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53339         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53340         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53342         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53343         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53344         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53345         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53346         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53347         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53348         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53349         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53350         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53351         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53352         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53353         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53354         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53355         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53357         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53359         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53360         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53361         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53362         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53363         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53364         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53365         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53366         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53367         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53368         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53369         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53370         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53371         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53372         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53373         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53374         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53375         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53376         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53377         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53378         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53379         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53380         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53381         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53382         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53383         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53384         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53385         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53386         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53387         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53388         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53389         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53390         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53391         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53392         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53393         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53394         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53396 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53398         [BZ #16041]
53399         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53400         make result into a quiet NaN.
53402 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53404         * soft-fp/adddf3.c: Fix horizontal whitespace.
53405         * soft-fp/addsf3.c: Likewise.
53406         * soft-fp/addtf3.c: Likewise.
53407         * soft-fp/divdf3.c: Likewise.
53408         * soft-fp/divsf3.c: Likewise.
53409         * soft-fp/divtf3.c: Likewise.
53410         * soft-fp/double.h: Likewise.
53411         * soft-fp/eqdf2.c: Likewise.
53412         * soft-fp/eqsf2.c: Likewise.
53413         * soft-fp/eqtf2.c: Likewise.
53414         * soft-fp/extenddftf2.c: Likewise.
53415         * soft-fp/extended.h: Likewise.
53416         * soft-fp/extendsfdf2.c: Likewise.
53417         * soft-fp/extendsftf2.c: Likewise.
53418         * soft-fp/extendxftf2.c: Likewise.
53419         * soft-fp/fixdfdi.c: Likewise.
53420         * soft-fp/fixdfsi.c: Likewise.
53421         * soft-fp/fixdfti.c: Likewise.
53422         * soft-fp/fixsfdi.c: Likewise.
53423         * soft-fp/fixsfsi.c: Likewise.
53424         * soft-fp/fixsfti.c: Likewise.
53425         * soft-fp/fixtfdi.c: Likewise.
53426         * soft-fp/fixtfsi.c: Likewise.
53427         * soft-fp/fixtfti.c: Likewise.
53428         * soft-fp/fixunsdfdi.c: Likewise.
53429         * soft-fp/fixunsdfsi.c: Likewise.
53430         * soft-fp/fixunsdfti.c: Likewise.
53431         * soft-fp/fixunssfdi.c: Likewise.
53432         * soft-fp/fixunssfsi.c: Likewise.
53433         * soft-fp/fixunssfti.c: Likewise.
53434         * soft-fp/fixunstfdi.c: Likewise.
53435         * soft-fp/fixunstfsi.c: Likewise.
53436         * soft-fp/fixunstfti.c: Likewise.
53437         * soft-fp/floatdidf.c: Likewise.
53438         * soft-fp/floatdisf.c: Likewise.
53439         * soft-fp/floatditf.c: Likewise.
53440         * soft-fp/floatsidf.c: Likewise.
53441         * soft-fp/floatsisf.c: Likewise.
53442         * soft-fp/floatsitf.c: Likewise.
53443         * soft-fp/floattidf.c: Likewise.
53444         * soft-fp/floattisf.c: Likewise.
53445         * soft-fp/floattitf.c: Likewise.
53446         * soft-fp/floatundidf.c: Likewise.
53447         * soft-fp/floatundisf.c: Likewise.
53448         * soft-fp/floatunditf.c: Likewise.
53449         * soft-fp/floatunsidf.c: Likewise.
53450         * soft-fp/floatunsisf.c: Likewise.
53451         * soft-fp/floatunsitf.c: Likewise.
53452         * soft-fp/floatuntidf.c: Likewise.
53453         * soft-fp/floatuntisf.c: Likewise.
53454         * soft-fp/floatuntitf.c: Likewise.
53455         * soft-fp/fmadf4.c: Likewise.
53456         * soft-fp/fmasf4.c: Likewise.
53457         * soft-fp/fmatf4.c: Likewise.
53458         * soft-fp/gedf2.c: Likewise.
53459         * soft-fp/gesf2.c: Likewise.
53460         * soft-fp/getf2.c: Likewise.
53461         * soft-fp/ledf2.c: Likewise.
53462         * soft-fp/lesf2.c: Likewise.
53463         * soft-fp/letf2.c: Likewise.
53464         * soft-fp/muldf3.c: Likewise.
53465         * soft-fp/mulsf3.c: Likewise.
53466         * soft-fp/multf3.c: Likewise.
53467         * soft-fp/negdf2.c: Likewise.
53468         * soft-fp/negsf2.c: Likewise.
53469         * soft-fp/negtf2.c: Likewise.
53470         * soft-fp/op-1.h: Likewise.
53471         * soft-fp/op-2.h: Likewise.
53472         * soft-fp/op-4.h: Likewise.
53473         * soft-fp/op-8.h: Likewise.
53474         * soft-fp/op-common.h: Likewise.
53475         * soft-fp/quad.h: Likewise.
53476         * soft-fp/single.h: Likewise.
53477         * soft-fp/soft-fp.h: Likewise.
53478         * soft-fp/sqrtdf2.c: Likewise.
53479         * soft-fp/sqrtsf2.c: Likewise.
53480         * soft-fp/sqrttf2.c: Likewise.
53481         * soft-fp/subdf3.c: Likewise.
53482         * soft-fp/subsf3.c: Likewise.
53483         * soft-fp/subtf3.c: Likewise.
53484         * soft-fp/truncdfsf2.c: Likewise.
53485         * soft-fp/trunctfdf2.c: Likewise.
53486         * soft-fp/trunctfsf2.c: Likewise.
53487         * soft-fp/trunctfxf2.c: Likewise.
53488         * soft-fp/unorddf2.c: Likewise.
53489         * soft-fp/unordsf2.c: Likewise.
53490         * soft-fp/unordtf2.c: Likewise.
53492 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53494         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53495         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53497 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53499         * elf/dl-libc.c: Clear initfini list after freeing.
53501 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53503         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53504         * soft-fp/addsf3.c: Likewise.
53505         * soft-fp/addtf3.c: Likewise.
53506         * soft-fp/divdf3.c: Likewise.
53507         * soft-fp/divsf3.c: Likewise.
53508         * soft-fp/divtf3.c: Likewise.
53509         * soft-fp/double.h: Likewise.
53510         * soft-fp/eqdf2.c: Likewise.
53511         * soft-fp/eqsf2.c: Likewise.
53512         * soft-fp/eqtf2.c: Likewise.
53513         * soft-fp/extenddftf2.c: Likewise.
53514         * soft-fp/extended.h: Likewise.
53515         * soft-fp/extendsfdf2.c: Likewise.
53516         * soft-fp/extendsftf2.c: Likewise.
53517         * soft-fp/extendxftf2.c: Likewise.
53518         * soft-fp/fixdfdi.c: Likewise.
53519         * soft-fp/fixdfsi.c: Likewise.
53520         * soft-fp/fixdfti.c: Likewise.
53521         * soft-fp/fixsfdi.c: Likewise.
53522         * soft-fp/fixsfsi.c: Likewise.
53523         * soft-fp/fixsfti.c: Likewise.
53524         * soft-fp/fixtfdi.c: Likewise.
53525         * soft-fp/fixtfsi.c: Likewise.
53526         * soft-fp/fixtfti.c: Likewise.
53527         * soft-fp/fixunsdfdi.c: Likewise.
53528         * soft-fp/fixunsdfsi.c: Likewise.
53529         * soft-fp/fixunsdfti.c: Likewise.
53530         * soft-fp/fixunssfdi.c: Likewise.
53531         * soft-fp/fixunssfsi.c: Likewise.
53532         * soft-fp/fixunssfti.c: Likewise.
53533         * soft-fp/fixunstfdi.c: Likewise.
53534         * soft-fp/fixunstfsi.c: Likewise.
53535         * soft-fp/fixunstfti.c: Likewise.
53536         * soft-fp/floatdidf.c: Likewise.
53537         * soft-fp/floatdisf.c: Likewise.
53538         * soft-fp/floatditf.c: Likewise.
53539         * soft-fp/floatsidf.c: Likewise.
53540         * soft-fp/floatsisf.c: Likewise.
53541         * soft-fp/floatsitf.c: Likewise.
53542         * soft-fp/floattidf.c: Likewise.
53543         * soft-fp/floattisf.c: Likewise.
53544         * soft-fp/floattitf.c: Likewise.
53545         * soft-fp/floatundidf.c: Likewise.
53546         * soft-fp/floatundisf.c: Likewise.
53547         * soft-fp/floatunsidf.c: Likewise.
53548         * soft-fp/floatunsisf.c: Likewise.
53549         * soft-fp/floatuntidf.c: Likewise.
53550         * soft-fp/floatuntisf.c: Likewise.
53551         * soft-fp/floatuntitf.c: Likewise.
53552         * soft-fp/fmadf4.c: Likewise.
53553         * soft-fp/fmasf4.c: Likewise.
53554         * soft-fp/fmatf4.c: Likewise.
53555         * soft-fp/gedf2.c: Likewise.
53556         * soft-fp/gesf2.c: Likewise.
53557         * soft-fp/getf2.c: Likewise.
53558         * soft-fp/ledf2.c: Likewise.
53559         * soft-fp/lesf2.c: Likewise.
53560         * soft-fp/letf2.c: Likewise.
53561         * soft-fp/muldf3.c: Likewise.
53562         * soft-fp/mulsf3.c: Likewise.
53563         * soft-fp/multf3.c: Likewise.
53564         * soft-fp/negdf2.c: Likewise.
53565         * soft-fp/negsf2.c: Likewise.
53566         * soft-fp/negtf2.c: Likewise.
53567         * soft-fp/op-1.h: Likewise.
53568         * soft-fp/op-2.h: Likewise.
53569         * soft-fp/op-4.h: Likewise.
53570         * soft-fp/op-8.h: Likewise.
53571         * soft-fp/op-common.h: Likewise.
53572         * soft-fp/quad.h: Likewise.
53573         * soft-fp/single.h: Likewise.
53574         * soft-fp/soft-fp.h: Likewise.
53575         * soft-fp/sqrtdf2.c: Likewise.
53576         * soft-fp/sqrtsf2.c: Likewise.
53577         * soft-fp/sqrttf2.c: Likewise.
53578         * soft-fp/subdf3.c: Likewise.
53579         * soft-fp/subsf3.c: Likewise.
53580         * soft-fp/subtf3.c: Likewise.
53581         * soft-fp/truncdfsf2.c: Likewise.
53582         * soft-fp/trunctfdf2.c: Likewise.
53583         * soft-fp/trunctfsf2.c: Likewise.
53584         * soft-fp/trunctfxf2.c: Likewise.
53585         * soft-fp/unorddf2.c: Likewise.
53586         * soft-fp/unordsf2.c: Likewise.
53587         * soft-fp/unordtf2.c: Likewise.
53589 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53591         [BZ #15672]
53592         * misc/error.c (error_tail): Fix possible buffer overflow.
53594 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53596         [BZ #13028]
53597         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53598         address.
53600 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53602         [BZ #832]
53603         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53604         testing pipefail option.
53606 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53608         * soft-fp/double.h: Indent preprocessor directives inside #if.
53609         * soft-fp/extended.h: Likewise.
53610         * soft-fp/op-2.h: Likewise.
53611         * soft-fp/op-4.h: Likewise.
53612         * soft-fp/op-common.h: Likewise.
53613         * soft-fp/quad.h: Likewise.
53614         * soft-fp/single.h: Likewise.
53615         * soft-fp/soft-fp.h: Likewise.
53617 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53619         * iconv/iconv_prog.c: Fix typos.
53620         * stdio-common/psiginfo-data.h: Likewise.
53622 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53624         [BZ #15764]
53625         * locale/setlocale.c: Fix typo.
53627 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53629         [BZ #16036]
53630         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53631         signaling NaN arguments.
53632         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53633         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53635         [BZ #14910]
53636         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53637         unordered operands.
53638         * soft-fp/gesf2.c (__gesf2): Likewise.
53639         * soft-fp/getf2.c (__getf2): Likewise.
53640         * soft-fp/ledf2.c (__ledf2): Likewise.
53641         * soft-fp/lesf2.c (__lesf2): Likewise.
53642         * soft-fp/letf2.c (__letf2): Likewise.
53644         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53645         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53646         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53647         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53648         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53649         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53650         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53651         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53652         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53653         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53654         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53655         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53656         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53657         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53658         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53659         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53660         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53661         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53662         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53663         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53664         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53665         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53666         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53667         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53668         * soft-fp/floattidf.c (__floattidf): Likewise.
53669         * soft-fp/floattisf.c (__floattisf): Likewise.
53670         * soft-fp/floattitf.c (__floattitf): Likewise.
53671         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53672         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53673         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53674         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53675         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53676         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53677         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53678         * soft-fp/gesf2.c (__gesf2): Likewise.
53679         * soft-fp/getf2.c (__getf2): Likewise.
53680         * soft-fp/ledf2.c (__ledf2): Likewise.
53681         * soft-fp/lesf2.c (__lesf2): Likewise.
53682         * soft-fp/letf2.c (__letf2): Likewise.
53684         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53685         Undefine and redefine.
53686         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53687         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53688         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53689         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53690         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53691         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53692         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53693         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53694         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53695         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53696         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53697         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53698         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53699         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53700         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53702         [BZ #16032]
53703         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53704         without decrementing exponent if mantissa >= that for the
53705         denominator, not >.
53706         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53707         denominator, not >.  Decrement exponent in < case instead of
53708         incrementing in >= case.
53709         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53710         without decrementing exponent if mantissa >= that for the
53711         denominator, not >.
53713         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53714         computing saturated result for unsigned overflow.
53716 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53717             Jeff Law  <law@redhat.com>
53719         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53720         (atan2Mp): Add systemtap probe marker.
53721         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53722         (__ieee754_log): Add systemtap probe marker.
53723         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53724         (atanMp): Add systemtap probe marker.
53725         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53726         (tanMp): Add systemtap probe marker.
53727         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53728         (__slowexp): Add systemtap probe marker.
53729         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53730         (__slowpow): Add systemtap probe marker.
53731         * manual/probes.texi: Document probes.
53733 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53735         [BZ #15362]
53736         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53737         written.
53738         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53739         written.
53740         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53741         written to buffer but not flushed.
53742         * libio/iofwrite_u.c:  Likewise.
53743         * libio/iopadn.c:  Return bytes returned even if EOF was
53744         encountered.
53745         * libio/iowpadn.c:  Likewise.
53746         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53747         if _IO_padn does not write the whole buffer.
53748         [!COMPILE_WPRINTF] (PAD): Likewise.
53750 2013-10-10  David S. Miller  <davem@davemloft.net>
53752         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53753         directory block.
53755 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53757         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53758         instead of FSF address.
53759         * soft-fp/fixdfti.c: Likewise.
53760         * soft-fp/fixsfti.c: Likewise.
53761         * soft-fp/fixtfti.c: Likewise.
53762         * soft-fp/fixunsdfti.c: Likewise.
53763         * soft-fp/fixunssfti.c: Likewise.
53764         * soft-fp/fixunstfti.c: Likewise.
53765         * soft-fp/floattidf.c: Likewise.
53766         * soft-fp/floattisf.c: Likewise.
53767         * soft-fp/floattitf.c: Likewise.
53768         * soft-fp/floatuntidf.c: Likewise.
53769         * soft-fp/floatuntisf.c: Likewise.
53770         * soft-fp/floatuntitf.c: Likewise.
53771         * soft-fp/trunctfxf2.c: Likewise.
53773         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53774         * soft-fp/fixdfti.c: Likewise.
53775         * soft-fp/fixsfti.c: Likewise.
53776         * soft-fp/fixtfti.c: Likewise.
53777         * soft-fp/fixunsdfti.c: Likewise.
53778         * soft-fp/fixunssfti.c: Likewise.
53779         * soft-fp/fixunstfti.c: Likewise.
53780         * soft-fp/floattidf.c: Likewise.
53781         * soft-fp/floattisf.c: Likewise.
53782         * soft-fp/floattitf.c: Likewise.
53783         * soft-fp/floatuntidf.c: Likewise.
53784         * soft-fp/floatuntisf.c: Likewise.
53785         * soft-fp/floatuntitf.c: Likewise.
53786         * soft-fp/trunctfxf2.c: Likewise.
53788 2013-10-10  David S. Miller  <davem@davemloft.net>
53790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53792 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53794         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53795         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53796         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53797         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53798         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53799         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53800         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53802         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53803         for NaNs before doing comparisons on argument.
53804         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53805         Likewise.
53807 2013-10-10  Will Newton  <will.newton@linaro.org>
53809         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53810         passed to _int_memalign does not overflow.
53812 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53814         * scripts/bench.pl: Add include-sources directive.
53815         * benchtests/README: Update documentation.
53817 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53819         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53820         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53821         instead of FP_INIT_ROUNDMODE.
53822         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53823         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53825         [BZ #16034]
53826         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53827         copy class of input value.
53828         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53829         not handle exceptions.
53830         * soft-fp/negsf2.c (__negsf2): Likewise.
53831         * soft-fp/negtf2.c (__negtf2): Likewise.
53832         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53834 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53836         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53837         semicolon.  From Linux kernel.
53839 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53841         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53843 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53845         [BZ #156]
53846         * manual/socket.texi: Added statement about buffer
53847         for gethostbyname2_r.
53849 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53851         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53852         Use .p2align directive instead, throughout.
53853         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53854         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53855         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53858         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53859         * sysdeps/x86_64/strchr.S: Likewise.
53860         * sysdeps/x86_64/strrchr.S: Likewise.
53862 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53864         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53866         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53868         * sysdeps/generic/math_private.h (__mpsin1): Remove
53869         declaration.
53870         (__mpcos1): Likewise.
53871         (__mpsin): New argument __range_reduce.
53872         (__mpcos): Likewise.
53873         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53874         (slow): Use __mpsin and __mpcos.
53875         (slow1): Likewise.
53876         (slow2): Likewise.
53877         (sloww): Likewise.
53878         (sloww1): Likewise.
53879         (sloww2): Likewise.
53880         (bsloww): Likewise.
53881         (bsloww1): Likewise.
53882         (bsloww2): Likewise.
53883         (cslow2): Likewise.
53884         (csloww): Likewise.
53885         (csloww1): Likewise.
53886         (csloww2): Likewise.
53887         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53888         range_reduce.  Merge in __mpsin1.
53889         (__mpcos): Likewise.
53890         (__mpsin1): Remove.
53891         (__mpcos1): Likewise.
53893 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53895         * locale/loadlocale.c (_nl_intern_locale_data): Use
53896         LOCFILE_ALIGNED_P.
53897         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53898         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53899         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53900         obstack data is appropriately aligned.
53901         (obstack_int32_grow_fast): Likewise.
53902         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53903         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53904         (add_locale_uint32_array): Likewise.
53906 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53908         * benchtests/Makefile: Remove ARGLIST and RET variables.
53909         ($(objpfx)bench-%.c): Pass only function name to the script.
53910         * benchtests/README: Update documentation.
53911         * benchtests/acos-inputs: Add new directives.
53912         * benchtests/acosh-inputs: Likewise.
53913         * benchtests/asin-inputs: Likewise.
53914         * benchtests/asinh-inputs: Likewise.
53915         * benchtests/atan-inputs: Likewise.
53916         * benchtests/atanh-inputs: Likewise.
53917         * benchtests/cos-inputs: Likewise.
53918         * benchtests/cosh-inputs: Likewise.
53919         * benchtests/exp-inputs: Likewise.
53920         * benchtests/log-inputs: Likewise.
53921         * benchtests/pow-inputs: Likewise.
53922         * benchtests/rint-inputs: Likewise.
53923         * benchtests/sin-inputs: Likewise.
53924         * benchtests/sinh-inputs: Likewise.
53925         * benchtests/tan-inputs: Likewise.
53926         * benchtests/tanh-inputs: Likewise.
53927         * scripts/bench.pl: Add support for new directives.
53929 2013-10-07  Alan Modra  <amodra@gmail.com>
53931         * README: Fix careless merge.
53933 2013-10-05  Alan Modra  <amodra@gmail.com>
53935         * NEWS: Mention powerpc64le support and bugs fixed.
53936         * README: Both big-endian and little-endian powerpc64 supported.
53938 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53940         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53941         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53942         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53943         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53945 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53947         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53948         match prototype.
53950 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53952         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53953         Move -mhard-float appending from
53954         ports/sysdeps/powerpc/powerpc32/Makefile.
53955         [$(with-fp) = yes] (ASFLAGS): Likewise.
53956         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53957         * sysdeps/powerpc/nofpu: Move directory from
53958         ports/sysdeps/powerpc/nofpu.
53959         * sysdeps/powerpc/soft-fp: Move directory from
53960         ports/sysdeps/powerpc/soft-fp.
53961         * sysdeps/powerpc/powerpc32/405: Move directory from
53962         ports/sysdeps/powerpc/powerpc32/405.
53963         * sysdeps/powerpc/powerpc32/440: Move directory from
53964         ports/sysdeps/powerpc/powerpc32/440.
53965         * sysdeps/powerpc/powerpc32/464: Move directory from
53966         ports/sysdeps/powerpc/powerpc32/464.
53967         * sysdeps/powerpc/powerpc32/476: Move directory from
53968         ports/sysdeps/powerpc/powerpc32/476.
53969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53970         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53972         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53974         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53976         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53978         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53979         * README: Update for powerpc-*-linux-gnu software floating point
53980         support in libc.
53982         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53983         case to powerpc/powerpc32*.
53984         * sysdeps/unix/sysv/linux/configure: Regenerated.
53986         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53987         (_FPU_MASK_OM): Define as 0x04.
53988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53990         0x00c10080.
53991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53992         0x0000003c.
53993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53996         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53997         getcontext_e500.
53998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53999         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54000         setcontext_e500.
54001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54002         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54003         and setcontext_e500.
54005 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54007         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54009 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54011         * manual/threads.texi (Default Thread Attributes): Fix typo.
54013 2013-10-04  Will Newton  <will.newton@linaro.org>
54015         * malloc/Makefile: Add tst-memalign.
54016         * malloc/tst-memalign.c: New file.
54018         * malloc/tst-posix_memalign.c: Add comments.
54019         (do_test): Add comments and call free on all potentially
54020         allocated pointers. Add space after cast.
54022         * malloc/tst-pvalloc.c: Add comments.
54023         (do_test): Add comments and call free on all potentially
54024         allocated pointers. Remove duplicate check for NULL pointer.
54025         Add space after cast.
54027         * malloc/tst-valloc.c: Add comments.
54028         (do_test): Add comments and call free on all potentially
54029         allocated pointers. Remove duplicate check for NULL pointer.
54030         Add space after cast.
54032 2013-10-04  Alan Modra  <amodra@gmail.com>
54034         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54035         Use stdint types in rather than __attribute__((mode())).
54036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54038 2013-10-04  Alan Modra  <amodra@gmail.com>
54040         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54041         Correct handling of unaligned relocs for little-endian.
54042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54044 2013-10-04  Alan Modra  <amodra@gmail.com>
54046         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54047         * configure: Regenerate.
54048         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54049         * shlib-versions: Likewise.
54051 2013-10-04  Alan Modra  <amodra@gmail.com>
54053         * string/tester.c (test_memrchr): Increment reported test cycle.
54055 2013-10-04  Alan Modra  <amodra@gmail.com>
54057         * string/test-memcpy.c (do_one_test): When reporting errors, print
54058         string address and don't overrun end of string.
54060 2013-10-04  Alan Modra  <amodra@gmail.com>
54062         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54063         insrdi.  Make better use of reg selection to speed exit slightly.
54064         Schedule entry path a little better.  Remove useless "are we done"
54065         checks on entry to main loop.  Handle wrapping around zero address.
54066         Correct main loop count.  Handle single left-over word from main
54067         loop inline rather than by using loop_small.  Remove extra word
54068         case in loop_small caused by wrong loop count.  Add little-endian
54069         support.
54070         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54071         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54072         cache hint.
54073         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54074         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54075         support.  Avoid rlwimi.
54076         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54078 2013-10-04  Alan Modra  <amodra@gmail.com>
54080         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54081         insrdi.  Formatting.
54082         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54083         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54084         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54085         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54086         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54087         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54089 2013-10-04  Alan Modra  <amodra@gmail.com>
54091         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54092         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54093         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54094         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54095         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54096         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54097         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54098         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54099         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54100         use of regs.  Use power7 mtocrf.  Tidy function tails.
54102 2013-10-04  Alan Modra  <amodra@gmail.com>
54104         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54105         Formatting.  Consistently use rXXX register defines or rN defines.
54106         Use early exit labels that avoid restoring unused non-volatile regs.
54107         Make cr field use more consistent with rWORDn compares.  Rename
54108         regs used as shift registers for unaligned loop, using rN defines
54109         for short lifetime/multiple use regs.
54110         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54111         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54112         addi 1,1,64 to pop stack frame.  Simplify return value code.
54113         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54115 2013-10-04  Alan Modra  <amodra@gmail.com>
54117         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54118         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54119         rather than rlwimi.
54120         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54121         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54122         little-endian support.  Correct typos.
54123         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54124         rather than rlwimi.
54125         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54126         in loop and entry code to keep "and." results.
54127         (strchr): Add little-endian support.  Comment.  Move cntlzd
54128         earlier in tail.
54129         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54131 2013-10-04  Alan Modra  <amodra@gmail.com>
54133         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54134         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54135         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54136         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54138 2013-10-04  Alan Modra  <amodra@gmail.com>
54140         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54141         (rTMP): Define as r11.
54142         (strcmp): Add little-endian support.  Optimise tail.
54143         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54144         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54145         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54146         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54147         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54148         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54149         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54151 2013-10-04  Alan Modra  <amodra@gmail.com>
54153         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54154         little-endian support.  Remove unnecessary "are we done" tests.
54155         Handle "s" wrapping around zero and extremely large "size".
54156         Correct main loop count.  Handle single left-over word from main
54157         loop inline rather than by using small_loop.  Correct comments.
54158         Delete "zero" tail, use "end_max" instead.
54159         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54161 2013-10-04  Alan Modra  <amodra@gmail.com>
54163         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54164         support.  Don't branch over align.
54165         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54166         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54167         support.  Rearrange tmp reg use to suit.  Comment.
54168         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54170 2013-10-04  Alan Modra  <amodra@gmail.com>
54172         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54174 2013-10-04  Alan Modra  <amodra@gmail.com>
54176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54177         conditional form of branch and link when obtaining pc.
54178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54180 2013-10-04  Alan Modra  <amodra@gmail.com>
54182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54183         HIWORD/LOWORD.
54184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54187 2013-10-04  Alan Modra  <amodra@gmail.com>
54189         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54190         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54191         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54192         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54193         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54194         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54195         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54196         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54197         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54198         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54200 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54201             Alistair Popple <alistair@ozlabs.au.ibm.com>
54202             Alan Modra <amodra@gmail.com>
54204         [BZ #15723]
54205         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54206         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54207         _dl_hwcap access for little-endian.
54208         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54209         destroy vmx regs when saving unaligned.
54210         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54211         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54212         destroy vmx regs when saving unaligned.
54214 2013-10-04  Alan Modra  <amodra@gmail.com>
54216         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54217         Don't use a union to pack hi/low value.
54219 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54221         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54222         for little-endian.
54223         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54224         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54225         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54226         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54227         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54229 2013-10-04  Alan Modra  <amodra@gmail.com>
54231         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54232         constants to usual value for .cst8 section, and remove redundant
54233         high address load.
54234         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54235         constant for 0x1p52.  Load little-endian words of double from
54236         correct stack offsets.
54238 2013-10-04  Alan Modra  <amodra@gmail.com>
54240         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54241         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54242         words of double from correct stack offsets.
54243         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54244         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54245         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54246         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54247         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54248         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54249         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54250         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54251         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54252         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54253         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54255         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54256         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54257         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54258         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54259         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54261 2013-10-04  Alan Modra  <amodra@gmail.com>
54263         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54264         64-bit int/double union.
54265         (_FPU_SETCW): Likewise.
54266         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54267         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54269 2013-10-04  Alan Modra  <amodra@gmail.com>
54271         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54272         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54274 2013-10-04  Alan Modra  <amodra@gmail.com>
54276         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54277         use vector int constants.
54278         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54280 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54282         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54283         array with long long.
54284         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54285         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54286         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54287         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54288         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54289         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54290         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54291         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54292         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54293         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54294         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54295         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54296         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54298 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54300         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54301         (__signbit): Likewise.  Correct for little-endian.
54302         (__signbitl): Call __signbit.
54303         (lrint): Correct for little-endian.
54304         (lrintf): Call lrint.
54306 2013-10-04  Alan Modra  <amodra@gmail.com>
54308         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54309         union 32-bit int array member with 64-bit int array.
54310         (t515, tm256): Double rather than long double.
54311         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54313 2013-10-04  Alan Modra  <amodra@gmail.com>
54315         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54316         Delete.
54317         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54319         version of math_ldbl.h.
54321 2013-10-04  Alan Modra  <amodra@gmail.com>
54323         [BZ #15734], [BZ #15735]
54324         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54325         all uses of ieee875 long double macros and unions.  Simplify test
54326         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54327         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54328         normalize after ldbl_extract_mantissa, and don't add hidden bit
54329         already handled.  Don't treat low word of ieee854 mantissa like
54330         low word of IBM long double and mask off bit when testing for
54331         zero.
54332         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54333         all uses of ieee875 long double macros and unions.  Simplify tests
54334         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54335         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54336         two1022, instead use their values.  Recognise that tests for large
54337         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54338         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54339         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54340         test for 0.0L and nan.  Correct negation.
54341         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54342         ieee875 long double macros and unions.  Correct output for large
54343         magnitude x.  Correct absolute value calculation.
54344         (__erfcl): Likewise.
54345         * math/libm-test.inc: Add tests for errors discovered in IBM long
54346         double versions of fmodl, remainderl, erfl and erfcl.
54348 2013-10-04  Alan Modra  <amodra@gmail.com>
54350         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54351         all uses of ieee854 long double macros and unions.  Simplify tests
54352         for long doubles that are fully specified by the high double.
54353         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54354         Likewise.
54355         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54356         Remove dead code too.
54357         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54358         (__ieee754_ynl): Likewise.
54359         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54360         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54361         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54362         Remove dead code too.
54363         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54364         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54365         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54366         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54367         Simplify.
54368         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54369         Simplify.
54370         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54371         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54372         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54373         Comment on variable precision.
54374         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54375         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54376         Likewise.
54377         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54378         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54379         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54380         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54381         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54383 2013-10-04  Alan Modra  <amodra@gmail.com>
54385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54386         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54387         all uses of ieee854 long double macros and unions.
54388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54390         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54391         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54392         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54393         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54394         Likewise.
54395         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54396         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54398         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54400         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54401         Simplify sign and nan test too.
54402         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54403         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54404         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54405         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54406         Likewise.
54407         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54408         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54409         Likewise.
54410         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54411         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54412         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54413         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54414         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54417 2013-10-04  Alan Modra  <amodra@gmail.com>
54419         * stdio-common/printf_size.c (__printf_size): Don't use
54420         union ieee854_long_double in fpnum union.
54421         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54422         signbit macro to retrieve sign from long double.
54423         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54424         retrieve sign from long double.
54425         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54426         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54427         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54428         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54429         * math/test-misc.c (main): Don't use union ieee854_long_double.
54431 2013-10-04  Alan Modra  <amodra@gmail.com>
54433         [BZ #15680]
54434         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54435         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54436         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54437         calculation.  Remove unnecessary test for denormal exponent.
54438         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54439         Correct handling of denormals.  Avoid undefined shift behaviour.
54440         Correct normalisation of low mantissa when low double is denormal.
54441         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54442         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54443         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54444         Correct normalisation of low mantissa.  Test for overflow of high
54445         mantissa and normalise.
54446         (ldbl_nearbyint): Use more readable constant for two52.
54447         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54448         (__mpn_construct_long_double): Fix test for overflow of high
54449         mantissa and correct normalisation.  Avoid undefined shift.
54451 2013-10-04  Alan Modra  <amodra@gmail.com>
54453         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54454         (union ibm_extended_long_double): Define as an array of ieee754_double.
54455         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54456         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54457         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54458         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54459         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54460         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54462         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54463         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54464         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54465         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54467 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54469         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54470         page size instead of calling getpagesize.
54472         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54473         (LOCFILE_ALIGN_MASK): Likewise.
54474         (LOCFILE_ALIGN_UP): Likewise.
54475         (LOCFILE_ALIGNED_P): Likewise.
54476         * locale/programs/ld-collate.c (collate_output): Use the new
54477         macros instead of __alignof__ (int32_t).
54478         * locale/weight.h (findidx): Likewise.
54480 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54482         [BZ #431]
54483         * manual/string.texi: Fix strncat and wcsncat.
54485 2013-10-03  Brooks Moses  <bmoses@google.com>
54487         [BZ #15915]
54488         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54489         * Makerules: ...here, and adjust associated comments.
54491 2013-10-02  Will Newton  <will.newton@linaro.org>
54493         * malloc/Makefile: Add tst-pvalloc.
54494         * malloc/tst-pvalloc.c: New file.
54496 2013-10-02  Will Newton  <will.newton@linaro.org>
54498         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54499         improve test coverage.
54501 2013-10-02  Will Newton  <will.newton@linaro.org>
54503         * malloc/Makefile: Add tst-posix_memalign.
54504         * malloc/tst-posix_memalign.c: New file.
54506 2013-10-01  Eric Blake  <eblake@redhat.com>
54508         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54509         Use __THROWNL rather than __THROW on static functions.
54511 2013-09-30  Petr Machata  <pmachata@redhat.com>
54513         * elf/elf.h (R_AARCH64_ABS16): New macro.
54514         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54515         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54516         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54517         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54518         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54519         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54520         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54521         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54522         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54523         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54524         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54525         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54526         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54527         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54528         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54529         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54530         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54531         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54532         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54533         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54534         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54535         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54536         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54537         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54538         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54539         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54540         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54541         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54542         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54543         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54544         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54545         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54546         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54547         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54548         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54549         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54550         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54551         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54552         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54553         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54554         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54555         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54556         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54557         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54558         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54559         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54560         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54561         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54562         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54563         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54564         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54565         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54566         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54567         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54568         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54569         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54570         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54571         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54572         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54573         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54574         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54575         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54576         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54577         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54578         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54579         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54580         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54581         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54582         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54583         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54584         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54585         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54586         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54587         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54588         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54589         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54590         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54591         (R_AARCH64_TLSDESC_LDR): Likewise.
54592         (R_AARCH64_TLSDESC_ADD): Likewise.
54593         (R_AARCH64_TLSDESC_CALL): Likewise.
54595 2013-09-30  Andreas Schwab  <schwab@suse.de>
54597         [BZ #15048]
54598         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54599         the nss database lookup.
54600         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54603 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54605         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54607 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54609         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54610         ${Bash-specific parameter/pattern/string} parameter expansion.
54611         * sysdeps/unix/make-syscalls.sh: Likewise.
54613 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54615         * sysdeps/sh/stackguard-macros.h: New file.
54617 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54620         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54621         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54622         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54623         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54624         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54626 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54628         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54629         Fix thread ID register.
54631 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54633         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54634         [POSIX || UNIX98]: Require rather than permitting all symbols from
54635         <time.h>.
54636         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54637         element of struct sched_param.
54638         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54639         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54640         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54641         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54642         constant.
54644 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54646         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54647         argument calculation.
54649 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54651         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54652         Expect macro.
54653         [POSIX] (pthread_attr_t): Do not require type.
54654         [POSIX] (pthread_cond_t): Likewise.
54655         [POSIX] (pthread_condattr_t): Likewise.
54656         [POSIX] (pthread_key_t): Likewise.
54657         [POSIX] (pthread_mutex_t): Likewise.
54658         [POSIX] (pthread_mutexattr_t): Likewise.
54659         [POSIX] (pthread_once_t): Likewise.
54660         [POSIX] (pthread_t): Likewise.
54661         [POSIX-based standards] (pthread_atfork): Expect function.
54663 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54664             Richard Sandiford  <richard@codesourcery.com>
54666         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54667         (swap_endianness_p): New extern variable.
54668         (set_big_endian): New inline function.
54669         (maybe_swap_uint32): Likewise.
54670         (maybe_swap_uint32_array): Likewise.
54671         (maybe_swap_uint32_obstack): Likewise.
54672         * locale/programs/locfile.c: Include <stdbool.h>.
54673         (swap_endianness_p): New variable.
54674         (add_locale_uint32): Call maybe_swap_uint32.
54675         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54676         (write_locale_data): Call maybe_swap_uint32_array.
54677         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54678         maybe_swap_uint32.
54679         (obstack_int32_grow_fast): Likewise.
54680         (output_weightwc): Call maybe_swap_uint32_obstack.
54681         (collate_output): Likewise.
54682         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54683         (OPT_LITTLE_ENDIAN): Likewise.
54684         (options): Add --little-endian and --big-endian options.
54685         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54686         * locale/programs/locarchive.c: Include "locfile.h".
54687         (GET): New macro.
54688         (SET): Likewise.
54689         (INC): Likewise.
54690         (create_archive): Use the new macros to access fields of
54691         structures directly mapped from or written to locale archives.
54692         (oldlocrecentcmp): Likewise.
54693         (enlarge_archive): Likewise.
54694         (insert_name): Likewise.
54695         (add_alias): Likewise.
54696         (add_locale): Likewise.
54697         (delete_locales_from_archive): Likewise.
54698         (show_archive_content): Likewise.
54699         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54700         locale data.
54702 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54704         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54705         http://www.gnu.org/doc/freemanuals.texi.
54706         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54708 2013-09-24  Will Newton  <will.newton@linaro.org>
54710         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54711         macro.
54713 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54715         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54716         unsigned char.
54718 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54720         * manual/threads.texi (POSIX Threads): Fix a typo.
54722 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54724         [BZ #14547]
54725         * string/tst-strcoll-overflow.c: New test case.
54726         * string/Makefile (xtests): Add tst-strcoll-overflow.
54727         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54728         cache if string sizes may cause integer overflow.
54730         [BZ #14547]
54731         * string/strcoll_l.c (coll_seq): New members rule, idx,
54732         save_idx and back_us.
54733         (get_next_seq_nocache): New function.
54734         (do_compare_nocache): New function.
54735         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54736         when malloc fails.
54738 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54740         [BZ #15754]
54741         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54742         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54743         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54745         [BZ #15754]
54746         * elf/Makefile (tests): Add tst-ptrguard1.
54747         (tests-static): Add tst-ptrguard1-static.
54748         (tst-ptrguard1-ARGS): Define.
54749         (tst-ptrguard1-static-ARGS): Define.
54750         * elf/tst-ptrguard1.c: New file.
54751         * elf/tst-ptrguard1-static.c: New file.
54752         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54753         * sysdeps/i386/stackguard-macros.h: Likewise.
54754         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54755         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54756         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54757         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54758         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54759         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54761 2013-09-23  Hector Marco  <hecmargi@upv.es>
54762             Ismael Ripoll  <iripoll@disca.upv.es>
54763             Carlos O'Donell  <carlos@redhat.com>
54765         [BZ #15754]
54766         * sysdeps/generic/stackguard-macros.h: Define
54767         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54768         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54769         Define __pointer_chk_guard_local.
54770         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54771         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54773 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54775         [BZ #15859]
54776         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54778 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54780         * include/string.h (__ffs): Declare as hidden.
54781         * string/ffs.c (__ffs): Define as hidden.
54782         * sysdeps/i386/ffs.c (__ffs): Likewise.
54783         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54784         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54785         * sysdeps/s390/ffs.c (__ffs): Likewise.
54786         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54788 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54790         * NEWS: Mention malloc probes.
54792         * malloc/arena.c (new_heap): New memory_heap_new probe.
54793         (grow_heap): New memory_heap_more probe.
54794         (shrink_heap): New memory_heap_less probe.
54795         (heap_trim): New memory_heap_free probe.
54796         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54797         (systrim): New memory_sbrk_less probe.
54798         * manual/probes.texi: Document them.
54800         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54801         * manual/probes.texi: Document it.
54803         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54804         (__libc_realloc): Add memory_realloc_retry probe.
54805         (__libc_memalign): Add memory_memalign_retry probe.
54806         (__libc_valloc): Add memory_valloc_retry probe.
54807         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54808         (__libc_calloc): Add memory_calloc_retry probe.
54809         * manual/probes.texi: Document them.
54811         * malloc/arena.c (get_free_list): Add probe
54812         memory_arena_reuse_free_list.
54813         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54814         and memory_arena_reuse.
54815         (arena_get2) [!PER_THREAD]: Likewise.
54816         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54817         memory_arena_reuse_realloc.
54818         * manual/probes.texi: Document them.
54820         * malloc/malloc.c (__libc_free): Add
54821         memory_mallopt_free_dyn_thresholds probe.
54822         (__libc_mallopt): Add multiple memory_mallopt probes.
54823         * manual/probes.texi: Document them.
54825         * malloc/malloc.c: Include stap-probe.h.
54826         (__libc_mallopt): Add memory_mallopt probe.
54827         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54828         * manual/probes.texi: New.
54829         * manual/Makefile (chapters): Add probes.
54830         * manual/threads.texi: Set next node.
54832 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54834         [BZ #15963, #13985]
54835         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54836         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54837         Add `Chinese' to `nan' entry name.
54839 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54841         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54842         (POLYNOMIAL): Likewise.
54843         (TAYLOR_SINCOS): Likewise.
54844         (TAYLOR_SLOW): Likewise.
54845         (__sin): Use TAYLOR_SINCOS.
54846         (__cos): Likewise.
54847         (slow): Use TAYLOR_SLOW.
54848         (sloww): Likewise.
54849         (bsloww): Likewise.
54850         (csloww): Likewise.
54852 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54854         * stdlib/strtod_l.c: Fix buffer overrun.
54856 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54858         * benchtests/Makefile (bench): Add sincos.
54859         * benchtests/bench-sincos.c: New file.
54861         * math/libm-test.inc (cos_test_data): New test inputs.
54862         (sin_test_data): Likewise.
54864         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54865         macro.
54866         (__sin): Use it.
54867         (__cos): Likewise.
54868         (slow1): Likewise.
54869         (slow2): Likewise.
54870         (sloww1): Likewise.
54871         (sloww2): Likewise.
54872         (bsloww1): Likewise.
54873         (bsloww2): Likewise.
54874         (cslow2): Likewise.
54875         (csloww1): Likewise.
54876         (csloww2): Likewise.
54878         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54879         function.
54880         (__sin): Use it.
54881         (__cos): Likewise.
54883         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54884         gotos.
54885         (__cos): Likewise.
54887 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54889         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54890         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54891         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54892         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54893         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54894         * elf/cache.c (print_entry): Handle the new cache flags.
54896 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54897             Aldy Hernandez  <aldyh@redhat.com>
54899         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54900         Change condition to [_SOFT_FLOAT].
54901         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54913         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54916         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54917         declaration.
54919 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54921         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54922         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54923         (__longjmp): Use LOAD_GP to load saved GPRs.
54924         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54925         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54926         (__sigsetjmp): Use SAVE_GP to save GPRs.
54928         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54929         Do not append -msoft-float.
54930         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54932 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54934         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54936 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54938         [BZ #15966]
54939         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54940         (_FPU_GETCW): Use initial "__" on variable and field names but not
54941         on macro parameter name.
54942         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54943         parentheses around reference to macro parameter.
54945 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54947         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54948         prototype.
54949         (ctype_startup): Use uint32_t in cast and sizeof for
54950         ctype->charnames.
54952 2013-09-11  Jia Liu  <proljc@gmail.com>
54954         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54955         __daddr_t_defined.
54956         [__FreeBSD__]: Likewise.
54958 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54961         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54962         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54963         (strchr): Remove __strchr_sse42 ifunc selection.
54964         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54965         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54967 2013-09-11  Will Newton  <will.newton@linaro.org>
54969         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54970         parameter to RES. Remove hardcoded 1000 value.
54971         * benchtests/bench-skeleton.c (main): Pass RES parameter
54972         to TIMING_INIT and multiply result by 1000.
54974 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54978 2013-09-11  Andreas Schwab  <schwab@suse.de>
54980         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54981         if not defined.
54982         (O_TMPFILE) [__USE_GNU]: Define.
54983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54984         Define.
54986 2013-09-11  Will Newton  <will.newton@linaro.org>
54988         [BZ #15857]
54989         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54990         does not overflow.
54992 2013-09-11  Will Newton  <will.newton@linaro.org>
54994         [BZ #15856]
54995         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54996         does not overflow.
54998 2013-09-11  Will Newton  <will.newton@linaro.org>
55000         [BZ #15855]
55001         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55002         does not overflow.
55004 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55006         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55008         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55009         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55010         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55012 2013-09-10  Allan McRae  <allan@archlinux.org>
55014         [BZ #15748]
55015         * manual/arith.texi (Parsing of Floats): Clarify
55016         cross-reference.
55018         [BZ #15849]
55019         * manual/install.texi (Running make install): Mention
55020         --enable-pt-chown.
55021         * INSTALL: Regenerated.
55023 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55025         * csu/init-first.c (_init): Remove the !SHARED condition around
55026         FPU control word initialization.
55027         * elf/dl-support.c (_dl_fpu_control): New variable.
55028         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55029         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55030         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55031         * math/test-fpucw-static.c: New file.
55032         * math/test-fpucw-ieee.c: New file.
55033         * math/test-fpucw-ieee-static.c: New file.
55034         * math/Makefile (tests): Add `test-fpucw-ieee' and
55035         `$(tests-static)'.
55036         (tests-static): New variable.
55037         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55038         dependency to...
55039         [($(build-shared),yes)]
55040         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55041         ... this.
55042         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55043         New dependency.
55045 2013-09-09  Allan McRae  <allan@archlinux.org>
55047         [BZ #15939]
55048         * manual/string.texi (Collation Functions): Fix typo in
55049         strcoll example.
55050         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55052         [BZ #15893]
55053         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55055         [BZ #15892]
55056         * libio/memstream.c (open_memstream): Fix memory leak.
55057         * libio/wmemstream.c (open_wmemstream): Likewise.
55059         [BZ #15895]
55060         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55062 2013-09-09  Will Newton  <will.newton@linaro.org>
55064         * malloc/Makefile: Add tst-realloc to tests.
55065         * malloc/tst-realloc.c: New file.
55067 2013-09-09  Allan McRae  <allan@archlinux.org>
55069         [BZ #15844]
55070         * COPYING: Update from GNU website to fix FSF address.
55071         * COPYING.LIB: Likewise.
55073 2013-09-06  David S. Miller  <davem@davemloft.net>
55075         * po/zh_TW.po: Update Chinese (traditional) translation from
55076         translation project.
55078 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55079             Joseph Myers  <joseph@codesourcery.com>
55081         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55082         "localeinfo.h".
55083         (obstack_chunk_alloc): New macro.
55084         (obstack_chunk_free): Likewise.
55085         (record_offset): New function.
55086         (init_locale_data): Likewise.
55087         (align_locale_data): Likewise.
55088         (add_locale_empty): Likewise.
55089         (add_locale_raw_data): Likewise.
55090         (add_locale_raw_obstack): Likewise.
55091         (add_locale_string): Likewise.
55092         (add_locale_wstring): Likewise.
55093         (add_locale_uint32): Likewise.
55094         (add_locale_uint32_array): Likewise.
55095         (add_locale_char): Likewise.
55096         (start_locale_structure): Likewise.
55097         (end_locale_structure): Likewise.
55098         (start_locale_prelude): Likewise.
55099         (end_locale_prelude): Likewise.
55100         (write_locale_data): Take locale_file structure rather than an
55101         iovec.
55102         * locale/programs/locfile.h: Include "obstack.h".
55103         (struct locale_file): Change to store locale file contents instead
55104         of header.
55105         (init_locale_data): New prototype.
55106         (align_locale_data): Likewise.
55107         (add_locale_empty): Likewise.
55108         (add_locale_raw_data): Likewise.
55109         (add_locale_raw_obstack): Likewise.
55110         (add_locale_string): Likewise.
55111         (add_locale_wstring): Likewise.
55112         (add_locale_uint32): Likewise.
55113         (add_locale_uint32_array): Likewise.
55114         (add_locale_char): Likewise.
55115         (start_locale_structure): Likewise.
55116         (end_locale_structure): Likewise.
55117         (start_locale_prelude): Likewise.
55118         (end_locale_prelude): Likewise.
55119         (write_locale_data): Update prototype.
55120         * locale/programs/3level.h (struct TABLE): Remove result field.
55121         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55122         Use new locale_file interface.
55123         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55124         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55125         * locale/programs/ld-address.c (address_output): Use new
55126         locale_file interface.
55127         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55128         NO_ADD_LOCALE.
55129         (collate_finish): Don't call collseq_table_finalize.
55130         (collate_output): Use new locale_file interface.
55131         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55132         in file.
55133         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55134         (TABLE): Move defines earlier in file.
55135         (ELEMENT): Likewise.
55136         (DEFAULT): Likewise.
55137         (wctrans_table_add): Move macro and inline function earlier in
55138         file.
55139         (struct wctype_table): Move type earlier in file.
55140         (add_locale_wctype_table): New static prototype.
55141         (struct locale_ctype_t): Use logical types instead of struct iovec
55142         pointers for members.
55143         (ctype_output): Use new locale_file interface.
55144         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55145         new locale_file interface.
55146         (allocate_arrays): Update for use of new locale_file interface.
55147         * locale/programs/ld-identification.c (identification_output): Use
55148         new locale_file interface.
55149         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55150         * locale/programs/ld-messages.c (messages_output): Likewise.
55151         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55152         * locale/programs/ld-name.c (name_output): Likewise.
55153         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55154         * locale/programs/ld-paper.c (paper_output): Likewise.
55155         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55156         * locale/programs/ld-time.c (time_output): Likewise.
55158 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55160         * benchtests/Makefile: Add memrchr benchmark.
55161         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55162         benchmark as memrchr.
55163         * benchtests/bench-memrchr-ifunc.c: New file.
55164         * benchtests/bench-memrchr.c: New file.
55166 2013-09-06   Will Newton  <will.newton@linaro.org>
55168         * benchtests/Makefile (string-bench): Add memcpy.
55170 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55171             Cong Wang  <amwang@redhat.com>
55173         [BZ #15850]
55174         * sysdeps/unix/sysv/linux/bits/in.h
55175         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55176         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55177         before __USE_KERNEL_IPV6_DEFS uses.
55178         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55179         IPPROTO_BEETPH.
55180         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55181         sockaddr_in6, or ipv6_mreq.
55183 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55185         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55186         memory access for final bytes in some large inputs.
55187         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55189 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55191         * string/test-memrchr.c: New file.
55192         * string/test-memrchr-ifunc.c: New file.
55193         * string/Makefile: Add new memrchr testcase.
55195 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55197         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55198         fanotify_init returns EPERM.
55200 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55202         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55203         errors.
55204         (top level): Treat second token from macro or constant entries for
55205         allowed headers as allowed.
55206         * include/complex.h: Condition internal declarations on
55207         [!_ISOMAC].
55208         * include/fenv.h: Condition include of <stdbool.h> and internal
55209         declarations on [!_ISOMAC].
55211 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55213         [BZ #15923]
55214         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55216 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55218         * configure.in (--enable-versioning): Remove configure option.
55219         (libc_cv_asm_symver_directive): Remove configure test.
55220         (libc_cv_ld_version_script_option): Likewise.
55221         (VERSIONING): Remove variable and AC_SUBST.
55222         (DO_VERSIONING): Remove AC_DEFINE.
55223         * configure: Regenerated.
55224         * config.h.in (DO_VERSIONING): Remove macro.
55225         * Makerules [$(versioning) = yes]: Change conditionals to
55226         [$(build-shared) = yes].
55227         * config.make.in (versioning): Remove variable.
55228         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55229         [$(build-shared) = yes].
55230         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55231         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55232         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55233         [$(build-shared) = yes].
55234         * extra-lib.mk [$(versioning) = yes]: Likewise.
55235         * hurd/Makefile [$(versioning) = yes]: Likewise.
55236         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55237         [SHARED].
55238         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55239         [SHARED].
55240         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55241         [SHARED && !NO_HIDDEN].
55242         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55243         [SHARED].
55244         [SHARED && DO_VERSIONING]: Likewise..
55245         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55246         [$(build-shared) = yes].
55247         * manual/install.texi (--disable-versioning): Remove
55248         documentation.
55249         * INSTALL: Regenerated.
55250         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55251         to [SHARED].
55252         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55253         [$(build-shared) = yes].
55254         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55255         * sysdeps/i386/i686/multiarch/strstr-c.c
55256         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55257         [SHARED && !NO_HIDDEN].
55258         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55259         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55260         * sysdeps/powerpc/powerpc32/dl-machine.c
55261         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55262         * sysdeps/powerpc/powerpc32/sysdep.h
55263         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55264         to [SHARED && PIC && !NO_HIDDEN].
55265         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55266         conditional to [SHARED].
55268 2013-09-04   Will Newton  <will.newton@linaro.org>
55270         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55271         * benchtests/bench-string.h: Include bench-timing.h instead
55272         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55273         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55274         call to HP_TIMING_DIFF_INIT.
55275         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55276         instead of hp-timing.h macros.
55277         * benchtests/bench-memchr.c: Likewise.
55278         * benchtests/bench-memcmp.c: Likewise.
55279         * benchtests/bench-memcpy.c: Likewise.
55280         * benchtests/bench-memmem.c: Likewise.
55281         * benchtests/bench-memmove.c: Likewise.
55282         * benchtests/bench-memset.c: Likewise.
55283         * benchtests/bench-rawmemchr.c: Likewise.
55284         * benchtests/bench-strcasecmp.c: Likewise.
55285         * benchtests/bench-strcasestr.c: Likewise.
55286         * benchtests/bench-strcat.c: Likewise.
55287         * benchtests/bench-strchr.c: Likewise.
55288         * benchtests/bench-strcmp.c: Likewise.
55289         * benchtests/bench-strcpy.c: Likewise.
55290         * benchtests/bench-strcpy_chk.c: Likewise.
55291         * benchtests/bench-strlen.c: Likewise.
55292         * benchtests/bench-strncasecmp.c: Likewise.
55293         * benchtests/bench-strncat.c: Likewise.
55294         * benchtests/bench-strncmp.c: Likewise.
55295         * benchtests/bench-strncpy.c: Likewise.
55296         * benchtests/bench-strnlen.c: Likewise.
55297         * benchtests/bench-strpbrk.c: Likewise.
55298         * benchtests/bench-strrchr.c: Likewise.
55299         * benchtests/bench-strspn.c: Likewise.
55300         * benchtests/bench-strstr.c: Likewise.
55302 2013-09-04  Will Newton  <will.newton@linaro.org>
55304         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55306 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55308         [BZ #15427]
55309         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55310         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55311         * math/libm-test.inc (lgamma_test_data): Add more tests.
55312         * sysdeps/i386/fpu/libm-test-ulps: Update.
55313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55315 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55317         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55319         Add ifunc.
55320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55321         Add strcmp-sse2-unaligned
55322         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55324 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55326         * Versions.def (libc): Add GLIBC_2.19.
55328 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55330         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55331         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55333 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55335         [BZ #14155]
55336         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55337         intermediate calculations in recurrence.
55338         (__ieee754_ynf): Likewise.
55339         * math/libm-test.inc (jn_test_data): Do not allow spurious
55340         underflow exception.  Add more tests.
55341         (yn_test_data): Add more tests.
55342         * sysdeps/i386/fpu/libm-test-ulps: Update.
55343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55345 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55349 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55351         * csu/init-first.c: Fix then/than typos.
55352         * locale/programs/ld-collate.c: Likewise.
55353         * locale/programs/linereader.h: Likewise.
55354         * manual/charset.texi: Likewise.
55355         * manual/filesys.texi: Likewise.
55356         * manual/stdio.texi: Likewise.
55357         * manual/string.texi: Likewise.
55358         * stdlib/fmtmsg.c: Likewise.
55359         * sysdeps/i386/stpncpy.S: Likewise.
55360         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55361         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55362         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55363         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55365 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55367         * elf/dl-open.c: Fix typos.
55368         * iconvdata/gbbig5.c: Likewise.
55369         * iconvdata/iso-2022-jp.c: Likewise.
55370         * iconv/gconv_int.h: Likewise.
55371         * iconv/loop.c: Likewise.
55372         * nis/rpcsvc/nis.h: Likewise.
55373         * resolv/ns_name.c: Likewise.
55374         * stdio-common/vfscanf.c: Likewise.
55375         * streams/stropts.h: Likewise.
55376         * sunrpc/rpc_thread.c: Likewise.
55377         * sysdeps/i386/strpbrk.S: Likewise.
55378         * sysdeps/ieee754/k_standard.c: Likewise.
55379         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55380         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55381         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55382         * sysdeps/mach/hurd/profil.c: Likewise.
55383         * sysdeps/s390/dl-procinfo.h: Likewise.
55384         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55385         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55386         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55387         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55388         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55390 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55392         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55395 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55397         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55398         aix specific files.
55399         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55400         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55401         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55402         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55403         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55404         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55405         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55406         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55408 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55409             Roland McGrath  <roland@hack.frob.com>
55411         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55412         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55414 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55416         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55417         __executable_start symbol instead of _start.
55419 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55421         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55422         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55423         Move macros to...
55424         * sysdeps/gnu/ldsodefs.h: ... this new file.
55426         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55427         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55428         instead of ELFOSABI_LINUX.
55430         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55431         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55432         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55433         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55434         Likewise.
55435         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55436         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55437         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55438         Likewise.
55439         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55440         (ibm_extended_long_double): Add ieee_nan member.
55441         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55442         (do_test): New function.
55444         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55445         TEST_TRUNC.
55446         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55447         functions, renamed from truncdfsf_test, trunctfsf_test,
55448         trunctfdf_test.
55449         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55450         functions.
55451         (do_test): Run all these.
55453 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55455         * argp/argp-help.c: Fix typos.
55456         * argp/argp-parse.c: Likewise.
55457         * debug/backtracesyms.c: Likewise.
55458         * elf/elf.h: Likewise.
55459         * malloc/malloc.c: Likewise.
55460         * nis/nis_print.c: Likewise.
55461         * resolv/res_comp.c: Likewise.
55462         * stdlib/stdlib.h: Likewise.
55463         * sunrpc/clnt_tcp.c: Likewise.
55464         * sunrpc/clnt_udp.c: Likewise.
55465         * sunrpc/clnt_unix.c: Likewise.
55466         * sysdeps/unix/bsd/ptsname.c: Likewise.
55467         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55468         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55470         Likewise.
55471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55472         Likewise.
55473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55474         Likewise.
55475         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55477 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55479         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55482 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55484         [BZ #15897]
55485         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55486         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55487         ($(objpfx)bug-dl-leaf): New rule.
55488         ($(objpfx)bug-dl-leaf.so): Likewise.
55489         ($(objpfx)bug-dl-leaf.out): Likewise.
55490         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55491         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55492         * dlfcn/bug-dl-leaf.c: New test.
55493         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55494         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55495         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55496         (dlclose): Likewise.
55497         (dlmopen): Likewise.
55499 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55501         * include/netdb.h [!_ISOMAC]:
55502         Don't include <tls.h>.
55503         (h_errno, __libc_h_errno): Move declaration and macros out of
55504         [_LIBC_REENTRANT].
55506         * include/resolv.h [_RESOLV_H_]:
55507         Don't include <tls.h>.
55508         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55509         * resolv/res_libc.c: Don't include <tls.h>.
55510         (_res): Use __attribute__ ((nocommon)) in place of
55511         __attribute__ ((section (".bss"))).
55513         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55514         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55516         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55518         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55519         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55521         * resolv/res_mkquery.c: Include <sys/time.h>.
55523         * inet/ifreq.c: Moved to ...
55524         * sysdeps/unix/ifreq.c: ... here.
55525         * inet/ifreq.c: New file, true stub version.
55527         * socket/sa_len.c: New file.
55528         * socket/Makefile (aux): Add it.
55529         * sysdeps/unix/sysv/linux/Makefile
55530         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55531         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55532         and #include <socket/sa_len.c>.
55533         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55534         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55536         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55537         * bits/socket.h: ... here.
55539         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55540         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55541         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55543 2013-08-27  Andreas Schwab  <schwab@suse.de>
55545         [BZ #15736]
55546         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55547         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55548         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55549         * string/test-strcasecmp.c (test_main): Run tests in several
55550         locales.
55551         * string/test-strncasecmp.c (test_main): Likewise.
55553         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55554         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55555         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55556         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55557         (__strncasecmp_ssse3) [PIC]: Likewise.
55559 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55561         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55563         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55564         instead of explicitly declaring xdecrypt.
55565         * nis/nss_nis/nis-publickey.c: Likewise.
55567 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55569         [BZ #15890]
55570         * nscd/aicache.c: Include res_hconf.h.
55571         (addhstaiX): Initialize res_hconf.
55573 2013-08-26  Andreas Schwab  <schwab@suse.de>
55575         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55576         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55578 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55580         * nscd/aicache.c (addhstaiX): Fix indentation.
55582 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55584         * configure.ac: Quote $build_pt_chown test.
55585         * configure: Regenerated.
55587 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55589         [BZ #15532]
55590         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55591         * math/s_cexpf.c (__cexpf): Likewise.
55592         * math/s_cexpl.c (__cexpl): Likewise.
55593         * math/libm-test.inc (cexp_test_data): Correct expected return
55594         value for NaN + i0.  Add another test.
55596 2013-08-22  David S. Miller  <davem@davemloft.net>
55598         * po/ca.po: Update Catalan translation from translation project.
55599         * po/uk.po: Add Ukrainian translations from translation project.
55601 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55603         [BZ #15797]
55604         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55605         is infinite, not alongside NaN test.
55606         * math/s_fdimf.c (__fdimf): Likewise.
55607         * math/s_fdiml.c (__fdiml): Likewise.
55608         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55609         errno is unchanged.
55611 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55613         * argp/argp-help.c: Fix typos.
55614         * crypt/speeds.c: Likewise.
55615         * csu/check_fds.c: Likewise.
55616         * elf/dl-load.c: Likewise.
55617         * elf/dl-open.c: Likewise.
55618         * elf/reldep3.c: Likewise.
55619         * elf/reldep.c: Likewise.
55620         * elf/sprof.c: Likewise.
55621         * iconv/iconv_charmap.c: Likewise.
55622         * iconv/skeleton.c: Likewise.
55623         * iconv/strtab.c: Likewise.
55624         * io/lockf64.c: Likewise.
55625         * libio/libioP.h: Likewise.
55626         * resolv/gai_notify.c: Likewise.
55627         * resolv/ns_name.c: Likewise.
55628         * resolv/ns_samedomain.c: Likewise.
55629         * resolv/res_send.c: Likewise.
55630         * stdlib/random.c: Likewise.
55631         * sunrpc/rpc/xdr.h: Likewise.
55632         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55633         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55634         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55635         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55636         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55637         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55639         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55640         * sysdeps/mach/hurd/check_fds.c: Likewise.
55641         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55642         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55643         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55644         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55645         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55646         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55647         * sysdeps/pthread/aio_notify.c: Likewise.
55648         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55649         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55650         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55651         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55652         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55654 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55656         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55657         version if bit_Slow_SSE4_2 is set.
55658         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55659         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55661 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55663         [BZ #15867]
55664         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55665         trampoline stack frame information.
55666         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55667         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55668         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55669         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55670         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55671         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55672         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55673         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55674         sa_flags value.
55675         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55676         interrupting a syscall and set with option SA_SIGINFO.
55678 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55680         [BZ #15531]
55681         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55682         argument is infinite.
55683         * math/s_cprojf.c (__cprojf): Likewise.
55684         * math/s_cprojl.c (__cprojl): Likewise.
55685         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55686         * math/libm-test.inc (cproj_test_data): Add more tests.
55688         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55690         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55691         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55692         size.  Use __ffs to determine corresponding shift.
55694 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55695             Roland McGrath  <roland@hack.frob.com>
55697         * Makefile (INSTALL): Remove trailing blank lines from output of
55698         makeinfo.
55700 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55702         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55703         Align 32 bit compat elf_greg to 8 bytes.
55705 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55707         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55709 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55711         * string/strcoll_l.c (coll_seq): New structure.
55712         (get_next_seq_cached): New function.
55713         (get_next_seq): New function.
55714         (do_compare): New function.
55715         (STRCOLL): Use GNU style definition.  Simplify implementation
55716         by using get_next_seq, get_next_seq_cached and do_compare.
55718 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55720         [BZ #14699]
55721         CVE-2013-4237
55722         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55723         member.
55724         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55725         member.
55726         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55727         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55728         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55729         conditional.
55730         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55731         GETDENTS_64BIT_ALIGNED.
55732         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55733         * manual/filesys.texi (Reading/Closing Directory): Document
55734         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55735         strongly.
55736         * manual/conf.texi (Limits for Files): Add portability note to
55737         NAME_MAX, PATH_MAX.
55738         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55740 2013-08-13  Andreas Schwab  <schwab@suse.de>
55742         [BZ #15749]
55743         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55744         of fabs.
55745         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55746         LDBL_MAX_EXP >= 16384]: Add tests for it.
55748 2013-08-12  David S. Miller  <davem@davemloft.net>
55750         * version.h (RELEASE): Set to "development".
55751         (VERSION): Set to "2.18.90".
55752         * NEWS: Add 2.19 section.
55754 2013-08-03  David S. Miller  <davem@davemloft.net>
55756         * po/ko.po: Update Korean translation from translation project.
55758 2013-08-01  David S. Miller  <davem@davemloft.net>
55760         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55761         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55762         Bilka.
55764 2013-07-30  David S. Miller  <davem@davemloft.net>
55766         * po/fr.po: Update French translation from translation project.
55768 2013-07-28  David S. Miller  <davem@davemloft.net>
55770         * po/cs.po: Update Czech translation from translation project.
55772         * po/sv.po: Update Swedish translation from translation project.
55774 2013-07-27  David S. Miller  <davem@davemloft.net>
55776         * po/eo.po: Update Esperanto translation from translation project.
55778         * po/vi.po: Update Vietnamese translation from translation project.
55780         * po/de.po: Update German translation from translation project.
55782 2013-07-26  David S. Miller  <davem@davemloft.net>
55784         * po/bg.po: Update Bulgarian translation from translation project.
55786         * po/nl.po: Update Dutch translation from translation project.
55787         * po/pl.po: Update Polish translation from translation project.
55788         * po/ru.po: Update Russian translation from translation project.
55790 2013-07-24  David S. Miller  <davem@davemloft.net>
55792         * po/libc.pot: Update.
55794 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55796         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55797         variable page size.
55798         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55799         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55800         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55802 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55804         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55806 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55807             Andreas Schwab  <schwab@suse.de>
55808             Roland McGrath  <roland@hack.frob.com>
55809             Joseph Myers  <joseph@codesourcery.com>
55810             Carlos O'Donell  <carlos@redhat.com>
55812         [BZ #15755]
55813         * config.h.in: Define HAVE_PT_CHOWN.
55814         * config.make.in (build-pt-chown): New variable.
55815         * configure.in (--enable-pt_chown): New configure option.
55816         * configure: Regenerate.
55817         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55818         build-pt-chown is enabled.
55819         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55820         pt_chown to fix pty ownership.
55821         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55822         CLOSE_ALL_FDS.
55823         * manual/install.texi (Configuring and compiling): Mention
55824         --enable-pt_chown. Add @findex for grantpt.
55825         * INSTALL: Regenerate.
55827 2013-07-20  David S. Miller  <davem@davemloft.net>
55829         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55830         difference between 32-bit and 64-bit.
55832 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55834         [BZ #15711]
55835         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55836         Avoid system header dependency with -ffreestanding.
55837         ($(objpfx)bits/syscall%d): Likewise.
55839 2013-07-13  David S. Miller  <davem@davemloft.net>
55841         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55842         underflows from atanl/atan2l due to bug 15319.
55843         (casinh_test_data): Likewise.
55845 2013-07-07  David S. Miller  <davem@davemloft.net>
55847         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55849 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55851         * sysdeps/i386/fpu/libm-test-ulps: Update.
55852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55854 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55856         * configure.in (--enable-lock-elision): Fix message text.
55857         * INSTALL: Regenerate.
55858         * configure: Regenerate.
55860 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55864 2013-07-03  Andreas Jaeger  <aj@suse.de>
55866         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55867         define.
55868         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55869         (ptrace_peeksiginfo_args): Add.
55870         (__ptrace_peeksiginfo_flags): Add.
55871         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55873         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55875 2013-07-03  Allan McRae  <allan@archlinux.org>
55877         * sysdeps/i386/fpu/libm-test-ulps: Update.
55879 2013-07-02  David S. Miller  <davem@davemloft.net>
55881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55883 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55887 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55889         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55892 2013-07-02  Andi Kleen <ak@linux.intel.com>
55894         * config.h.in (ENABLE_LOCK_ELISION): Add.
55895         * configure.in (--enable-lock-elision): Add option.
55896         * manual/install.texi: Document --enable lock elision.
55897         * configure: Regenerate
55898         * INSTALL: Regenerate.
55900 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55902         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55903         SSE4.2 strcasecmp for libc.a.
55904         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55906 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55908         [BZ #13304]
55909         * soft-fp/op-common.h (_FP_FMA): New macro.
55910         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55911         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55912         (_FP_MUL_MEAT_1_imm): ... here.
55913         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55914         (_FP_MUL_MEAT_1_wide): ... here.
55915         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55916         (_FP_MUL_MEAT_1_hard): ... here.
55917         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55918         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55919         (_FP_MUL_MEAT_2_wide): ... here.
55920         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55921         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55922         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55923         (_FP_MUL_MEAT_2_gmp): ... here.
55924         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55925         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55926         (_FP_MUL_MEAT_4_wide): ... here.
55927         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55928         (_FP_MUL_MEAT_4_gmp): ... here.
55929         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55930         (_FP_WFRACBITS_DW_S): Likewise.
55931         (_FP_WFRACXBITS_DW_S): Likewise.
55932         (_FP_HIGHBIT_DW_S): Likewise.
55933         (FP_FMA_S): Likewise.
55934         (_FP_FRAC_HIGH_DW_S): Likewise.
55935         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55936         (_FP_WFRACBITS_DW_D): Likewise.
55937         (_FP_WFRACXBITS_DW_D): Likewise.
55938         (_FP_HIGHBIT_DW_D): Likewise.
55939         (FP_FMA_D): Likewise.
55940         (_FP_FRAC_HIGH_DW_D): Likewise.
55941         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55942         (_FP_WFRACBITS_DW_E): Likewise.
55943         (_FP_WFRACXBITS_DW_E): Likewise.
55944         (_FP_HIGHBIT_DW_E): Likewise.
55945         (FP_FMA_E): Likewise.
55946         (_FP_FRAC_HIGH_DW_E): Likewise.
55947         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55948         (_FP_WFRACBITS_DW_Q): Likewise.
55949         (_FP_WFRACXBITS_DW_Q): Likewise.
55950         (_FP_HIGHBIT_DW_Q): Likewise.
55951         (FP_FMA_Q): Likewise.
55952         (_FP_FRAC_HIGH_DW_Q): Likewise.
55953         * soft-fp/fmasf4.c: New file.
55954         * soft-fp/fmadf4.c: Likewise.
55955         * soft-fp/fmatf4.c: Likewise.
55957 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55960         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55961         Silvermont.
55962         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55963         macro.
55964         (index_Slow_SSE4_2): Likewise.
55965         (index_Prefer_PMINUB_for_stringop): Likewise.
55966         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55967         bit_Slow_SSE4_2 is set.
55968         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55969         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55971 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55973         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55974         rtld_global._dl_hwcap2.
55975         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55976         POWER8.
55977         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55978         POWER8 feature descriptions defined in _dl_hwcap2.
55979         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55980         string handling for POWER8 feature bits.
55981         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55982         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55983         _dl_powerpc_cap_flags.
55984         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55985         * sysdeps/powerpc/rtld-global-offsets.sym
55986         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55987         _dl_hwcap2 in the rtld_global_ro structure.
55989 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55991         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55992         hardware capabilities in support of AT_HWCAP2.
55993         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55994         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55995         GLRO(dl_hwcap2).
55996         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55997         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55998         explicitly the unknown a_type display mechanism is used.
55999         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56000         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56001         struct member.
56002         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56003         to macro prototype for AT_HWCAP2 support.
56004         * sysdeps/i386/dl-procinfo.h: Likewise.
56005         * sysdeps/s390/dl-procinfo.h: Likewise.
56006         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56007         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56008         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56009         return -1 for unknown a_type display fallback.
56010         * sysdeps/sparc/dl-procinfo.h: Likewise.
56011         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56012         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56014 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56016         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56017         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56019 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56021         [BZ #12492]
56022         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56023         mprotect making __stack_prot writable.
56025 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56026             Joseph Myers  <joseph@codesourcery.com>
56028         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56029         as being properly aligned.
56031 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56033         * dlfcn/modstatic5.c: New file.
56034         * dlfcn/tststatic5.c: New file.
56035         * dlfcn/Makefile (tests): Add tststatic5.
56036         (tests-static): Likewise.
56037         (modules-names): Add modstatic5.
56038         (tststatic5-ENV): New variable.
56039         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56041         [BZ #15022]
56042         * elf/dl-support.c (_dl_main_map): New variable.
56043         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56044         (_dl_nns, _dl_load_adds): Set to 1.
56045         (_dl_initial_searchlist): Refer to _dl_main_map.
56046         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56047         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56048         call to _dl_get_origin.
56049         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56050         around call_map.
56051         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56052         * dlfcn/modstatic3.c: New file.
56053         * dlfcn/tststatic3.c: New file.
56054         * dlfcn/tststatic4.c: New file.
56055         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56056         (tests-static): Likewise.
56057         (modules-names): Add modstatic3.
56058         (tststatic3-ENV, tststatic4-ENV): New variables.
56059         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56060         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56062 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56064         * configure.in (CC): Require GCC version 4.4 or later.
56065         * configure: Regenerated.
56066         * manual/install.texi (Tools for Compilation): Update GCC version
56067         requirement.
56068         * INSTALL: Regenerated.
56070 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56072         [BZ #15674]
56073         * string/test-memcmp.c (check2): New.
56074         (main): Call check2.
56076         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56078 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56080         [BZ #15022]
56081         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56082         over to...
56083         (dl_open_worker) [!SHARED]: ... here.
56085 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56087         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56089 2013-06-25  Richard Henderson  <rth@redhat.com>
56091         * locale/programs/locarchive.c: Include <libc-internal.h>
56093 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56095         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56096         trailing whitespace removed.
56098 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56100         [BZ #10283]
56101         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56102         * locale/programs/locarchive.c: Include libc-mmap.h.
56103         (prepare_address_space): Take two new outputs (the mmap base and len).
56104         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56105         values.
56106         (create_archive): Declare new mmap base and len values for
56107         prepare_address_space, and store the result in ah.
56108         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56109         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56110         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56111         Declare new mmap base and len values for
56112         prepare_address_space, and store the result in new_ah.
56113         (open_archive): Declare new mmap base and len values for
56114         prepare_address_space, and store the result in ah.
56115         (close_archive): If ah->mmap_base is not NULL, use that and
56116         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56117         * sysdeps/generic/libc-mmap.h: New file.
56119 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56121         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56122         (ALIGN_UP): Likewise.
56123         (PTR_ALIGN_DOWN): Likewise.
56124         (PTR_ALIGN_UP): Likewise.
56126 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56128         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56129         entry mapped to PPC_PLATFORM_POWER8.
56130         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56131         POWER8.
56132         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56133         (_dl_string_platform): Add case for exporting platform position for
56134         POWER8.
56135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56136         search path to sysdeps/powerpc/powerpc32/power8 directory.
56137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56138         search path to sysdeps/powerpc/powerpc64/power8 directory.
56139         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56140         power7 directories.
56141         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56142         power7 directories.
56144 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56146         * INSTALL: Regenerate.
56148         * nscd/connections.c (nscd_init): Fix comment.
56150 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56152         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56154         [BZ #15667]
56155         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56156         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56158 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56160         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56161         DL_DST_REQ_STATIC.
56162         (DL_DST_REQ_STATIC): Remove macro.
56164 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56166         [BZ #7006]
56167         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56168         with a shift of 0 bits.
56170 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56172         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56173         $(tststatic-ENV).
56175 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56177         [BZ #15655]
56178         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56180 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56182         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56183         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56184         accepts -fno-tree-loop-distribute-patterns.
56185         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56186         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56187         recursive call.
56188         * string/memset.c (memset): Likewise.
56189         * string/test-memmove.c (simple_memmove): Disable loop transformation
56190         to library calls.
56191         * string/test-memset.c (simple_memset): Likewise.
56192         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56193         * benchtests/bench-memset.c (simple_memset): Likewise.
56194         * configure: Regenerated.
56196 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56198         * math/test-misc.c (main): Ignore fesetround failure when failures
56199         of subsequent rounding tests would be ignored.
56201         [BZ #15654]
56202         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56203         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56204         * math/fegetenv.c (__fegetenv): Return 0.
56205         * math/fegetexcept.c (fegetexcept): Return 0.
56206         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56207         FE_TONEAREST.
56208         * math/feholdexcpt.c (feholdexcept): Return 0.
56209         * math/fesetenv.c (__fesetenv): Return 0.
56210         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56211         argument FE_TONEAREST.
56212         * math/feupdateenv.c (__feupdateenv): Return 0.
56213         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56215 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56217         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56218         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56219         ($(objpfx)rtld-%.os rules): Use them.
56221 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56223         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56224         fields.
56226 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56228         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56229         length of target pattern, then descending length of dependency pattern.
56230         * configure.in (AWK): Require gawk 3.1.2 or newer.
56231         * manual/install.texi (Tools for Compilation): Say that we do.
56232         * configure: Regenerated.
56234         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56235         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56236         * scripts/sysd-rules.awk: ... this new script.
56237         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56238         than a glob-style pattern.
56240 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56242         * math/test-misc.c (main): Do not treat incorrectly rounded
56243         conversions as failure unless ROUNDING_TESTS passes.
56245 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56247         [BZ #15631]
56248         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56249         restore exception state around main square root computation, then
56250         check for inexactness explicitly.
56252         * math/libm-test.inc (fma_test_data): Add another test.
56254 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56256         * manual/threads.texi (Non-POSIX Extensions): New document
56257         node.  Document pthread_getattr_default_np and
56258         pthread_setattr_default_np.
56260         * Versions.def (libpthread): Add GLIBC_2.18.
56261         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56263         Likewise.
56264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56265         Likewise.
56266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56267         Likewise.
56268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56269         Likewise.
56270         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56271         Likewise.
56272         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56273         Likewise.
56274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56275         Likewise.
56276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56277         Likewise.
56278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56279         Likewise.
56281 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56284         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56286 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56287             H.J. Lu  <hjl.tools@gmail.com>
56289         [BZ #15627]
56290         * sysdeps/x86_64/rtld-memset.c: Remove file.
56291         * sysdeps/x86_64/rtld-memset.S: New file.
56293 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56295         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56296         (test_in_one_mode): Take arguments for whether the rounding mode
56297         is supported for each floating-point type.
56298         (do_test): Pass new arguments to test_in_one_mode using
56299         ROUNDING_TESTS.
56301 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56303         * posix/tst-waitid.c (do_test): Distinguish different instances of
56304         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56305         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56306         before entering the kernel for waitpid.
56308 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56310         * NEWS: Fix note on clock function precision.  Text by Roland
56311         McGrath.
56313 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56315         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56316         it into place only when and if the sanity check passes.
56318 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56320         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56321         output for whether conversion result is exact.  Take argument
56322         indicating whether type is IBM long double.
56323         (round_for_all): Change need_exact field to ibm_ld.
56324         * stdlib/tst-strtod-round.c (struct exactness): New type.
56325         (struct test): Change bool ld_ok field to struct exactness exact.
56326         (TEST): Update all definitions for change to field.
56327         (tests): Regenerate array contents.
56328         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56329         field value.  Check for IBM long double here.
56330         (do_test): Update calls to test_in_one_mode.
56332 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56334         [BZ #12515]
56335         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56336         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56338 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56340         [BZ #15605]
56341         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56342         generated by the compiler on loop optimizations.
56343         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56344         general definitions.
56346 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56348         * math/bug-nextafter.c: Include <math-tests.h>.
56349         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56350         the relevant type.
56351         * math/bug-nexttoward.c: Include <math-tests.h>.
56352         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56353         the relevant type.
56354         * math/test-misc.c: Include <math-tests.h>.
56355         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56356         the relevant type.
56358 2013-06-12  Andreas Jaeger  <aj@suse.de>
56360         * po/ia.po: Update Interlingua translation from translation
56361         project.
56363 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56365         * include/fenv.h: Include stdbool.h.
56366         (struct rm_ctx): New structure.
56367         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56368         Define macro.
56369         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56370         (SET_RESTORE_ROUNDF): Likewise.
56371         (SET_RESTORE_ROUNDL): Likewise.
56372         (SET_RESTORE_ROUND_NOEX): Likewise.
56373         (SET_RESTORE_ROUND_NOEXF): Likewise.
56374         (SET_RESTORE_ROUND_NOEXL): Likewise.
56375         (SET_RESTORE_ROUND_53BIT): Likewise.
56376         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56377         (libc_feresetround_noexf_ctx): Likewise.
56378         (libc_feresetround_noexl_ctx): Likewise.
56379         (libc_feholdsetround_53bit_ctx): Likewise.
56380         (libc_feresetround_53bit_ctx): Likewise.
56381         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56382         (libc_feholdexcept_setround_sse_ctx): New function.
56383         (libc_fesetenv_sse_ctx): Likewise.
56384         (libc_feupdateenv_sse_ctx): Likewise.
56385         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56386         (libc_feholdexcept_setround_387_ctx): Likewise.
56387         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56388         (libc_feholdsetround_387_prec_ctx): Likewise.
56389         (libc_feholdsetround_387_ctx): Likewise.
56390         (libc_feholdsetround_387_53bit_ctx): Likewise.
56391         (libc_feholdsetround_sse_ctx): Likewise.
56392         (libc_feresetround_sse_ctx): Likewise.
56393         (libc_feresetround_387_ctx): Likewise.
56394         (libc_feupdateenv_387_ctx): Likewise.
56395         (libc_feholdexcept_setroundf_ctx): Define macro.
56396         (libc_fesetenvf_ctx): Likewise.
56397         (libc_feupdateenvf_ctx): Likewise.
56398         (libc_feholdsetroundf_ctx): Likewise.
56399         (libc_feresetroundf_ctx): Likewise.
56400         (libc_feholdexcept_setround_ctx): Likewise.
56401         (libc_fesetenv_ctx): Likewise.
56402         (libc_feupdateenv_ctx): Likewise.
56403         (libc_feholdsetround_ctx): Likewise.
56404         (libc_feresetround_ctx): Likewise.
56405         (libc_feholdexcept_setroundl_ctx): Likewise.
56406         (libc_feupdateenvl_ctx): Likewise.
56407         (libc_feholdsetroundl_ctx): Likewise.
56408         (libc_feresetroundl_ctx): Likewise.
56409         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56410         (libc_feresetround_53bit_ctx): Likewise.
56412 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56414         * locale/iso-639.def: Convert to UTF-8.
56416 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56418         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56419         (EXCEPTION_TESTS_double): Likewise.
56420         (EXCEPTION_TESTS_long_double): Likewise.
56421         (EXCEPTION_TESTS): Likewise.
56422         * math/libm-test.inc (test_exceptions): Only test exceptions if
56423         EXCEPTION_TESTS (FLOAT).
56425 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56427         * benchtests/Makefile (string-bench): Add strcpy_chk and
56428         stpcpy_chk.
56429         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56430         * benchtests/bench-stpcpy_chk.c: New file.
56431         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56432         * benchtests/bench-strcpy_chk.c: New file.
56433         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56434         code.
56435         (do_test): Likewise.
56437 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56439         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56440         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56441         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56442         with tabs where appropriate.
56443         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56444         dl-procinfo.h.
56445         [PPC_PLATFORM_PPC440]: Likewise.
56446         [PPC_PLATFORM_PPC464]: Likewise.
56447         [PPC_PLATFORM_PPC476]: Likewise.
56448         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56449         ppc464, and ppc476 platform strings merging from ports/
56450         dl-procinfo.h.
56452 2013-06-11  Andreas Schwab  <schwab@suse.de>
56454         [BZ #14991]
56455         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56456         (from_ucs4_idx): Regenerate.
56457         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56458         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56459         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56460         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56461         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56462         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56463         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56464         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56465         from FROM_LOOP and TO_LOOP specific macros.
56466         (BODY): Handle combining characters.
56467         * iconvdata/BIG5HKSCS.irreversible: Update.
56468         * iconvdata/BIG5HKSCS.precomposed: New file.
56469         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56470         characters.
56471         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56473 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56475         * include/sys/time.h: Fix indentation and add copyright header.
56477         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56478         (do_test): Likewise.
56479         * string/test-memchr.c (do_one_test): Likewise.
56480         (do_test): Likewise.
56481         * string/test-memcmp.c (do_one_test): Likewise.
56482         (do_test): Likewise.
56483         * string/test-memcpy.c (do_one_test): Likewise.
56484         (do_test): Likewise.
56485         * string/test-memmem.c (do_one_test): Likewise.
56486         (do_test): Likewise.
56487         (do_random_tests): Likewise.
56488         * string/test-memmove.c (do_one_test): Likewise.
56489         (do_test): Likewise.
56490         * string/test-memset.c (do_one_test): Likewise.
56491         (do_test): Likewise.
56492         * string/test-rawmemchr.c (do_one_test): Likewise.
56493         (do_test): Likewise.
56494         * string/test-strcasecmp.c (do_one_test): Likewise.
56495         (do_test): Likewise.
56496         * string/test-strcasestr.c (do_one_test): Likewise.
56497         (do_test): Likewise.
56498         * string/test-strcat.c (do_one_test): Likewise.
56499         (do_test): Likewise.
56500         * string/test-strchr.c (do_one_test): Likewise.
56501         (do_test): Likewise.
56502         * string/test-strcmp.c (do_one_test): Likewise.
56503         (do_test): Likewise.
56504         * string/test-strcpy.c (do_one_test): Likewise.
56505         (do_test): Likewise.
56506         * string/test-string.h: Likewise.
56507         (test_init): Likewise.
56508         * string/test-strlen.c (do_one_test): Likewise.
56509         (do_test): Likewise.
56510         * string/test-strncasecmp.c (do_one_test): Likewise.
56511         (do_test): Likewise.
56512         * string/test-strncat.c (do_one_test): Likewise.
56513         (do_test): Likewise.
56514         * string/test-strncmp.c (do_one_test): Likewise.
56515         (do_test_limit): Likewise.
56516         (do_test): Likewise.
56517         * string/test-strncpy.c (do_one_test): Likewise.
56518         (do_test): Likewise.
56519         * string/test-strnlen.c (do_one_test): Likewise.
56520         (do_test): Likewise.
56521         * string/test-strpbrk.c (do_one_test): Likewise.
56522         (do_test): Likewise.
56523         * string/test-strrchr.c (do_one_test): Likewise.
56524         (do_test): Likewise.
56525         * string/test-strspn.c (do_one_test): Likewise.
56526         (do_test): Likewise.
56527         * string/test-strstr.c (do_one_test): Likewise.
56528         (do_test): Likewise.
56530         * benchtests/Makefile (string-bench): Add string benchmarks.
56531         * benchtests/bench-bcopy-ifunc.c: New file.
56532         * benchtests/bench-bcopy.c: New file.
56533         * benchtests/bench-bzero-ifunc.c: New file.
56534         * benchtests/bench-bzero.c: New file.
56535         * benchtests/bench-memccpy-ifunc.c: New file.
56536         * benchtests/bench-memccpy.c: New file.
56537         * benchtests/bench-memchr-ifunc.c: New file.
56538         * benchtests/bench-memchr.c: New file.
56539         * benchtests/bench-memcmp-ifunc.c: New file.
56540         * benchtests/bench-memcmp.c: New file.
56541         * benchtests/bench-memmem-ifunc.c: New file.
56542         * benchtests/bench-memmem.c: New file.
56543         * benchtests/bench-memmove-ifunc.c: New file.
56544         * benchtests/bench-memmove.c: New file.
56545         * benchtests/bench-mempcpy-ifunc.c: New file.
56546         * benchtests/bench-mempcpy.c: New file.
56547         * benchtests/bench-memset-ifunc.c: New file.
56548         * benchtests/bench-memset.c: New file.
56549         * benchtests/bench-rawmemchr-ifunc.c: New file.
56550         * benchtests/bench-rawmemchr.c: New file.
56551         * benchtests/bench-stpcpy-ifunc.c: New file.
56552         * benchtests/bench-stpcpy.c: New file.
56553         * benchtests/bench-stpncpy-ifunc.c: New file.
56554         * benchtests/bench-stpncpy.c: New file.
56555         * benchtests/bench-strcasecmp-ifunc.c: New file.
56556         * benchtests/bench-strcasecmp.c: New file.
56557         * benchtests/bench-strcasestr-ifunc.c: New file.
56558         * benchtests/bench-strcasestr.c: New file.
56559         * benchtests/bench-strcat-ifunc.c: New file.
56560         * benchtests/bench-strcat.c: New file.
56561         * benchtests/bench-strchr-ifunc.c: New file.
56562         * benchtests/bench-strchr.c: New file.
56563         * benchtests/bench-strchrnul-ifunc.c: New file.
56564         * benchtests/bench-strchrnul.c: New file.
56565         * benchtests/bench-strcmp-ifunc.c: New file.
56566         * benchtests/bench-strcmp.c: New file.
56567         * benchtests/bench-strcpy-ifunc.c: New file.
56568         * benchtests/bench-strcpy.c: New file.
56569         * benchtests/bench-strcspn-ifunc.c: New file.
56570         * benchtests/bench-strcspn.c: New file.
56571         * benchtests/bench-strlen-ifunc.c: New file.
56572         * benchtests/bench-strlen.c: New file.
56573         * benchtests/bench-strncasecmp-ifunc.c: New file.
56574         * benchtests/bench-strncasecmp.c: New file.
56575         * benchtests/bench-strncat-ifunc.c: New file.
56576         * benchtests/bench-strncat.c: New file.
56577         * benchtests/bench-strncmp-ifunc.c: New file.
56578         * benchtests/bench-strncmp.c: New file.
56579         * benchtests/bench-strncpy-ifunc.c: New file.
56580         * benchtests/bench-strncpy.c: New file.
56581         * benchtests/bench-strnlen-ifunc.c: New file.
56582         * benchtests/bench-strnlen.c: New file.
56583         * benchtests/bench-strpbrk-ifunc.c: New file.
56584         * benchtests/bench-strpbrk.c: New file.
56585         * benchtests/bench-strrchr-ifunc.c: New file.
56586         * benchtests/bench-strrchr.c: New file.
56587         * benchtests/bench-strspn-ifunc.c: New file.
56588         * benchtests/bench-strspn.c: New file.
56589         * benchtests/bench-strstr-ifunc.c: New file.
56590         * benchtests/bench-strstr.c: New file.
56592         * benchtests/Makefile: Disable parallel execution of targets.
56593         (string-bench): Add memcpy.
56594         (benchset): New variable to store a list of benchmark sets.
56595         (bench-func): Renamed from bench.
56596         (bench-set): New target.
56597         (bench): Depend on bench-func and bench-set.
56598         * benchtests/README: Add section on benchmark sets.
56599         * benchtests/bench-memcpy-ifunc.c: New file.
56600         * benchtests/bench-memcpy.c: New file.
56601         * benchtests/bench-string.h: New file.
56603 2013-06-11  Andreas Schwab  <schwab@suse.de>
56605         [BZ #15577]
56606         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56607         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56608         values in the triple.
56609         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56610         terminator in the group key.
56612 2013-06-11  Andreas Jaeger  <aj@suse.de>
56614         * po/zh_TW.po: Update Chinese (traditional) translation from
56615         translation project.
56617 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56619         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56620         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56621         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56622         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56623         (clock_getcpuclockid): Likewise.
56624         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56625         Add weak_alias and libc_hidden_def.
56626         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56627         * rt/clock_gettime.c (clock_gettime): Rename to
56628         __clock_gettime.  Add weak_alias and libc_hidden_def.
56629         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56630         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56631         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56632         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56633         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56634         Likewise.
56635         * rt/clock_settime.c (clock_settime): Rename to
56636         __clock_settime.  Add weak_alias and libc_hidden_def.
56637         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56639 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56641         * mach/err_boot.sub: Remove trailing whitespace.
56642         * mach/err_ipc.sub: Likewise.
56643         * mach/err_mach.sub: Likewise.
56645         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56646         (ROUNDING_TESTS_double): Likewise.
56647         (ROUNDING_TESTS_long_double): Likewise.
56648         (ROUNDING_TESTS): Likewise.
56649         * math/libm-test.inc: Include <math-tests.h>.
56650         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56651         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56652         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56653         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56655 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56657         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56658         of assigning.
56660 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56662         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56663         otherwise empty TRANS lines.
56664         * sysdeps/gnu/errlist.c: Regenerated.
56666         * catgets/gencat.c (error_print): Use (void) in function
56667         definition.
56668         * crypt/crypt_util.c (__init_des): Likewise.
56669         * crypt/speeds.c (Stop): Likewise.
56670         (main): Likewise.
56671         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56672         * inet/ruserpass.c (token): Likewise.
56673         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56674         * intl/localealias.c (extend_alias_table): Likewise.
56675         * intl/plural-exp.c (init_germanic_plural): Likewise.
56676         * libio/fcloseall.c (__fcloseall): Likewise.
56677         * libio/genops.c (_IO_flush_all): Likewise.
56678         (_IO_flush_all_linebuffered): Likewise.
56679         (_IO_cleanup): Likewise.
56680         (_IO_iter_begin): Likewise.
56681         (_IO_iter_end): Likewise.
56682         (_IO_list_lock): Likewise.
56683         (_IO_list_unlock): Likewise.
56684         (_IO_list_resetlock): Likewise.
56685         * libio/getchar.c (getchar): Likewise.
56686         * libio/getchar_u.c (getchar_unlocked): Likewise.
56687         * libio/getwchar.c (getwchar): Likewise.
56688         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56689         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56690         * login/getpt.c (__getpt): Likewise.
56691         * login/tst-utmp.c (main): Likewise.
56692         * malloc/hooks.c (__malloc_check_init): Likewise.
56693         * malloc/malloc.c (__malloc_stats): Likewise.
56694         * malloc/mtrace.c (tr_break): Likewise.
56695         (mtrace): Likewise.
56696         (muntrace): Likewise.
56697         * misc/fstab.c (endfsent): Likewise.
56698         * misc/getclktck.c (__getclktck): Likewise.
56699         * misc/getdtsz.c (__getdtablesize): Likewise.
56700         * misc/gethostid.c (gethostid): Likewise.
56701         * misc/getpagesize.c (__getpagesize): Likewise.
56702         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56703         (__get_nprocs): Likewise.
56704         (__get_phys_pages): Likewise.
56705         (__get_avphys_pages): Likewise.
56706         * misc/getttyent.c (getttyent): Likewise.
56707         (setttyent): Likewise.
56708         (endttyent): Likewise.
56709         * misc/getusershell.c (getusershell): Likewise.
56710         (endusershell): Likewise.
56711         (setusershell): Likewise.
56712         (initshells): Likewise.
56713         * misc/hsearch.c (__hdestroy): Likewise.
56714         * misc/sync.c (sync): Likewise.
56715         * misc/syslog.c (closelog_internal): Likewise.
56716         (closelog): Likewise.
56717         * misc/ttyslot.c (ttyslot): Likewise.
56718         * misc/vhangup.c (vhangup): Likewise.
56719         * posix/fork.c (__fork): Likewise.
56720         * posix/getegid.c (__getegid): Likewise.
56721         * posix/geteuid.c (__geteuid): Likewise.
56722         * posix/getgid.c (__getgid): Likewise.
56723         * posix/getpid.c (__getpid): Likewise.
56724         * posix/getppid.c (__getppid): Likewise.
56725         * posix/getuid.c (__getuid): Likewise.
56726         * posix/pause.c (pause): Likewise.
56727         * posix/setpgrp.c (setpgrp): Likewise.
56728         * posix/setsid.c (__setsid): Likewise.
56729         * posix/test-vfork.c (noop): Likewise.
56730         * resolv/gethnamaddr.c (_endhtent): Likewise.
56731         (_gethtent): Likewise.
56732         (ht_endhostent): Likewise.
56733         (gethostent): Likewise.
56734         (dns_service): Likewise.
56735         * stdlib/drand48.c (drand48): Likewise.
56736         * stdlib/lrand48.c (lrand48): Likewise.
56737         * stdlib/mrand48.c (mrand48): Likewise.
56738         * stdlib/rand.c (rand): Likewise.
56739         * stdlib/random.c (__random): Likewise.
56740         * stdlib/setenv.c (clearenv): Likewise.
56741         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56742         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56743         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56744         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56745         (__get_nprocs): Likewise.
56746         (__get_phys_pages): Likewise.
56747         (__get_avphys_pages): Likewise.
56748         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56749         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56750         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56751         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56752         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56753         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56754         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56755         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56756         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56757         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56758         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56759         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56760         * sysdeps/posix/clock.c (clock): Likewise.
56761         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56762         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56763         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56764         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56765         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56766         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56767         (__get_nprocs_conf): Likewise.
56768         (__get_phys_pages): Likewise.
56769         (__get_avphys_pages): Likewise.
56770         * time/clock.c (clock): Likewise.
56771         * time/tzset.c (__tzname_max): Likewise.
56773 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56775         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56776         (__bswap_32): Do not use "register".
56777         * crypt/crypt.c (_ufc_doit_r): Likewise.
56778         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56779         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56780         * gmon/gmon.c (__monstartup): Likewise.
56781         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56782         * hurd/hurdmalloc.c (more_memory): Likewise.
56783         (malloc): Likewise.
56784         (free): Likewise.
56785         (realloc): Likewise.
56786         (malloc_fork_prepare): Likewise.
56787         (malloc_fork_parent): Likewise.
56788         (malloc_fork_child): Likewise.
56789         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56790         (_svcauth_des): Likewise.
56791         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56792         * inet/inet_net.c (inet_network): Likewise.
56793         * inet/inet_netof.c (inet_netof): Likewise.
56794         * inet/rcmd.c (__validuser2_sa): Likewise.
56795         * io/fts.c (fts_open): Likewise.
56796         (fts_load): Likewise.
56797         (fts_close): Likewise.
56798         (fts_read): Likewise.
56799         (fts_children): Likewise.
56800         (fts_build): Likewise.
56801         (fts_stat): Likewise.
56802         (fts_sort): Likewise.
56803         (fts_alloc): Likewise.
56804         (fts_lfree): Likewise.
56805         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56806         (_IO_file_xsgetn): Likewise.
56807         (_IO_file_xsgetn_mmap): Likewise.
56808         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56809         (_IO_cookie_write): Likewise.
56810         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56811         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56812         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56813         * malloc/obstack.c (_obstack_begin): Likewise.
56814         (_obstack_begin_1): Likewise.
56815         (_obstack_newchunk): Likewise.
56816         (_obstack_allocated_p): Likewise.
56817         (obstack_free): Likewise.
56818         (_obstack_memory_used): Likewise.
56819         * misc/getttyent.c (getttynam): Likewise.
56820         (getttyent): Likewise.
56821         (skip): Likewise.
56822         (value): Likewise.
56823         * misc/getusershell.c (initshells): Likewise.
56824         * misc/syslog.c (__vsyslog_chk): Likewise.
56825         * misc/ttyslot.c (ttyslot): Likewise.
56826         * nis/nis_hash.c (__nis_hash): Likewise.
56827         * posix/fnmatch_loop.c (FCT): Likewise.
56828         * posix/getconf.c (print_all): Likewise.
56829         (main): Likewise.
56830         * posix/getopt.c (exchange): Likewise.
56831         * posix/glob.c (globfree): Likewise.
56832         (prefix_array): Likewise.
56833         (__glob_pattern_type): Likewise.
56834         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56835         (NS_GET32): Likewise.
56836         (NS_PUT16): Likewise.
56837         (NS_PUT32): Likewise.
56838         * resolv/gethnamaddr.c (getanswer): Likewise.
56839         (gethostbyname2): Likewise.
56840         (gethostbyaddr): Likewise.
56841         (_gethtent): Likewise.
56842         (_gethtbyname2): Likewise.
56843         (_gethtbyaddr): Likewise.
56844         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56845         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56846         * resolv/res_init.c (__res_vinit): Likewise.
56847         (net_mask): Likewise.
56848         * resolv/res_mkquery.c (outchar): Likewise.
56849         (PRINT): Likewise.
56850         * stdio-common/printf_fp.c (outchar): Likewise.
56851         (PRINT): Likewise.
56852         * stdio-common/printf_fphex.c (outchar): Likewise.
56853         (PRINT): Likewise.
56854         * stdio-common/printf_size.c (outchar): Likewise.
56855         (PRINT): Likewise.
56856         * stdio-common/test_rdwr.c (main): Likewise.
56857         * stdio-common/tfformat.c (matches): Likewise.
56858         * stdio-common/vfprintf.c (outchar): Likewise.
56859         (printf_unknown): Likewise.
56860         (buffered_vfprintf): Likewise.
56861         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56862         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56863         (ReadFile): Likewise.
56864         * stdlib/qsort.c (SWAP): Likewise.
56865         (_quicksort): Likewise.
56866         * stdlib/setenv.c (__add_to_environ): Likewise.
56867         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56868         * stdlib/strtol_l.c (__strtol_l): Likewise.
56869         * stdlib/tst-strtod.c (main): Likewise.
56870         * stdlib/tst-strtol.c (main): Likewise.
56871         * stdlib/tst-strtoll.c (main): Likewise.
56872         * string/bits/string2.h (__strcmp_cc): Likewise.
56873         (__strcmp_cg): Likewise.
56874         (__strcspn_c1): Likewise.
56875         (__strcspn_c2): Likewise.
56876         (__strcspn_c3): Likewise.
56877         (__strspn_c1): Likewise.
56878         (__strspn_c2): Likewise.
56879         (__strspn_c3): Likewise.
56880         (__strsep_1c): Likewise.
56881         (__strsep_2c): Likewise.
56882         (__strsep_3c): Likewise.
56883         * string/memccpy.c (__memccpy): Likewise.
56884         * string/stpcpy.c (__stpcpy): Likewise.
56885         * string/strcmp.c (strcmp): Likewise.
56886         * string/strrchr.c (strrchr): Likewise.
56887         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56888         Likewise.
56889         * sysdeps/mach/hurd/getcwd.c
56890         (_hurd_canonicalize_directory_name_internal): Likewise.
56891         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56892         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56893         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56894         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56895         Likewise, in both definitions.
56896         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56897         definitions.
56898         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56899         64] (__bswap_64): Likewise.
56900         * time/test_time.c (main): Likewise.
56901         * time/tzfile.c (__tzfile_read): Likewise.
56902         (__tzfile_compute): Likewise.
56903         * time/tzset.c (__tzset_parse_tz): Likewise.
56904         (tzset_internal): Likewise.
56905         (compute_change): Likewise.
56906         * wcsmbs/wcscat.c (__wcscat): Likewise.
56907         * wcsmbs/wcschr.c (wcschr): Likewise.
56908         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56909         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56910         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56911         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56912         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56913         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56914         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56915         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56916         * wcsmbs/wmemset.c (wmemset): Likewise.
56918 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56920         * scripts/config.guess: Update to version 2013-05-16.
56921         * scripts/config.sub: Update to version 2013-04-24.
56922         * scripts/install-sh: Update to version 2011-11-20.07.
56923         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56924         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56926 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56928         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56929         * elf/sln.c: Likewise.
56930         * hurd/hurd/ioctl.h: Likewise.
56931         * hurd/hurdmalloc.c: Likewise.
56932         * hurd/xattr.c: Likewise.
56933         * include/shlib-compat.h: Likewise.
56934         * inet/ruserpass.c: Likewise.
56935         * libio/iofgets_u.c: Likewise.
56936         * libio/iofgetws_u.c: Likewise.
56937         * locale/programs/ld-identification.c: Likewise.
56938         * locale/programs/ld-time.c: Likewise.
56939         * mach/msg-destroy.c: Likewise.
56940         * nss/nss_files/files-netgrp.c: Likewise.
56941         * resolv/res_data.c: Likewise.
56942         * soft-fp/op-1.h: Likewise.
56943         * soft-fp/op-2.h: Likewise.
56944         * soft-fp/op-4.h: Likewise.
56945         * soft-fp/op-common.h: Likewise.
56946         * stdio-common/printf_fphex.c: Likewise.
56947         * stdlib/strtod_l.c: Likewise.
56948         * sunrpc/rpc/clnt.h: Likewise.
56949         * sysdeps/generic/framestate.c: Likewise.
56950         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56951         * sysdeps/i386/bsd-setjmp.S: Likewise.
56952         * sysdeps/i386/__longjmp.S: Likewise.
56953         * sysdeps/i386/setjmp.S: Likewise.
56954         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56955         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56956         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56972         * sysdeps/ieee754/support.c: Likewise.
56973         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56974         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56975         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56976         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56977         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56978         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56979         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56980         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56981         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56982         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56983         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56984         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56985         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56986         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56987         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56988         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56989         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56992 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56994         * posix/transbug.c: Remove executable mode.
56996 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56998         * crypt/speeds.c: Remove trailing whitespace.
56999         * dlfcn/default.c: Likewise.
57000         * elf/ifuncdep2.c: Likewise.
57001         * elf/ifuncmain1.c: Likewise.
57002         * elf/ifuncmain1vis.c: Likewise.
57003         * elf/testobj.h: Likewise.
57004         * elf/tst-stackguard1.c: Likewise.
57005         * gmon/sys/gmon.h: Likewise.
57006         * hurd/hurdmsg.c: Likewise.
57007         * hurd/new-fd.c: Likewise.
57008         * hurd/ports-get.c: Likewise.
57009         * iconvdata/ibm1008_420.c: Likewise.
57010         * inet/tst-getni1.c: Likewise.
57011         * inet/tst-getni2.c: Likewise.
57012         * libio/ioungetc.c: Likewise.
57013         * libio/wfiledoalloc.c: Likewise.
57014         * manual/libm-err-tab.pl: Likewise.
57015         * math/w_dremf.c: Likewise.
57016         * misc/ftruncate.c: Likewise.
57017         * posix/bug-glob2.c: Likewise.
57018         * posix/tst-pcre.c: Likewise.
57019         * posix/wait4.c: Likewise.
57020         * resolv/README: Likewise.
57021         * resolv/res_debug.h: Likewise.
57022         * resolv/tst-inet_ntop.c: Likewise.
57023         * setjmp/bug269-setjmp.c: Likewise.
57024         * soft-fp/extended.h: Likewise.
57025         * soft-fp/op-1.h: Likewise.
57026         * soft-fp/op-2.h: Likewise.
57027         * soft-fp/op-4.h: Likewise.
57028         * soft-fp/op-8.h: Likewise.
57029         * soft-fp/testit.c: Likewise.
57030         * stdio-common/bug16.c: Likewise.
57031         * stdlib/random.c: Likewise.
57032         * sunrpc/rpcsvc/rquota.x: Likewise.
57033         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57034         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57035         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57036         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57037         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57038         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57039         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57040         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57041         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57042         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57043         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57044         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57045         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57046         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57047         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57048         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57049         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57050         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57051         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57052         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57053         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57054         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57055         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57056         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57057         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57058         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57059         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57060         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57061         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57062         * sysdeps/ieee754/s_lib_version.c: Likewise.
57063         * sysdeps/mach/hurd/check_fds.c: Likewise.
57064         * sysdeps/mach/hurd/getsockname.c: Likewise.
57065         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57066         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57067         * sysdeps/powerpc/bits/link.h: Likewise.
57068         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57069         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57070         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57071         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57072         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57073         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57074         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57075         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57076         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57077         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57078         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57079         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57080         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57081         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57082         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57083         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57084         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57085         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57086         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57087         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57088         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57089         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57090         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57091         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57092         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57093         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57094         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57095         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57096         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57097         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57098         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57099         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57100         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57101         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57102         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57103         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57104         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57105         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57106         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57107         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57108         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57109         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57110         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57111         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57112         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57113         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57114         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57115         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57116         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57117         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57119         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57120         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57121         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57122         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57123         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57124         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57125         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57126         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57127         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57128         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57129         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57130         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57131         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57132         * sysdeps/powerpc/sysdep.h: Likewise.
57133         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57134         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57135         * sysdeps/sh/dl-trampoline.S: Likewise.
57136         * sysdeps/sh/memset.S: Likewise.
57137         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57138         * sysdeps/sh/strlen.S: Likewise.
57139         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57140         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57141         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57142         * sysdeps/sparc/sparc32/rem.S: Likewise.
57143         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57144         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57145         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57146         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57147         * sysdeps/sparc/sparc32/urem.S: Likewise.
57148         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57149         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57150         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57151         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57153         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57154         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57155         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57156         * sysdeps/unix/bsd/times.c: Likewise.
57157         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57158         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57162         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57163         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57164         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57165         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57166         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57167         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57168         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57169         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57170         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57171         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57172         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57173         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57174         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57175         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57176         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57177         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57178         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57179         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57180         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57181         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57182         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57183         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57184         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57185         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57186         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57187         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57188         * sysdeps/x86_64/strcspn.S: Likewise.
57190 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57192         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57193         generated file.  Regenerate properly from gen-translit.pl.
57194         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57195         locale/C-translit.h.
57197 2013-06-05  Andreas Schwab  <schwab@suse.de>
57199         [BZ #15100]
57200         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57201         week as 6 instead of -1.
57202         * time/tst-strptime.c (day_tests): Add test case.
57204 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57206         * sysdeps/generic/math_private.h
57207         (libc_feholdexcept_setround_53bit): Replace with
57208         libc_feholdsetround_53bit.
57209         (libc_feupdateenv_53bit): Replace with
57210         libc_feresetround_53bit.
57211         (SET_RESTORE_ROUND_53BIT): Adjust.
57213 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57215         * string/test-strchrnul.c: Add copyright header.
57217         * posix/tst-getaddrinfo4.c: Increase test timeout.
57219 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57221         [BZ #15536]
57222         * math/libm-test.inc (MAX_EXP): Remove
57223         (MIN_EXP): Define.
57224         (ulp): Use MIN_EXP - MANT_DIG.
57225         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57227 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57229         * po/be.po: Revert last change.
57230         * po/zh_CN.po: Likewise.
57231         * po/header.pot: Likewise.
57233 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57235         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57236         link-libc-deps to empty as target-specific variable.
57237         * Makerules (link-libc-args): New variable.
57238         (libc-for-link): Likewise.
57239         (link-libc-deps): Likewise.
57240         (lib%.so): Depend on $(link-libc-deps).  Link with
57241         $(link-libc-args).
57242         (build-module): Link with $(link-libc-args).
57243         (build-module-asneeded): Likewise.
57244         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57245         list of objects.
57246         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57247         target-specific variable.
57248         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57249         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57250         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57251         libc.
57252         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57253         libc and ld.so.
57254         ($(objpfx)libpcprofile.so): Likewise.
57255         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57256         libc_nonshared.a.
57257         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57258         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57259         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57260         $(link-libc-deps).
57261         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57262         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57263         * login/Makefile ($(objpfx)libutil.so): Likewise.
57264         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57265         * math/Makefile ($(objpfx)libm.so): Likewise.
57266         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57267         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57268         variable instead of depending directly on libc.
57269         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57270         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57271         $(link-libc-deps).
57272         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57273         libc.
57274         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57275         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57276         ($(objpfx)libanl.so): Likewise.
57277         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57278         ld.so.
57279         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57280         $(link-libc-deps).
57281         * sysdeps/i386/fpu/Makefile: Remove file.
57282         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57283         ($(objpfx)libm.so): Remove dependency on ld.so.
57285 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57287         [BZ # 15553]
57288         * nis/yp_xdr.c (XDRMAXNAME): Define.
57289         (XDRMAXRECORD): Define.
57290         (xdr_domainname): Use XDRMAXNAME.
57291         (xdr_mapname): Likewise.
57292         (xdr_peername): Likewise.
57293         (xdr_keydat): Use XDRMAXRECORD.
57294         (xdr_valdat): Likewise.
57296 2013-05-30  Jeff Law  <law@redhat.com>
57298         [BZ #14256]
57299         * manual/errno.texi (ESTALE): Update to account for more than
57300         just NFS file systems.
57301         * sysdeps/gnu/errlist.c: Regenerated.
57303 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57305         [BZ #15465]
57306         * elf/Makefile (tests): Add tst-null-argv.
57307         (modules-names):  Add tst-null-argv-lib.
57308         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57309         (tst-null-argv-ENV): Set environment for tst-null-argv.
57310         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57311         (RTLD_PROGNAME): New macro.
57312         * elf/tst-null-argv.c: New test case.
57313         * elf/tst-null-argv-lib.c: Library for test case.
57314         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57315         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57316         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57317         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57318         * elf/dl-init.c (call_init): Likewise.
57319         (_dl_init): Likewise.
57320         * elf/dl-load.c (print_search_path): Likewise.
57321         (_dl_map_object): Likewise.
57322         * elf/dl-lookup.c (do_lookup_x): Likewise.
57323         (add_dependency): Likewise.
57324         (_dl_lookup_symbol_x): Likewise.
57325         (_dl_debug_bindings): Likewise.
57326         * elf/dl-open.c (_dl_show_scope): Likewise.
57327         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57328         * elf/dl-version.c (match_symbol): Likewise.
57329         (_dl_check_map_versions): Likewise.
57330         * elf/rtld.c (dl_main): Likewise.
57331         (print_unresolved): Use RTLD_PROGNAME.
57332         (print_missing_version): Likewise.
57333         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57334         (elf_machine_rela): Likewise.
57335         * sysdeps/powerpc/powerpc32/dl-machine.c
57336         (__process_machine_rela): Likewise.
57337         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57338         Likewise.
57339         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57340         Likewise.
57341         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57342         Likewise.
57343         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57344         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57345         Likewise.
57346         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57347         Likewise.
57348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57350 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57352         * po/be.po: Add descriptive title.
57353         * po/zh_CN.po: Likewise.
57354         * po/header.pot: Likewise.
57356 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57358         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57359         error message.
57360         (enlarge_archive): Likewise.
57362 2013-05-28  Ben North  <ben@redfrontdoor.org>
57364         * manual/arith.texi (frexp): It is the magnitude of the return
57365         value which lies in [0.5, 1), not the return value itself.
57367 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57371 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57373         * stdio-common/bug26.c (main): Correct fscanf template.
57375         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57376         declare _dl_skip_args.
57378         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57379         Don't declare.
57381         * manual/platform.texi: Add missing @end deftypefun.
57383 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57385         [BZ #15529]
57386         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57387         bit of mantissa of 2^16382.
57388         * math/libm-test.inc (hypot_test_data): Add more tests.
57390         * math/libm-test.inc: Add drem and pow10 to list of tested
57391         functions.
57392         (pow10_test): New function.
57393         (drem_test): Likewise.
57394         (drem_test_tonearest): Likewise.
57395         (drem_test_towardzero): Likewise.
57396         (drem_test_downward): Likewise.
57397         (drem_test_upward): Likewise.
57398         (main): Call the new functions.
57400         * math/libm-test.inc (finite_test_data): Remove.
57401         (finite_test): Run tests from isfinite_test_data.
57402         (gamma_test_data): Remove.
57403         (gamma_test): Run tests from lgamma_test_data.
57404         * sysdeps/i386/fpu/libm-test-ulps: Update.
57405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57407 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57409         * manual/platform.texi: Add PowerPC PPR function set documentation.
57410         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57411         implementation.
57413 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57415         * math/libm-test.inc (MAX_EXP): Define.
57416         (ULPDIFF): Define.
57417         (ulp): New function.
57418         (check_float_internal): Use ULPDIFF.
57419         (cpow_test): Disable failing test.
57420         (check_ulp): Test ulp() implementation.
57421         (main): Call check_ulp before starting tests.
57423 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57425         * math/gen-libm-test.pl (generate_testfile): Do not handle
57426         START_DATA and END_DATA.
57427         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57428         END_DATA.
57429         (acos_tonearest_test_data): Likewise.
57430         (acos_towardzero_test_data): Likewise.
57431         (acos_downward_test_data): Likewise.
57432         (acos_upward_test_data): Likewise.
57433         (acosh_test_data): Likewise.
57434         (asin_test_data): Likewise.
57435         (asin_tonearest_test_data): Likewise.
57436         (asin_towardzero_test_data): Likewise.
57437         (asin_downward_test_data): Likewise.
57438         (asin_upward_test_data): Likewise.
57439         (asinh_test_data): Likewise.
57440         (atan_test_data): Likewise.
57441         (atanh_test_data): Likewise.
57442         (atan2_test_data): Likewise.
57443         (cabs_test_data): Likewise.
57444         (cacos_test_data): Likewise.
57445         (cacosh_test_data): Likewise.
57446         (carg_test_data): Likewise.
57447         (casin_test_data): Likewise.
57448         (casinh_test_data): Likewise.
57449         (catan_test_data): Likewise.
57450         (catanh_test_data): Likewise.
57451         (cbrt_test_data): Likewise.
57452         (ccos_test_data): Likewise.
57453         (ccosh_test_data): Likewise.
57454         (ceil_test_data): Likewise.
57455         (cexp_test_data): Likewise.
57456         (cimag_test_data): Likewise.
57457         (clog_test_data): Likewise.
57458         (clog10_test_data): Likewise.
57459         (conj_test_data): Likewise.
57460         (copysign_test_data): Likewise.
57461         (cos_test_data): Likewise.
57462         (cos_tonearest_test_data): Likewise.
57463         (cos_towardzero_test_data): Likewise.
57464         (cos_downward_test_data): Likewise.
57465         (cos_upward_test_data): Likewise.
57466         (cosh_test_data): Likewise.
57467         (cosh_tonearest_test_data): Likewise.
57468         (cosh_towardzero_test_data): Likewise.
57469         (cosh_downward_test_data): Likewise.
57470         (cosh_upward_test_data): Likewise.
57471         (cpow_test_data): Likewise.
57472         (cproj_test_data): Likewise.
57473         (creal_test_data): Likewise.
57474         (csin_test_data): Likewise.
57475         (csinh_test_data): Likewise.
57476         (csqrt_test_data): Likewise.
57477         (ctan_test_data): Likewise.
57478         (ctan_tonearest_test_data): Likewise.
57479         (ctan_towardzero_test_data): Likewise.
57480         (ctan_downward_test_data): Likewise.
57481         (ctan_upward_test_data): Likewise.
57482         (ctanh_test_data): Likewise.
57483         (ctanh_tonearest_test_data): Likewise.
57484         (ctanh_towardzero_test_data): Likewise.
57485         (ctanh_downward_test_data): Likewise.
57486         (ctanh_upward_test_data): Likewise.
57487         (erf_test_data): Likewise.
57488         (erfc_test_data): Likewise.
57489         (exp_test_data): Likewise.
57490         (exp_tonearest_test_data): Likewise.
57491         (exp_towardzero_test_data): Likewise.
57492         (exp_downward_test_data): Likewise.
57493         (exp_upward_test_data): Likewise.
57494         (exp10_test_data): Likewise.
57495         (exp2_test_data): Likewise.
57496         (expm1_test_data): Likewise.
57497         (fabs_test_data): Likewise.
57498         (fdim_test_data): Likewise.
57499         (finite_test_data): Likewise.
57500         (floor_test_data): Likewise.
57501         (fma_test_data): Likewise.
57502         (fma_towardzero_test_data): Likewise.
57503         (fma_downward_test_data): Likewise.
57504         (fma_upward_test_data): Likewise.
57505         (fmax_test_data): Likewise.
57506         (fmin_test_data): Likewise.
57507         (fmod_test_data): Likewise.
57508         (fpclassify_test_data): Likewise.
57509         (frexp_test_data): Likewise.
57510         (gamma_test_data): Likewise.
57511         (hypot_test_data): Likewise.
57512         (ilogb_test_data): Likewise.
57513         (isfinite_test_data): Likewise.
57514         (isgreater_test_data): Likewise.
57515         (isgreaterequal_test_data): Likewise.
57516         (isinf_test_data): Likewise.
57517         (isless_test_data): Likewise.
57518         (islessequal_test_data): Likewise.
57519         (islessgreater_test_data): Likewise.
57520         (isnan_test_data): Likewise.
57521         (isnormal_test_data): Likewise.
57522         (issignaling_test_data): Likewise.
57523         (isunordered_test_data): Likewise.
57524         (j0_test_data): Likewise.
57525         (j1_test_data): Likewise.
57526         (jn_test_data): Likewise.
57527         (ldexp_test_data): Likewise.
57528         (lgamma_test_data): Likewise.
57529         (lrint_test_data): Likewise.
57530         (lrint_tonearest_test_data): Likewise.
57531         (lrint_towardzero_test_data): Likewise.
57532         (lrint_downward_test_data): Likewise.
57533         (lrint_upward_test_data): Likewise.
57534         (llrint_test_data): Likewise.
57535         (llrint_tonearest_test_data): Likewise.
57536         (llrint_towardzero_test_data): Likewise.
57537         (llrint_downward_test_data): Likewise.
57538         (llrint_upward_test_data): Likewise.
57539         (log_test_data): Likewise.
57540         (log10_test_data): Likewise.
57541         (log1p_test_data): Likewise.
57542         (log2_test_data): Likewise.
57543         (logb_test_data): Likewise.
57544         (logb_downward_test_data): Likewise.
57545         (lround_test_data): Likewise.
57546         (llround_test_data): Likewise.
57547         (modf_test_data): Likewise.
57548         (nearbyint_test_data): Likewise.
57549         (nextafter_test_data): Likewise.
57550         (nexttoward_test_data): Likewise.
57551         (pow_test_data): Likewise.
57552         (pow_tonearest_test_data): Likewise.
57553         (pow_towardzero_test_data): Likewise.
57554         (pow_downward_test_data): Likewise.
57555         (pow_upward_test_data): Likewise.
57556         (remainder_test_data): Likewise.
57557         (remainder_tonearest_test_data): Likewise.
57558         (remainder_towardzero_test_data): Likewise.
57559         (remainder_downward_test_data): Likewise.
57560         (remainder_upward_test_data): Likewise.
57561         (remquo_test_data): Likewise.
57562         (rint_test_data): Likewise.
57563         (rint_tonearest_test_data): Likewise.
57564         (rint_towardzero_test_data): Likewise.
57565         (rint_downward_test_data): Likewise.
57566         (rint_upward_test_data): Likewise.
57567         (round_test_data): Likewise.
57568         (scalb_test_data): Likewise.
57569         (scalbn_test_data): Likewise.
57570         (scalbln_test_data): Likewise.
57571         (signbit_test_data): Likewise.
57572         (sin_test_data): Likewise.
57573         (sin_tonearest_test_data): Likewise.
57574         (sin_towardzero_test_data): Likewise.
57575         (sin_downward_test_data): Likewise.
57576         (sin_upward_test_data): Likewise.
57577         (sincos_test_data): Likewise.
57578         (sinh_test_data): Likewise.
57579         (sinh_tonearest_test_data): Likewise.
57580         (sinh_towardzero_test_data): Likewise.
57581         (sinh_downward_test_data): Likewise.
57582         (sinh_upward_test_data): Likewise.
57583         (sqrt_test_data): Likewise.
57584         (tan_test_data): Likewise.
57585         (tan_tonearest_test_data): Likewise.
57586         (tan_towardzero_test_data): Likewise.
57587         (tan_downward_test_data): Likewise.
57588         (tan_upward_test_data): Likewise.
57589         (tanh_test_data): Likewise.
57590         (tgamma_test_data): Likewise.
57591         (trunc_test_data): Likewise.
57592         (y0_test_data): Likewise.
57593         (y1_test_data): Likewise.
57594         (yn_test_data): Likewise.
57595         (significand_test_data): Likewise.
57597         * math/gen-libm-test.pl (@functions): Remove variable.
57598         (generate_testfile): Don't handle START and END lines.
57599         * math/libm-test.inc (START): New macro.
57600         (END): Likewise.
57601         (END_COMPLEX): Likewise.
57602         (acos_test): Use END macro without arguments.
57603         (acos_test_tonearest): Likewise.
57604         (acos_test_towardzero): Likewise.
57605         (acos_test_downward): Likewise.
57606         (acos_test_upward): Likewise.
57607         (acosh_test): Likewise.
57608         (asin_test): Likewise.
57609         (asin_test_tonearest): Likewise.
57610         (asin_test_towardzero): Likewise.
57611         (asin_test_downward): Likewise.
57612         (asin_test_upward): Likewise.
57613         (asinh_test): Likewise.
57614         (atan_test): Likewise.
57615         (atanh_test): Likewise.
57616         (atan2_test): Likewise.
57617         (cabs_test): Likewise.
57618         (cacos_test): Use END_COMPLEX macro without arguments.
57619         (cacosh_test): Likewise.
57620         (carg_test): Use END macro without arguments.
57621         (casin_test): Use END_COMPLEX macro without arguments.
57622         (casinh_test): Likewise.
57623         (catan_test): Likewise.
57624         (catanh_test): Likewise.
57625         (cbrt_test): Use END macro without arguments.
57626         (ccos_test): Use END_COMPLEX macro without arguments.
57627         (ccosh_test): Likewise.
57628         (ceil_test): Use END macro without arguments.
57629         (cexp_test): Use END_COMPLEX macro without arguments.
57630         (cimag_test): Use END macro without arguments.
57631         (clog_test): Use END_COMPLEX macro without arguments.
57632         (clog10_test): Likewise.
57633         (conj_test): Likewise.
57634         (copysign_test): Use END macro without arguments.
57635         (cos_test): Likewise.
57636         (cos_test_tonearest): Likewise.
57637         (cos_test_towardzero): Likewise.
57638         (cos_test_downward): Likewise.
57639         (cos_test_upward): Likewise.
57640         (cosh_test): Likewise.
57641         (cosh_test_tonearest): Likewise.
57642         (cosh_test_towardzero): Likewise.
57643         (cosh_test_downward): Likewise.
57644         (cosh_test_upward): Likewise.
57645         (cpow_test): Use END_COMPLEX macro without arguments.
57646         (cproj_test): Likewise.
57647         (creal_test): Use END macro without arguments.
57648         (csin_test): Use END_COMPLEX macro without arguments.
57649         (csinh_test): Likewise.
57650         (csqrt_test): Likewise.
57651         (ctan_test): Likewise.
57652         (ctan_test_tonearest): Likewise.
57653         (ctan_test_towardzero): Likewise.
57654         (ctan_test_downward): Likewise.
57655         (ctan_test_upward): Likewise.
57656         (ctanh_test): Likewise.
57657         (ctanh_test_tonearest): Likewise.
57658         (ctanh_test_towardzero): Likewise.
57659         (ctanh_test_downward): Likewise.
57660         (ctanh_test_upward): Likewise.
57661         (erf_test): Use END macro without arguments.
57662         (erfc_test): Likewise.
57663         (exp_test): Likewise.
57664         (exp_test_tonearest): Likewise.
57665         (exp_test_towardzero): Likewise.
57666         (exp_test_downward): Likewise.
57667         (exp_test_upward): Likewise.
57668         (exp10_test): Likewise.
57669         (exp2_test): Likewise.
57670         (expm1_test): Likewise.
57671         (fabs_test): Likewise.
57672         (fdim_test): Likewise.
57673         (finite_test): Likewise.
57674         (floor_test): Likewise.
57675         (fma_test): Likewise.
57676         (fma_test_towardzero): Likewise.
57677         (fma_test_downward): Likewise.
57678         (fma_test_upward): Likewise.
57679         (fmax_test): Likewise.
57680         (fmin_test): Likewise.
57681         (fmod_test): Likewise.
57682         (fpclassify_test): Likewise.
57683         (frexp_test): Likewise.
57684         (gamma_test): Likewise.
57685         (hypot_test): Likewise.
57686         (ilogb_test): Likewise.
57687         (isfinite_test): Likewise.
57688         (isgreater_test): Likewise.
57689         (isgreaterequal_test): Likewise.
57690         (isinf_test): Likewise.
57691         (isless_test): Likewise.
57692         (islessequal_test): Likewise.
57693         (islessgreater_test): Likewise.
57694         (isnan_test): Likewise.
57695         (isnormal_test): Likewise.
57696         (issignaling_test): Likewise.
57697         (isunordered_test): Likewise.
57698         (j0_test): Likewise.
57699         (j1_test): Likewise.
57700         (jn_test): Likewise.
57701         (ldexp_test): Likewise.
57702         (lgamma_test): Likewise.
57703         (lrint_test): Likewise.
57704         (lrint_test_tonearest): Likewise.
57705         (lrint_test_towardzero): Likewise.
57706         (lrint_test_downward): Likewise.
57707         (lrint_test_upward): Likewise.
57708         (llrint_test): Likewise.
57709         (llrint_test_tonearest): Likewise.
57710         (llrint_test_towardzero): Likewise.
57711         (llrint_test_downward): Likewise.
57712         (llrint_test_upward): Likewise.
57713         (log_test): Likewise.
57714         (log10_test): Likewise.
57715         (log1p_test): Likewise.
57716         (log2_test): Likewise.
57717         (logb_test): Likewise.
57718         (logb_test_downward): Likewise.
57719         (lround_test): Likewise.
57720         (llround_test): Likewise.
57721         (modf_test): Likewise.
57722         (nearbyint_test): Likewise.
57723         (nextafter_test): Likewise.
57724         (nexttoward_test): Likewise.
57725         (pow_test): Likewise.
57726         (pow_test_tonearest): Likewise.
57727         (pow_test_towardzero): Likewise.
57728         (pow_test_downward): Likewise.
57729         (pow_test_upward): Likewise.
57730         (remainder_test): Likewise.
57731         (remainder_test_tonearest): Likewise.
57732         (remainder_test_towardzero): Likewise.
57733         (remainder_test_downward): Likewise.
57734         (remainder_test_upward): Likewise.
57735         (remquo_test): Likewise.
57736         (rint_test): Likewise.
57737         (rint_test_tonearest): Likewise.
57738         (rint_test_towardzero): Likewise.
57739         (rint_test_downward): Likewise.
57740         (rint_test_upward): Likewise.
57741         (round_test): Likewise.
57742         (scalb_test): Likewise.
57743         (scalbn_test): Likewise.
57744         (scalbln_test): Likewise.
57745         (signbit_test): Likewise.
57746         (sin_test): Likewise.
57747         (sin_test_tonearest): Likewise.
57748         (sin_test_towardzero): Likewise.
57749         (sin_test_downward): Likewise.
57750         (sin_test_upward): Likewise.
57751         (sincos_test): Likewise.
57752         (sinh_test): Likewise.
57753         (sinh_test_tonearest): Likewise.
57754         (sinh_test_towardzero): Likewise.
57755         (sinh_test_downward): Likewise.
57756         (sinh_test_upward): Likewise.
57757         (sqrt_test): Likewise.
57758         (tan_test): Likewise.
57759         (tan_test_tonearest): Likewise.
57760         (tan_test_towardzero): Likewise.
57761         (tan_test_downward): Likewise.
57762         (tan_test_upward): Likewise.
57763         (tanh_test): Likewise.
57764         (tgamma_test): Likewise.
57765         (trunc_test): Likewise.
57766         (y0_test): Likewise.
57767         (y1_test): Likewise.
57768         (yn_test): Likewise.
57769         (significand_test): Likewise.
57771 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57773         [BZ #15381]
57774         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57776 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57778         [BZ #14894]
57779         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57780         __ppc_mdoio and __ppc_mdoom.
57781         * manual/platform.texi: Document new functions __ppc_yield,
57782         __ppc_mdoio and __ppc_mdoom.
57784 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57786         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57787         (main): Mention "tls" pseudo-hwcap is legacy.
57788         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57790 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57792         * math/gen-libm-test.pl (parse_args): Output only string of
57793         arguments as text for test name, not full call or descriptions of
57794         tests for extra outputs.
57795         (generate_testfile): Do not pass function name to parse_args.
57796         Generate this_func variable from START.
57797         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57798         field to arg_str.
57799         (struct test_ff_f_data): Likewise.
57800         (test_ff_f_data_nexttoward): Likewise.
57801         (struct test_fi_f_data): Likewise.
57802         (struct test_fl_f_data): Likewise.
57803         (struct test_if_f_data): Likewise.
57804         (struct test_fff_f_data): Likewise.
57805         (struct test_c_f_data): Likewise.
57806         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57807         (struct test_fF_f1_data): Likewise.
57808         (struct test_ffI_f1_data): Likewise.
57809         (struct test_c_c_data): Rename test_name field to arg_str.
57810         (struct test_cc_c_data): Likewise.
57811         (struct test_f_i_data): Likewise.
57812         (struct test_ff_i_data): Likewise.
57813         (struct test_f_l_data): Likewise.
57814         (struct test_f_L_data): Likewise.
57815         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57816         and extra2_name.
57817         (COMMON_TEST_SETUP): New macro.
57818         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57819         (COMMON_TEST_CLEANUP): Likewise.
57820         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57821         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57822         macros.
57823         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57824         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57825         macros.
57826         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57827         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57828         cleanup macros.
57829         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57830         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57831         macros.
57832         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57833         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57834         macros.
57835         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57836         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57837         cleanup macros.
57838         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57839         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57840         cleanup macros.
57841         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57842         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57843         cleanup macros.
57844         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57845         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57846         macros.
57847         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57848         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57849         macros.
57850         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57851         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57852         macros.
57853         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57854         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57855         cleanup macros.
57856         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57857         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57858         cleanup macros.
57859         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57860         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57861         macros.
57862         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57863         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57864         cleanup macros.
57865         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57866         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57867         macros.
57868         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57869         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57870         macros.
57871         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57872         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57873         cleanup macros.
57874         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57876 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57878         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57879         to _sifields.sigfault.
57880         (si_addr_lsb): Define new macro.
57881         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57882         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57883         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57885 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57887         [BZ #15441]
57888         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57889         returns -1.
57890         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57891         null return -1.
57892         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57893         loading the domain.
57895 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57897         * math/gen-libm-test.pl (parse_args): Do not include expected
57898         result in test name.
57899         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57900         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57901         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57902         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57903         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57906 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57908         * benchtests/Makefile: Sort function entries.
57910         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57911         tanh, asinh, acosh, atanh.
57912         * benchtests/acos-inputs: New file.
57913         * benchtests/acosh-inputs: New file.
57914         * benchtests/asin-inputs: New file.
57915         * benchtests/asinh-inputs: New file.
57916         * benchtests/atanh-inputs: New file.
57917         * benchtests/cosh-inputs: New file.
57918         * benchtests/log-inputs: New file.
57919         * benchtests/sinh-inputs: New file.
57920         * benchtests/tanh-inputs: New file.
57922 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57924         [BZ #15339]
57925         * posix/tst-getaddrinfo4.c: New test.
57926         * posix/Makefile (tests): Add it.
57928 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57930         [BZ #15339]
57931         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57932         when no services were used.
57933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57934         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57936 2013-05-21  Andreas Schwab  <schwab@suse.de>
57938         [BZ #15014]
57939         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57940         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57941         successful.
57942         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57943         redundant variable declarations and reallocation of buffer when
57944         parsing as IPv6 address.  Always set NSS status when called from
57945         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57946         buffer too small.  Correct computation of needed size.
57947         * nss/Makefile (tests): Add test-digits-dots.
57948         * nss/test-digits-dots.c: New test.
57950 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57952         * benchtests/Makefile: Remove instructions for adding
57953         benchmark tests.
57954         * benchtests/README: New file to explain how to execute and
57955         enhance the benchmark tests.
57957 2013-05-21  Andreas Schwab  <schwab@suse.de>
57959         [BZ #15493]
57960         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57961         * setjmp/tst-sigsetjmp.c: New test.
57963 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57965         * sysdeps/x86_64/memset.S (memset): New implementation.
57966         (__bzero): Likewise.
57967         (__memset_tail): New function.
57969 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57971         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57972         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57973         __memcpy_sse2_unaligned ifunc selection.
57974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57975         Add memcpy-sse2-unaligned.S.
57976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57977         Add: __memcpy_sse2_unaligned.
57979 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57981         [BZ #15490]
57982         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57983         math_force_eval before restoring floating-point envrionment.
57984         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57985         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57986         Likewise.
57987         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57988         <math_private.h>.
57989         (__nearbyintl): Use math_force_eval before restoring
57990         floating-point environment.
57991         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57993         * math/gen-libm-test.pl (special_functions): Remove.
57994         (parse_args): Don't handle TEST_extra.  Handle functions with no
57995         return value.
57996         * math/libm-test.inc (struct test_sincos_data): Replace with
57997         struct test_fFF_11_data.
57998         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57999         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58000         (sincos_test_data): Change element type to struct
58001         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58002         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58003         RUN_TEST_LOOP_sincos.
58004         * math/README.libm-test: Don't mention special handling of
58005         individual functions.
58006         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58007         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58008         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58009         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58010         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58013         * math/gen-libm-test.pl (get_variable): Remove function.
58014         (parse_args): Don't show pointer parameters to call in test
58015         names.  Use "extra output N" in test names for extra outputs
58016         rather than naming variables.
58018 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58020         [BZ #15488]
58021         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58022         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58023         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58024         double tests.
58025         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58026         disable.
58027         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58028         check_long_double.
58030         * math/gen-libm-test.pl (@tests): Remove variable.
58031         ($count): Likewise.
58032         (new_test): Remove function.
58033         (show_exceptions): New function.
58034         (special_functions): Use show_exceptions instead of new_test.
58035         (parse_args): Likewise.
58036         (generate_testfile): Pass only function name in generated call to
58037         print_max_error or print_complex_max_error.
58038         (get_ulps): Do not handle complex tests specially.
58039         (output_test): Rename to ...
58040         (get_all_ulps_for_test): ... this.  Return a string rather than
58041         printing to a file.  Require ulps to be present.
58042         (output_ulps): Generate arrays rather than #defines.
58043         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58044         (struct ulp_data): New type.
58045         (BUILD_COMPLEX_ULP): Remove macro.
58046         (compare_ulp_data): New function.
58047         (find_ulps): Likewise.
58048         (find_test_ulps): Likewise.
58049         (find_function_ulps): Likewise.
58050         (find_complex_function_ulps): Likewise.
58051         (print_max_error): Determine allowed ulps using
58052         find_function_ulps.
58053         (print_complex_max_error): Determine allowed ulps using
58054         find_complex_function_ulps.
58055         (check_float_internal): Determine max ulps using find_test_ulps.
58056         (check_float): Do not take max_ulp parameter.  Update call to
58057         check_float_internal.
58058         (check_complex): Likewise.
58059         (check_int): Do not take max_ulp parameter.
58060         (check_long): Likewise.
58061         (check_bool): Likewise.
58062         (check_longlong): Likewise.
58063         (struct test_f_f_data): Remove max_ulp field.
58064         (struct test_ff_f_data): Likewise.
58065         (struct test_ff_f_data_nexttoward): Likewise.
58066         (struct test_fi_f_data): Likewise.
58067         (struct test_fl_f_data): Likewise.
58068         (struct test_if_f_data): Likewise.
58069         (struct test_fff_f_data): Likewise.
58070         (struct test_c_f_data): Likewise.
58071         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58072         (struct test_fF_f1_data): Likewise.
58073         (struct test_ffI_f1_data): Likewise.
58074         (struct test_c_c_data): Remove max_ulp field.
58075         (struct test_cc_c_data): Likewise.
58076         (struct test_f_i_data): Likewise.
58077         (struct test_ff_i_data): Likewise.
58078         (struct test_f_l_data): Likewise.
58079         (struct test_f_L_data): Likewise.
58080         (struct test_sincos_data): Likewise.
58081         (RUN_TEST_f_f): Do not handle ulps.
58082         (RUN_TEST_LOOP_f_f): Likewise.
58083         (RUN_TEST_2_f): Likewise.
58084         (RUN_TEST_LOOP_2_f): Likewise.
58085         (RUN_TEST_fff_f): Likewise.
58086         (RUN_TEST_LOOP_fff_f): Likewise.
58087         (RUN_TEST_c_f): Likewise.
58088         (RUN_TEST_LOOP_c_f): Likewise.
58089         (RUN_TEST_f_f1): Likewise.
58090         (RUN_TEST_LOOP_f_f1): Likewise.
58091         (RUN_TEST_fF_f1): Likewise.
58092         (RUN_TEST_LOOP_fF_f1): Likewise.
58093         (RUN_TEST_fI_f1): Likewise.
58094         (RUN_TEST_LOOP_fI_f1): Likewise.
58095         (RUN_TEST_ffI_f1): Likewise.
58096         (RUN_TEST_LOOP_ffI_f1): Likewise.
58097         (RUN_TEST_c_c): Likewise.
58098         (RUN_TEST_LOOP_c_c): Likewise.
58099         (RUN_TEST_cc_c): Likewise.
58100         (RUN_TEST_LOOP_cc_c): Likewise.
58101         (RUN_TEST_f_i): Likewise.
58102         (RUN_TEST_LOOP_f_i): Likewise.
58103         (RUN_TEST_f_i_tg): Likewise.
58104         (RUN_TEST_LOOP_f_i_tg): Likewise.
58105         (RUN_TEST_ff_i_tg): Likewise.
58106         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58107         (RUN_TEST_f_b): Likewise.
58108         (RUN_TEST_LOOP_f_b): Likewise.
58109         (RUN_TEST_f_b_tg): Likewise.
58110         (RUN_TEST_LOOP_f_b_tg): Likewise.
58111         (RUN_TEST_f_l): Likewise.
58112         (RUN_TEST_LOOP_f_l): Likewise.
58113         (RUN_TEST_f_L): Likewise.
58114         (RUN_TEST_LOOP_f_L): Likewise.
58115         (RUN_TEST_sincos): Likewise.
58116         (RUN_TEST_LOOP_sincos): Likewise.
58118 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58120         [BZ #15480]
58121         [BZ #15485]
58122         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58123         main case of finite arguments, set rounding mode to FE_TONEAREST
58124         and discard exceptions.
58125         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58126         exceptions.
58127         (remainder_tonearest_test_data): New variable.
58128         (remainder_test_tonearest): New function.
58129         (remainder_towardzero_test_data): New variable.
58130         (remainder_test_towardzero): New function.
58131         (remainder_downward_test_data): New variable.
58132         (remainder_test_downward): New function.
58133         (remainder_upward_test_data): New variable.
58134         (remainder_test_upward): New function.
58135         (main): Call the new test functions.
58137         * math/libm-test.inc (struct test_f_f1_data): Remove field
58138         extra_init.
58139         (struct test_fF_f1_data): Likewise.
58140         (struct test_ffI_f1_data): Likewise.
58141         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58142         based on value of EXTRA_EXPECTED.
58143         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58144         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58145         EXTRA_VAR based on value of EXTRA_EXPECTED.
58146         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58147         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58148         EXTRA_VAR based on value of EXTRA_EXPECTED.
58149         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58150         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58151         EXTRA_VAR based on value of EXTRA_EXPECTED.
58152         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58153         * math/gen-libm-test.pl (parse_args): Don't output initializers
58154         for extra output values.
58156         * math/libm-test.inc (check_int): Expect result to be exactly
58157         equal to expected value and do not handle ulps.
58158         (check_long): Likewise.
58159         (check_longlong): Likewise.
58161         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58162         exceptions.
58163         (cimag_test_data): Likewise.
58164         (conj_test_data): Likewise.
58165         (copysign_test_data): Likewise.
58166         (cproj_test_data): Likewise.
58167         (creal_test_data): Likewise.
58168         (fabs_test_data): Likewise.
58169         (fdim_test_data): Likewise.
58170         (finite_test_data): Likewise.
58171         (floor_test_data): Likewise.
58172         (fmax_test_data): Likewise.
58173         (fmin_test_data): Likewise.
58174         (fmod_test_data): Likewise.
58175         (fpclassify_test_data): Likewise.
58176         (frexp_test_data): Likewise.
58177         (ilogb_test_data): Likewise.
58178         (isfinite_test_data): Likewise.
58179         (isgreater_test_data): Likewise.
58180         (isgreaterequal_test_data): Likewise.
58181         (isinf_test_data): Likewise.
58182         (isless_test_data): Likewise.
58183         (islessequal_test_data): Likewise.
58184         (islessgreater_test_data): Likewise.
58185         (isnan_test_data): Likewise.
58186         (isnormal_test_data): Likewise.
58187         (issignaling_test_data): Likewise.
58188         (isunordered_test_data): Likewise.
58189         (ldexp_test_data): Likewise.
58190         (lrint_test_data): Likewise.
58191         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58192         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58193         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58194         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58195         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58196         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58197         test input.
58198         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58199         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58200         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58201         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58202         that test input.
58203         (lrint_downward_test_data): Test for "inexact" exceptions.
58204         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58205         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58206         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58207         test input.
58208         (lrint_upward_test_data): Test for "inexact" exceptions.
58209         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58210         test input.
58211         (llrint_test_data): Test for "inexact" exceptions.
58212         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58213         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58214         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58215         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58216         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58217         (llrint_downward_test_data): Test for "inexact" exceptions.
58218         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58219         (llrint_upward_test_data): Test for "inexact" exceptions.
58220         (logb_test_data): Likewise.
58221         (logb_downward_test_data): Likewise.
58222         (nextafter_test_data): Likewise.
58223         (nexttoward_test_data): Likewise.
58224         (remainder_test_data): Likewise.
58225         (remquo_test_data): Likewise.
58226         (scalbn_test_data): Likewise.
58227         (scalbln_test_data): Likewise.
58228         (signbit_test_data): Likewise.
58229         (sqrt_test_data): Likewise.
58230         (significand_test_data): Likewise.
58232 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58234         [BZ #15424]
58235         * benchtests/bench-modf.c (struct args): Mark arg0 as
58236         volatile.
58237         * scripts/bench.pl: Mark members of struct args as volatile.
58239 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58241         [BZ # 15497]
58242         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58243         negative infinity on POWER6 or lower.
58244         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58246 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58248         [BZ #15442]
58249         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58250         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58251         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58252         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58253         (_FP_SETQNAN): New macro.
58254         (_FP_SETQNAN_SEMIRAW): Likewise.
58255         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58256         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58257         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58258         (FP_EXTEND): Use _FP_FRAC_SNANP.
58259         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58260         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58261         into account.
58262         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58263         New macro.
58264         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58265         Likewise.
58267 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58269         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58270         with DIVIDE_BY_ZERO_EXCEPTION.
58271         (gamma_test_data): Likewise.
58272         (lgamma_test_data): Likewise.
58273         (log_test_data): Likewise.
58274         (log10_test_data): Likewise.
58275         (log2_test_data): Likewise.
58276         (tgamma_test_data): Likewise.
58278         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58279         (acos_test_tonearest): Likewise.
58280         (acos_test_towardzero): Likewise.
58281         (acos_test_downward): Likewise.
58282         (acos_test_upward): Likewise.
58283         (acosh_test): Likewise.
58284         (asin_test): Likewise.
58285         (asin_test_tonearest): Likewise.
58286         (asin_test_towardzero): Likewise.
58287         (asin_test_downward): Likewise.
58288         (asin_test_upward): Likewise.
58289         (asinh_test): Likewise.
58290         (atan_test): Likewise.
58291         (atanh_test): Likewise.
58292         (atan2_test): Likewise.
58293         (cabs_test): Likewise.
58294         (cacos_test): Likewise.
58295         (cacosh_test): Likewise.
58296         (casin_test): Likewise.
58297         (casinh_test): Likewise.
58298         (catan_test): Likewise.
58299         (catanh_test): Likewise.
58300         (cbrt_test): Likewise.
58301         (ccos_test): Likewise.
58302         (ccosh_test): Likewise.
58303         (cexp_test): Likewise.
58304         (clog_test): Likewise.
58305         (clog10_test): Likewise.
58306         (cos_test): Likewise.
58307         (cos_test_tonearest): Likewise.
58308         (cos_test_towardzero): Likewise.
58309         (cos_test_downward): Likewise.
58310         (cos_test_upward): Likewise.
58311         (cosh_test): Likewise.
58312         (cosh_test_tonearest): Likewise.
58313         (cosh_test_towardzero): Likewise.
58314         (cosh_test_downward): Likewise.
58315         (cosh_test_upward): Likewise.
58316         (cpow_test): Likewise.
58317         (csin_test): Likewise.
58318         (csinh_test): Likewise.
58319         (csqrt_test): Likewise.
58320         (ctan_test): Likewise.
58321         (ctan_test_tonearest): Likewise.
58322         (ctan_test_towardzero): Likewise.
58323         (ctan_test_downward): Likewise.
58324         (ctan_test_upward): Likewise.
58325         (ctanh_test): Likewise.
58326         (ctanh_test_tonearest): Likewise.
58327         (ctanh_test_towardzero): Likewise.
58328         (ctanh_test_downward): Likewise.
58329         (ctanh_test_upward): Likewise.
58330         (erf_test): Likewise.
58331         (erfc_test): Likewise.
58332         (exp_test): Likewise.
58333         (exp_test_tonearest): Likewise.
58334         (exp_test_towardzero): Likewise.
58335         (exp_test_downward): Likewise.
58336         (exp_test_upward): Likewise.
58337         (exp10_test): Likewise.
58338         (exp2_test): Likewise.
58339         (expm1_test): Likewise.
58340         (fmod_test): Likewise.
58341         (gamma_test): Likewise.
58342         (hypot_test): Likewise.
58343         (j0_test): Likewise.
58344         (j1_test): Likewise.
58345         (jn_test): Likewise.
58346         (lgamma_test): Likewise.
58347         (log_test): Likewise.
58348         (log10_test): Likewise.
58349         (log1p_test): Likewise.
58350         (log2_test): Likewise.
58351         (logb_test_downward): Likewise.
58352         (pow_test): Likewise.
58353         (pow_test_tonearest): Likewise.
58354         (pow_test_towardzero): Likewise.
58355         (pow_test_downward): Likewise.
58356         (pow_test_upward): Likewise.
58357         (remainder_test): Likewise.
58358         (remquo_test): Likewise.
58359         (sin_test): Likewise.
58360         (sin_test_tonearest): Likewise.
58361         (sin_test_towardzero): Likewise.
58362         (sin_test_downward): Likewise.
58363         (sin_test_upward): Likewise.
58364         (sincos_test): Likewise.
58365         (sinh_test): Likewise.
58366         (sinh_test_tonearest): Likewise.
58367         (sinh_test_towardzero): Likewise.
58368         (sinh_test_downward): Likewise.
58369         (sinh_test_upward): Likewise.
58370         (sqrt_test): Likewise.
58371         (tan_test): Likewise.
58372         (tan_test_tonearest): Likewise.
58373         (tan_test_towardzero): Likewise.
58374         (tan_test_downward): Likewise.
58375         (tan_test_upward): Likewise.
58376         (tanh_test): Likewise.
58377         (tgamma_test): Likewise.
58378         (y0_test): Likewise.
58379         (y1_test): Likewise.
58380         (yn_test): Likewise.
58382         * math/gen-libm-test.pl (adjust_arg): Remove function.
58383         (special_function): Remove argument $in_func.  Only handle
58384         generating output for tables of tests, not inside functions.
58385         (parse_args): Likewise.
58386         (generate_testfile): Remove variable $in_func.  Update call to
58387         parse_args.
58388         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58389         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58390         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58391         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58392         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58393         (MAX_VALUE_INIT): Rename macro to max_value.
58394         (MIN_VALUE_INIT): Rename macro to min_value.
58395         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58396         (plus_zero): Remove variable.
58397         (minus_zero): Likewise.
58398         (plus_infty): Likewise.
58399         (minus_infty): Likewise.
58400         (qnan_value): Likewise.
58401         (max_value): Likewise.
58402         (min_value): Likewise.
58403         (min_subnorm_value): Likewise.
58405 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58407         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58408         uint64_t or uint32_t usage.
58409         * crypt/sha256-block.c: Likewise.
58410         * crypt/sha256-crypt.c: Likewise.
58411         * crypt/sha256.c: Likewise.
58412         * crypt/sha512-block.c: Likewise.
58413         * crypt/sha512-crypt.c: Likewise.
58414         * crypt/sha512.c: Likewise.
58415         * debug/backtrace-tst.c: Likewise.
58416         * debug/pcprofiledump.c: Likewise.
58417         * elf/cache.c: Likewise.
58418         * elf/dl-cache.c: Likewise.
58419         * elf/dl-misc.c: Likewise.
58420         * elf/dl-profile.c: Likewise.
58421         * elf/dl-support.c: Likewise.
58422         * elf/ldconfig.c: Likewise.
58423         * elf/sprof.c: Likewise.
58424         * iconv/dummy-repertoire.c: Likewise.
58425         * iconv/iconv_charmap.c: Likewise.
58426         * iconv/skeleton.c: Likewise.
58427         * iconvdata/8bit-generic.c: Likewise.
58428         * iconvdata/cp737.h: Likewise.
58429         * iconvdata/cp775.h: Likewise.
58430         * iconvdata/ibm1008.h: Likewise.
58431         * iconvdata/ibm1025.h: Likewise.
58432         * iconvdata/ibm1046.h: Likewise.
58433         * iconvdata/ibm1097.h: Likewise.
58434         * iconvdata/ibm1112.h: Likewise.
58435         * iconvdata/ibm1122.h: Likewise.
58436         * iconvdata/ibm1123.h: Likewise.
58437         * iconvdata/ibm1124.h: Likewise.
58438         * iconvdata/ibm1129.h: Likewise.
58439         * iconvdata/ibm1130.h: Likewise.
58440         * iconvdata/ibm1132.h: Likewise.
58441         * iconvdata/ibm1133.h: Likewise.
58442         * iconvdata/ibm1137.h: Likewise.
58443         * iconvdata/ibm1140.h: Likewise.
58444         * iconvdata/ibm1141.h: Likewise.
58445         * iconvdata/ibm1142.h: Likewise.
58446         * iconvdata/ibm1143.h: Likewise.
58447         * iconvdata/ibm1144.h: Likewise.
58448         * iconvdata/ibm1145.h: Likewise.
58449         * iconvdata/ibm1146.h: Likewise.
58450         * iconvdata/ibm1147.h: Likewise.
58451         * iconvdata/ibm1148.h: Likewise.
58452         * iconvdata/ibm1149.h: Likewise.
58453         * iconvdata/ibm1153.h: Likewise.
58454         * iconvdata/ibm1154.h: Likewise.
58455         * iconvdata/ibm1155.h: Likewise.
58456         * iconvdata/ibm1156.h: Likewise.
58457         * iconvdata/ibm1157.h: Likewise.
58458         * iconvdata/ibm1158.h: Likewise.
58459         * iconvdata/ibm1160.h: Likewise.
58460         * iconvdata/ibm1161.h: Likewise.
58461         * iconvdata/ibm1162.h: Likewise.
58462         * iconvdata/ibm1163.h: Likewise.
58463         * iconvdata/ibm1164.h: Likewise.
58464         * iconvdata/ibm1166.h: Likewise.
58465         * iconvdata/ibm1167.h: Likewise.
58466         * iconvdata/ibm12712.h: Likewise.
58467         * iconvdata/ibm1390.h: Likewise.
58468         * iconvdata/ibm1399.h: Likewise.
58469         * iconvdata/ibm16804.h: Likewise.
58470         * iconvdata/ibm4517.h: Likewise.
58471         * iconvdata/ibm4899.h: Likewise.
58472         * iconvdata/ibm4909.h: Likewise.
58473         * iconvdata/ibm4971.h: Likewise.
58474         * iconvdata/ibm5347.h: Likewise.
58475         * iconvdata/ibm803.h: Likewise.
58476         * iconvdata/ibm856.h: Likewise.
58477         * iconvdata/ibm901.h: Likewise.
58478         * iconvdata/ibm902.h: Likewise.
58479         * iconvdata/ibm9030.h: Likewise.
58480         * iconvdata/ibm9066.h: Likewise.
58481         * iconvdata/ibm921.h: Likewise.
58482         * iconvdata/ibm922.h: Likewise.
58483         * iconvdata/ibm9448.h: Likewise.
58484         * iconvdata/isiri-3342.h: Likewise.
58485         * iconvdata/jis0201.h: Likewise.
58486         * include/link.h: Likewise.
58487         * include/netdb.h: Likewise.
58488         * inet/check_native.c: Likewise.
58489         * inet/check_pf.c: Likewise.
58490         * inet/getipv4sourcefilter.c: Likewise.
58491         * inet/getnameinfo.c: Likewise.
58492         * inet/getsourcefilter.c: Likewise.
58493         * inet/htonl.c: Likewise.
58494         * inet/setipv4sourcefilter.c: Likewise.
58495         * inet/setsourcefilter.c: Likewise.
58496         * inet/test-inet6_opt.c: Likewise.
58497         * inet/tst-network.c: Likewise.
58498         * locale/C-collate.c: Likewise.
58499         * locale/C-ctype.c: Likewise.
58500         * locale/C-time.c: Likewise.
58501         * locale/C-translit.h: Likewise.
58502         * locale/loadarchive.c: Likewise.
58503         * locale/programs/3level.h: Likewise.
58504         * locale/programs/charmap.c: Likewise.
58505         * locale/programs/charmap.h: Likewise.
58506         * locale/programs/ld-address.c: Likewise.
58507         * locale/programs/ld-collate.c: Likewise.
58508         * locale/programs/ld-ctype.c: Likewise.
58509         * locale/programs/ld-identification.c: Likewise.
58510         * locale/programs/ld-measurement.c: Likewise.
58511         * locale/programs/ld-messages.c: Likewise.
58512         * locale/programs/ld-monetary.c: Likewise.
58513         * locale/programs/ld-name.c: Likewise.
58514         * locale/programs/ld-numeric.c: Likewise.
58515         * locale/programs/ld-paper.c: Likewise.
58516         * locale/programs/ld-telephone.c: Likewise.
58517         * locale/programs/ld-time.c: Likewise.
58518         * locale/programs/linereader.c: Likewise.
58519         * locale/programs/locale.c: Likewise.
58520         * locale/programs/locarchive.c: Likewise.
58521         * locale/programs/locfile.h: Likewise.
58522         * locale/programs/repertoire.c: Likewise.
58523         * locale/programs/simple-hash.c: Likewise.
58524         * locale/programs/simple-hash.h: Likewise.
58525         * malloc/memusage.c: Likewise.
58526         * malloc/memusagestat.c: Likewise.
58527         * nis/nis_defaults.c: Likewise.
58528         * nis/nis_hash.c: Likewise.
58529         * nis/nis_print.c: Likewise.
58530         * nis/nis_xdr.c: Likewise.
58531         * nscd/connections.c: Likewise.
58532         * nscd/hstcache.c: Likewise.
58533         * nscd/nscd_gethst_r.c: Likewise.
58534         * nscd/nscd_getserv_r.c: Likewise.
58535         * nscd/nscd_helper.c: Likewise.
58536         * nscd/servicescache.c: Likewise.
58537         * nss/makedb.c: Likewise.
58538         * nss/nss_db/db-XXX.c: Likewise.
58539         * nss/nss_db/db-initgroups.c: Likewise.
58540         * nss/nss_db/db-netgrp.c: Likewise.
58541         * nss/nss_files/files-network.c: Likewise.
58542         * nss/nss_files/files-parse.c: Likewise.
58543         * posix/bug-regex5.c: Likewise.
58544         * posix/fnmatch_loop.c: Likewise.
58545         * posix/regcomp.c: Likewise.
58546         * posix/regexec.c: Likewise.
58547         * posix/tst-rfc3484-2.c: Likewise.
58548         * posix/tst-rfc3484-3.c: Likewise.
58549         * posix/tst-rfc3484.c: Likewise.
58550         * resolv/nss_dns/dns-canon.c: Likewise.
58551         * resolv/nss_dns/dns-network.c: Likewise.
58552         * resolv/res_init.c: Likewise.
58553         * resolv/res_mkquery.c: Likewise.
58554         * resolv/tst-aton.c: Likewise.
58555         * stdlib/cxa_atexit.c: Likewise.
58556         * stdlib/cxa_finalize.c: Likewise.
58557         * stdlib/gen-fpioconst.c: Likewise.
58558         * stdlib/strtol_l.c: Likewise.
58559         * string/tst-endian.c: Likewise.
58560         * sunrpc/auth_des.c: Likewise.
58561         * sunrpc/clnt_udp.c: Likewise.
58562         * sunrpc/rtime.c: Likewise.
58563         * sunrpc/svcauth_des.c: Likewise.
58564         * sunrpc/xdr.c: Likewise.
58565         * sunrpc/xdr_intXX_t.c: Likewise.
58566         * sunrpc/xdr_rec.c: Likewise.
58567         * sysdeps/generic/ldconfig.h: Likewise.
58568         * sysdeps/generic/ldsodefs.h: Likewise.
58569         * sysdeps/generic/memusage.h: Likewise.
58570         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58571         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58572         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58574         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58575         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58576         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58577         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58578         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58580         * sysdeps/posix/getaddrinfo.c: Likewise.
58581         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58582         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58583         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58584         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58585         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58586         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58587         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58588         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58589         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58590         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58591         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58592         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58593         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58594         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58595         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58596         * sysdeps/x86_64/dl-tls.h: Likewise.
58597         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58598         * time/alt_digit.c: Likewise.
58599         * time/era.c: Likewise.
58600         * wcsmbs/tst-c16c32-1.c: Likewise.
58602 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58604         * math/libm-test.inc (struct test_sincos_data): New type.
58605         (RUN_TEST_LOOP_sincos): New macro.
58606         (sincos_test_data): New variable.
58607         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58609 2013-05-16  Richard Henderson  <rth@redhat.com>
58611         * math/atest-exp2.c (LIMB64): New macro.
58612         (CONSTSZ): New macro.
58613         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58614         (hexdig): Move ...
58615         (print_mpn_fp): ... to function scope.
58616         (read_mpn_hex): Remove.
58617         (get_log2): Remove.
58618         (exp2_mpn): Use mp_log2.
58619         (main): Use mp_exp1.
58621 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58623         * math/libm-test.inc: Remove comment about not testing "inexact"
58624         exceptions.
58625         (INEXACT_EXCEPTION): New macro.
58626         (NO_INEXACT_EXCEPTION): Likewise.
58627         (INVALID_EXCEPTION_OK): Update value.
58628         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58629         (OVERFLOW_EXCEPTION_OK): Likewise.
58630         (UNDERFLOW_EXCEPTION_OK): Likewise.
58631         (IGNORE_ZERO_INF_SIGN): Likewise.
58632         (ERRNO_UNCHANGED): Likewise.
58633         (ERRNO_EDOM): Likewise.
58634         (ERRNO_ERANGE): Likewise.
58635         (test_exceptions): Handle testing "inexact" exceptions.
58636         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58637         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58638         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58639         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58640         INEXACT_EXCEPTION.
58641         (rint_towardzero_test_data): Likewise.
58642         (rint_downward_test_data): Likewise.
58643         (rint_upward_test_data): Likewise.
58645         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58646         with OVERFLOW_EXCEPTION.
58647         (exp10_test_data): Likewise.
58648         (exp2_test_data): Likewise.
58649         (expm1_test_data): Likewise.
58650         (lgamma_test_data): Likewise.
58651         (pow_test_data): Likewise.
58652         (tgamma_test_data): Likewise.
58653         (yn_test_data): Remove duplicate test of overflow.
58655         * math/libm-test.inc (struct test_cc_c_data): New type.
58656         (RUN_TEST_LOOP_cc_c): New macro.
58657         (cpow_test_data): New variable.
58658         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58660         * math/libm-test.inc (struct test_f_L_data): New type.
58661         (RUN_TEST_LOOP_f_L): New macro.
58662         (llrint_test_data): New variable.
58663         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58664         (llrint_tonearest_test_data): New variable.
58665         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58666         (llrint_towardzero_test_data): New variable.
58667         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58668         (llrint_downward_test_data): New variable.
58669         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58670         (llrint_upward_test_data): New variable.
58671         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58672         (llround_test_data): New variable.
58673         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58675 2013-05-13  Peter Collingbourne  <pcc@google.com>
58677         * math/atest-exp2.c (get_log2): Remove const attribute.
58679 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58681         * math/libm-test.inc (struct test_f_l_data): New type.
58682         (RUN_TEST_LOOP_f_l): New macro.
58683         (lrint_test_data): New variable.
58684         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58685         (lrint_tonearest_test_data): New variable.
58686         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58687         (lrint_towardzero_test_data): New variable.
58688         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58689         (lrint_downward_test_data): New variable.
58690         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58691         (lrint_upward_test_data): New variable.
58692         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58693         (lround_test_data): New variable.
58694         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58696 2013-05-15  Peter Collingbourne  <pcc@google.com>
58698         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58699         (EXTRACT_WORDS64) Use where appropriate.
58700         (INSERT_WORDS64) Likewise.
58702         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58703         constraints with x constraints.
58704         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58706         * malloc/obstack.c (_obstack_compat): Add initializer.
58708 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58710         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58711         si_trapno and add si_addr_lsb to _sifields.sigfault.
58712         (si_trapno): Remove macro.
58713         (si_addr_lsb): Define new macro.
58714         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58716 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58718         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58719         instead of TEST_f_l.
58720         (llrint_test_tonearest): Likewise.
58721         (llrint_test_towardzero): Likewise.
58722         (llrint_test_downward): Likewise.
58723         (llrint_test_upward): Likewise.
58724         (llround_test): Likewise.
58726         * math/libm-test.inc (struct test_f_i_data): Add comment.
58727         (RUN_TEST_LOOP_f_b): New macro.
58728         (RUN_TEST_LOOP_f_b_tg): Likewise.
58729         (finite_test_data): New variable.
58730         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58731         (isfinite_test_data): New variable.
58732         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58733         (isinf_test_data): New variable.
58734         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58735         (isnan_test_data): New variable.
58736         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58737         (isnormal_test_data): New variable.
58738         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58739         (issignaling_test_data): New variable.
58740         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58741         (signbit_test_data): New variable.
58742         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58744         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58745         with INVALID_EXCEPTION.
58746         (acosh_test_data): Likewise.
58747         (asin_test_data): Likewise.
58748         (atanh_test_data): Likewise.
58749         (fmod_test_data): Likewise.
58750         (log_test_data): Likewise.
58751         (log10_test_data): Likewise.
58752         (log2_test_data): Likewise.
58753         (pow_test_data): Likewise.
58754         (sqrt_test_data): Likewise.
58755         (y0_test_data): Likewise.
58756         (y1_test_data): Likewise.
58757         (yn_test_data): Likewise.
58759         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58760         function contents.
58762         * math/libm-test.inc (struct test_ff_i_data): New type.
58763         (RUN_TEST_LOOP_ff_i_tg): New macro.
58764         (isgreater_test_data): New variable.
58765         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58766         (isgreaterequal_test_data): New variable.
58767         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58768         (isless_test_data): New variable.
58769         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58770         (islessequal_test_data): New variable.
58771         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58772         (islessgreater_test_data): New variable.
58773         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58774         (isunordered_test_data): New variable.
58775         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58777 2013-05-14  David S. Miller  <davem@davemloft.net>
58779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58781 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58783         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58785         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58786         extra_test to int.
58787         (struct test_f_i_data): Change type of max_ulp to int.
58789         * math/libm-test.inc (test_ffI_f1_data): New type.
58790         (RUN_TEST_LOOP_ffI_f1): New macro.
58791         (remquo_test_data): New variable.
58792         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58794         * setjmp/tst-setjmp-fp.c: New file.
58795         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58796         (link-libm): New variable.
58797         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58799         * math/libm-test.inc (struct test_f_i_data): New type.
58800         (RUN_TEST_LOOP_f_i): New macro.
58801         (RUN_TEST_LOOP_f_i_tg): Likewise.
58802         (fpclassify_test_data): New variable.
58803         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58804         (ilogb_test_data): New variable.
58805         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58807         * math/libm-test.inc (scalbln_test): Correct function name in END
58808         call.
58810         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58811         (RUN_TEST_LOOP_fI_f1): New macro.
58812         (frexp_test_data): New variable.
58813         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58815         * math/libm-test.inc (struct test_fF_f1_data): New type.
58816         (RUN_TEST_LOOP_fF_f1): New macro.
58817         (modf_test_data): New variable.
58818         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58820         * math/libm-test.inc (struct test_f_f1_data): New type.
58821         (RUN_TEST_LOOP_f_f1): New macro.
58822         (gamma_test_data): New variable.
58823         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58824         (lgamma_test_data): New variable.
58825         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58827 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58829         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58830         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58831         (main): Comment "tls" pseudo-hwcap.
58833 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58835         * math/libm-test.inc (struct test_fl_f_data): New type.
58836         (RUN_TEST_LOOP_fl_f): New variable.
58837         (scalbln_test_data): New variable.
58838         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58840         * math/libm-test.inc (struct test_fi_f_data): New type.
58841         (RUN_TEST_LOOP_fi_f): New macro.
58842         (ldexp_test_data): New variable.
58843         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58844         (scalbn_test_data): New variable.
58845         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58847         * math/libm-test.inc (struct test_c_f_data): New type.
58848         (RUN_TEST_LOOP_c_f): New macro.
58849         (cabs_test_data): New variable.
58850         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58851         (carg_test_data): New variable.
58852         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58853         (cimag_test_data): New variable.
58854         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58855         (creal_test_data): New variable.
58856         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58858         * math/libm-test.inc (struct test_if_f_data): New type.
58859         (RUN_TEST_LOOP_if_f): New macro.
58860         (jn_test_data): New variable.
58861         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58862         (yn_test_data): New variable.
58863         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58865         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58867 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58869         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58870         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58872 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58874         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58875         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58876         (bench-deps): Add bench-timing.h.
58877         * benchtests-bench-skeleton.c: Include bench-timing.h.
58878         (main): Use TIMING_* macros instead of clock_gettime.
58879         * benchtests/bench-timing.h: New file.
58881         [BZ #14582]
58882         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58883         Renamed from _LIB_VERSION.
58884         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58886 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58888         * math/libm-test.inc (struct test_fff_f_data): New type.
58889         (RUN_TEST_LOOP_fff_f): New macro.
58890         (fma_test_data): New variable.
58891         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58892         (fma_towardzero_test_data): New variable.
58893         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58894         (fma_downward_test_data): New variable.
58895         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58896         (fma_upward_test_data): New variable.
58897         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58899         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58900         (struct test_c_c_data): New type.
58901         (RUN_TEST_LOOP_c_c): New macro.
58902         (cacos_test_data): New variable.
58903         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58904         (cacosh_test_data): New variable.
58905         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58906         (casin_test_data): New variable.
58907         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58908         (casinh_test_data): New variable.
58909         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58910         (catan_test_data): New variable.
58911         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58912         (catanh_test_data): New variable.
58913         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58914         (ccos_test_data): New variable.
58915         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58916         (ccosh_test_data): New variable.
58917         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58918         (cexp_test_data): New variable.
58919         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58920         (clog_test_data): New variable.
58921         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58922         (clog10_test_data): New variable.
58923         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58924         (conj_test_data): New variable.
58925         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58926         (cproj_test_data): New variable.
58927         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58928         (csin_test_data): New variable.
58929         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58930         (csinh_test_data): New variable.
58931         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58932         (csqrt_test_data): New variable.
58933         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58934         (ctan_test_data): New variable.
58935         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58936         (ctan_tonearest_test_data): New variable.
58937         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58938         (ctan_towardzero_test_data): New variable.
58939         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58940         (ctan_downward_test_data): New variable.
58941         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58942         (ctan_upward_test_data): New variable.
58943         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58944         (ctanh_test_data): New variable.
58945         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58946         (ctanh_tonearest_test_data): New variable.
58947         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58948         (ctanh_towardzero_test_data): New variable.
58949         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58950         (ctanh_downward_test_data): New variable.
58951         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58952         (ctanh_upward_test_data): New variable.
58953         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58954         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58955         of BUILD_COMPLEX.
58957         * math/libm-test.inc (struct test_ff_f_data): New type.
58958         (struct test_ff_f_data_nexttoward): Likewise.
58959         (RUN_TEST_LOOP_2_f): New macro.
58960         (RUN_TEST_LOOP_ff_f): Likewise.
58961         (atan2_test_data): New variable.
58962         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58963         (copysign_test_data): New variable.
58964         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58965         (fdim_test_data): New variable.
58966         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58967         (fmax_test_data): New variable.
58968         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58969         (fmin_test_data): New variable.
58970         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58971         (fmod_test_data): New variable.
58972         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58973         (hypot_test_data): New variable.
58974         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58975         (nextafter_test_data): New variable.
58976         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58977         (nexttoward_test_data): New variable.
58978         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58979         (pow_test_data): New variable.
58980         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58981         (pow_tonearest_test_data): New variable.
58982         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58983         (pow_towardzero_test_data): New variable.
58984         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58985         (pow_downward_test_data): New variable.
58986         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58987         (pow_upward_test_data): New variable.
58988         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58989         (remainder_test_data): New variable.
58990         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58991         (scalb_test_data): New variable.
58992         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58993         * sysdeps/i386/fpu/libm-test-ulps: Update.
58995 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58997         * math/libm-test.inc (fma_test): Use max_value instead of local
58998         variable fltmax.
58999         (nextafter_test): Likewise.
59001         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59002         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59003         (acos_downward_test_data): New variable.
59004         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59005         (acos_upward_test_data): New variable.
59006         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59007         (acosh_test_data): New variable.
59008         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59009         (asin_test_data): New variable.
59010         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59011         (asin_tonearest_test_data): New variable.
59012         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59013         (asin_towardzero_test_data): New variable.
59014         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59015         (asin_downward_test_data): New variable.
59016         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59017         (asin_upward_test_data): New variable.
59018         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59019         (asinh_test_data): New variable.
59020         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59021         (atan_test_data): New variable.
59022         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59023         (atanh_test_data): New variable.
59024         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59025         (cbrt_test_data): New variable.
59026         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59027         (ceil_test_data): New variable.
59028         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59029         (cos_test_data): New variable.
59030         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59031         (cos_tonearest_test_data): New variable.
59032         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59033         (cos_towardzero_test_data): New variable.
59034         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59035         (cos_downward_test_data): New variable.
59036         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59037         (cos_upward_test_data): New variable.
59038         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59039         (cosh_test_data): New variable.
59040         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59041         (cosh_tonearest_test_data): New variable.
59042         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59043         (cosh_towardzero_test_data): New variable.
59044         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59045         (cosh_downward_test_data): New variable.
59046         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59047         (cosh_upward_test_data): New variable.
59048         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59049         (erf_test_data): New variable.
59050         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59051         (erfc_test_data): New variable.
59052         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59053         (exp_test_data): New variable.
59054         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59055         (exp_tonearest_test_data): New variable.
59056         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59057         (exp_towardzero_test_data): New variable.
59058         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59059         (exp_downward_test_data): New variable.
59060         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59061         (exp_upward_test_data): New variable.
59062         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59063         (exp10_test_data): New variable.
59064         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59065         (exp2_test_data): New variable.
59066         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59067         (expm1_test_data): New variable.
59068         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59069         (fabs_test_data): New variable.
59070         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59071         (floor_test_data): New variable.
59072         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59073         (j0_test_data): New variable.
59074         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59075         (j1_test_data): New variable.
59076         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59077         (log_test_data): New variable.
59078         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59079         (log10_test_data): New variable.
59080         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59081         (log1p_test_data): New variable.
59082         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59083         (log2_test_data): New variable.
59084         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59085         (logb_test_data): New variable.
59086         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59087         (logb_downward_test_data): New variable.
59088         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59089         (nearbyint_test_data): New variable.
59090         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59091         (rint_test_data): New variable.
59092         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59093         (rint_tonearest_test_data): New variable.
59094         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59095         (rint_towardzero_test_data): New variable.
59096         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59097         (rint_downward_test_data): New variable.
59098         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59099         (rint_upward_test_data): New variable.
59100         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59101         (round_test_data): New variable.
59102         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59103         (sin_test_data): New variable.
59104         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59105         (sin_tonearest_test_data): New variable.
59106         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59107         (sin_towardzero_test_data): New variable.
59108         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59109         (sin_downward_test_data): New variable.
59110         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59111         (sin_upward_test_data): New variable.
59112         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59113         (sinh_test_data): New variable.
59114         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59115         (sinh_tonearest_test_data): New variable.
59116         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59117         (sinh_towardzero_test_data): New variable.
59118         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59119         (sinh_downward_test_data): New variable.
59120         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59121         (sinh_upward_test_data): New variable.
59122         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59123         (sqrt_test_data): New variable.
59124         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59125         (tan_test_data): New variable.
59126         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59127         (tan_tonearest_test_data): New variable.
59128         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59129         (tan_towardzero_test_data): New variable.
59130         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59131         (tan_downward_test_data): New variable.
59132         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59133         (tan_upward_test_data): New variable.
59134         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59135         (tanh_test_data): New variable.
59136         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59137         (tgamma_test_data): New variable.
59138         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59139         (trunc_test_data): New variable.
59140         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59141         (y0_test_data): New variable.
59142         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59143         (y1_test_data): New variable.
59144         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59145         (significand_test_data): New variable.
59146         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59148 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59150         [BZ #12387]
59151         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59153 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59155         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59157 2013-05-10  Andreas Jaeger  <aj@suse.de>
59159         [BZ #15448]
59160         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59161         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59163 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59165         * math/gen-libm-test.pl (adjust_arg): New function.
59166         (special_functions): Handle generating output in both functions
59167         and arrays.
59168         (parse_args): Likewise.
59169         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59170         $in_func argument to parse_args.
59171         * math/libm-test.inc (struct test_f_f_data): New type.
59172         (IF_ROUND_INIT_): New macro.
59173         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59174         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59175         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59176         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59177         (ROUND_RESTORE_): Likewise.
59178         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59179         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59180         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59181         (ROUND_RESTORE_FE_UPWARD): Likewise.
59182         (RUN_TEST_LOOP_f_f): New macro.
59183         (acos_test_data): New variable.
59184         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59185         (acos_tonearest_test_data): New variable.
59186         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59188 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59190         * benchtests/bench-skeleton.c (startup): Fix coding style.
59192 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59194         [BZ #6809]
59195         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59196         negative infinity argument.
59197         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59198         negative infinity argument.
59199         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59200         negative infinity argument.
59201         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59202         domain errors.
59204 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59206         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59207         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59208         * iconv/iconv_prog.c (main): Likewise.
59209         * locale/programs/charmap-dir.c (charmap_readdir)
59210         (fopen_uncompressed): Likewise.
59211         * locale/programs/locfile.c (siblings_uncached)
59212         (write_locale_data): Use lstat64 instead of lstat.
59213         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59214         stat.
59216 2013-05-10  Andreas Jaeger  <aj@suse.de>
59218         [BZ #15395]
59219         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59220         localization.
59221         Include <locale.h>.
59223 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59225         * elf/dl-close.c (_dl_close_worker): Add comments.
59227 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59229         [BZ #15359]
59230         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59231         high part of pi/2.
59232         (__ieee754_rem_pio2l): Update comments.
59234         [BZ #15429]
59235         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59236         high part of pi/2.
59237         (__ieee754_rem_pio2l): Update comments.
59239         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59240         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59242         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59243         M_PI_4l.
59245         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59246         (M_PI_34_LOG10El): Likewise.
59247         (M_PI2_LOG10El): Likewise.
59248         (M_PI4_LOG10El): Likewise.
59249         (M_PI_LOG10El): Likewise.
59251 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59255 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59257         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59258         (MINUS_ZERO_INIT): Likewise.
59259         (PLUS_INFTY_INIT): Likewise.
59260         (MINUS_INFTY_INIT): Likewise.
59261         (QNAN_VALUE_INIT): Likewise.
59262         (MAX_VALUE_INIT): Likewise.
59263         (MIN_VALUE_INIT): Likewise.
59264         (MIN_SUBNORM_VALUE_INIT): Likewise.
59265         (plus_zero): Initialize with PLUS_ZERO_INIT.
59266         (minus_zero): Initialize with MINUS_ZERO_INIT.
59267         (plus_infty): Initialize with PLUS_INFTY_INIT.
59268         (minus_infty): Initialize with MINUS_INFTY_INIT.
59269         (qnan_value): Initialize with QNAN_VALUE_INIT.
59270         (max_value): Initialize with MAX_VALUE_INIT.
59271         (min_value): Initialize with MIN_VALUE_INIT.
59272         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59274         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59275         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59276         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59277         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59279         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59280         (RUN_TEST_2_f): Likewise.
59281         (RUN_TEST_ff_f): Likewise.
59282         (RUN_TEST_fi_f): Likewise.
59283         (RUN_TEST_fl_f): Likewise.
59284         (RUN_TEST_fff_f): Likewise.
59285         (RUN_TEST_c_f): Likewise.
59286         (RUN_TEST_f_f1): Likewise.
59287         (RUN_TEST_fF_f1): Likewise.
59288         (RUN_TEST_fI_f1): Likewise.
59289         (RUN_TEST_ffI_f1): Likewise.
59290         (RUN_TEST_c_c): Likewise.
59291         (RUN_TEST_cc_c): Likewise.
59292         (RUN_TEST_f_i): Likewise.
59293         (RUN_TEST_f_i_tg): Likewise.
59294         (RUN_TEST_ff_i_tg): Likewise.
59295         (RUN_TEST_f_b): Likewise.
59296         (RUN_TEST_f_b_tg): Likewise.
59297         (RUN_TEST_f_l): Likewise.
59298         (RUN_TEST_f_L): Likewise.
59299         (RUN_TEST_sincos): Likewise.
59300         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59301         whether to show exceptions.  Do not include ");\n" in return
59302         value.
59303         (special_functions): Output call to RUN_TEST_sincos instead of
59304         check_float calls.  Update calls to new_test.
59305         (parse_args): Output call to single RUN_TEST_* macro instead of
59306         check_* calls and other assignments.  Update calls to new_test.
59308         [BZ #2546]
59309         [BZ #2560]
59310         [BZ #5159]
59311         [BZ #15426]
59312         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59313         input to result for tgamma overflow.
59314         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59315         (gamma_coeff): New variable.
59316         (NCOEFF): New macro.
59317         (gamma_positive): New function.
59318         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59319         underflow here.  Use gamma_positive instead of exp (lgamma) for
59320         other arguments.
59321         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59322         (gamma_coeff): New variable.
59323         (NCOEFF): New macro.
59324         (gammaf_positive): New function.
59325         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59326         underflow here.  Use gamma_positive instead of exp (lgamma) for
59327         other arguments.
59328         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59329         (gamma_coeff): New variable.
59330         (NCOEFF): New macro.
59331         (gammal_positive): New function.
59332         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59333         underflow here.  Use gamma_positive instead of exp (lgamma) for
59334         other arguments.
59335         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59336         (gamma_coeff): New variable.
59337         (NCOEFF): New macro.
59338         (gammal_positive): New function.
59339         (__ieee754_gammal_r): Handle positive infinity, overflow and
59340         underflow here.  Handle NaN the same as positive infinity.  Remove
59341         check x < 0xffffffff for negative integers.  Use gamma_positive
59342         instead of exp (lgamma) for other arguments.
59343         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59344         (gamma_coeff): New variable.
59345         (NCOEFF): New macro.
59346         (gammal_positive): New function.
59347         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59348         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59349         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59352         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59353         * sysdeps/generic/math_private.h (__gamma_productf): New
59354         prototype.
59355         (__gamma_product): Likewise.
59356         (__gamma_productl): Likewise.
59357         * math/Makefile (libm-calls): Add gamma_product.
59358         * math/libm-test.inc (tgamma_test): Add more tests.
59359         * sysdeps/i386/fpu/libm-test-ulps: Update.
59360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59362 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59364         * benchtests/bench-skeleton.c (main): Preheat CPU.
59366 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59368         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59370 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59372         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59373         and _dl_skip_args_internal.
59375 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59377         * manual/message.texi (Message Translation): Talk about users.
59378         Message to key mapping impacts design.
59380 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59382         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59384         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59386         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59387         * sysdeps/wordsize-64/glob64.c: ... here.
59389         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59390         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59391         New macros.
59393         * debug/getlogin_r_chk.c: Moved to ...
59394         * login/getlogin_r_chk.c: ... here.
59395         * debug/Makefile (routines): Move getlogin_r_chk to ...
59396         * login/Makefile (routines): ... here.
59397         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59398         * login/Versions (libc: GLIBC_2.4): ... here.
59400         * io/poll.c (__poll): Renamed from poll.
59401         Add libc_hidden_def.
59402         (poll): Define as weak alias.
59404         * debug/ptsname_r_chk.c: Moved to ...
59405         * login/ptsname_r_chk.c: ... here.
59406         * debug/Makefile (routines): Move ptsname_r_chk to ...
59407         * login/Makefile (routines): ... here.
59408         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59409         * login/Versions (libc: GLIBC_2.4): ... here.
59411         * posix/getlogin.c: Moved to ...
59412         * login/getlogin.c: ... here.
59413         * posix/getlogin_r.c: Moved to ...
59414         * login/getlogin_r.c: ... here.
59415         * posix/getlogin_r.c: Moved to ...
59416         * login/getlogin_r.c: ... here.
59417         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59418         * login/Makefile (routines): ... here.
59419         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59420         * login/Versions (libc: GLIBC_2.0): ... here.
59422         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59423         (setrlimit): Define as weak alias.
59425         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59426         Call __ names for open, ftruncate, and close.
59427         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59428         (truncate): Define as weak alias.
59430 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59432         * math/gen-libm-test.pl (parse_args): Initialize x before each
59433         test of frexp, modf and remquo.
59435         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59436         test signgam value.
59438 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59440         [BZ #15418]
59441         [BZ #15419]
59442         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59443         internal tests.
59444         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59446 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59448         * elf/dl-writev.h: New file.
59449         * elf/dl-misc.c: Include it.
59450         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59451         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59453 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59455         * math/libm-test.inc (noXFails): Remove variable.
59456         (noXPasses): Likewise.
59457         (BUILD_COMPLEX_INT): Remove macro.
59458         (print_screen): Remove xfail argument.
59459         (print_screen_max_error): Likewise.
59460         (update_stats): Likewise.
59461         (print_max_error): Likewise.  Update calls to other affected
59462         functions.
59463         (print_complex_max_error): Likewise.
59464         (test_single_exception): Update calls to print_screen.
59465         (test_single_errno): Likewise.
59466         (check_float_internal): Remove xfail argument.  Update calls to
59467         other affected functions.
59468         (check_float): Likewise.
59469         (check_complex): Likewise.
59470         (check_int): Likewise.
59471         (check_long): Likewise.
59472         (check_bool): Likewise.
59473         (check_longlong): Likewise.
59474         (main): Don't print noXFails and noXPasses.
59475         * math/gen-libm-test.pl (top level): Don't mention expected
59476         failure handling in comment.
59477         (new_test): Don't handle expected failures.
59478         (parse_args): Don't mention expected failure handling in comment.
59479         (generate_testfile): Don't handle expected failures.
59480         (parse_ulps): Likewise.
59481         (print_ulps_file): Likewise.
59482         (get_failure): Remove function.
59483         (output_test): Don't handle expected failures.
59484         * make/README.libm-test: Don't mention expected failure handling.
59486         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59487         (minus_zero): Likewise.
59488         (plus_infty): Likewise.
59489         (minus_infty): Likewise.
59490         (qnan_value): Likewise.
59491         (max_value): Likewise.
59492         (min_value): Likewise.
59493         (min_subnorm_value): Likewise.
59494         (initialize): Do not initialize those variables dynamically.
59496 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59498         * io/open.c (__open_2): Moved to ...
59499         * io/open_2.c: ... this new file.
59500         * io/open64.c (__open64_2): Moved to ...
59501         * io/open64_2.c: ... this new file.
59502         * io/openat.c (__openat_2): Moved to ...
59503         * io/openat_2.c: ... this new file.
59504         * io/openat64.c (__openat64_2): Moved to ...
59505         * io/openat64_2.c: ... this new file.
59506         * io/Makefile (routines): Add them.
59507         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59508         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59509         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59510         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59511         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59512         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59513         (__openat64): Add hidden_ver.
59514         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59515         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59517         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59518         Separately conditionalize setting of GLRO(dl_sysinfo) so
59519         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59520         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59522 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59524         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59525         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59526         definition.
59527         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59528         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59529         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59530         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59531         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59533 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59535         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59536         test signgam value.
59538         * math/libm-test.inc (hypot_test): Do not use
59539         IGNORE_ZERO_INF_SIGN.
59541 2013-05-03  Andreas Jaeger  <aj@suse.de>
59543         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59544         Linux 3.9.
59545         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59546         (PF_MAX): Adjust for VSOCK change.
59548 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59552 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59554         [BZ #15264]
59555         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59556         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59557         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59559 2013-05-02  David S. Miller  <davem@davemloft.net>
59561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59563 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59565         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59567 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59569         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59571 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59573         [BZ #14952]
59574         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59575         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59576         Use __attribute__ ((__gnu_inline__)).
59577         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59578         Don't use __attribute__ ((__gnu_inline__)).
59580 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59582         [BZ #15423]
59583         * math/s_catan.c (__catan): Handle small real or imaginary part of
59584         input specially to avoid spurious underflow.
59585         * math/s_catanf.c (__catanf): Likewise.
59586         * math/s_catanh.c (__catanh): Likewise.
59587         * math/s_catanhf.c (__catanhf): Likewise.
59588         * math/s_catanhl.c (__catanhl): Likewise.
59589         * math/s_catanl.c (__catanl): Likewise.
59590         * math/libm-test.inc (catan_test): Add more tests.
59591         (catanh_test): Likewise.
59592         * sysdeps/i386/fpu/libm-test-ulps: Update.
59593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59595 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59599 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59601         [BZ #15416]
59602         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59603         accurately for denominator in atan2.
59604         * math/s_catanf.c (__catanf): Likewise.
59605         * math/s_catanh.c (__catanh): Likewise.
59606         * math/s_catanhf.c (__catanhf): Likewise.
59607         * math/s_catanhl.c (__catanhl): Likewise.
59608         * math/s_catanl.c (__catanl): Likewise.
59609         * math/libm-test.inc (catan_test): Add more tests.
59610         (catanh_test): Likewise.
59611         * sysdeps/i386/fpu/libm-test-ulps: Update.
59612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59614 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59616         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59618         * benchtests/Makefile (bench): Remove slow benchmarks.
59619         * benchtests/atan-inputs: Add slow benchmark inputs.
59620         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59621         (BENCH_FUNC): Accept variant offset.
59622         (VARIANT): Define.
59623         * benchtests/bench-skeleton.c (main): Run benchmark for each
59624         variant.
59625         * benchtests/cos-inputs: Add slow benchmark inputs.
59626         * benchtests/exp-inputs: Likewise.
59627         * benchtests/pow-inputs: Likewise.
59628         * benchtests/sin-inputs: Likewise.
59629         * benchtests/slowatan-inputs: Remove.
59630         * benchtests/slowatan.c: Remove.
59631         * benchtests/slowcos-inputs: Remove.
59632         * benchtests/slowcos.c: Remove.
59633         * benchtests/slowexp-inputs: Remove.
59634         * benchtests/slowexp.c: Remove.
59635         * benchtests/slowpow-inputs: Remove.
59636         * benchtests/slowpow.c: Remove.
59637         * benchtests/slowsin-inputs: Remove.
59638         * benchtests/slowsin.c: Remove.
59639         * benchtests/slowtan-inputs: Remove.
59640         * benchtests/slowtan.c: Remove.
59641         * benchtests/tan-inputs: Add slow benchmark inputs.
59642         * scripts/bench.pl: Parse comments and directives.
59644         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59645         in CPPFLAGS.
59646         ($(objpfx)bench-%.c): Remove *-ITER.
59647         * benchtests/bench-modf.c: Remove definition of ITER.
59648         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59649         (main): Loop for DURATION seconds instead of fixed number of
59650         iterations.
59651         * scripts/bench.pl: Don't expect iterations in parameters.
59653 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59655         * io/fchdir.c (__fchdir): Renamed from fchdir.
59656         (fchdir): Define as weak alias.
59658 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59660         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59661         (ERRNO_EDOM): Likewise.
59662         (ERRNO_ERANGE): Likewise.
59663         (noErrnoTests): New variable.
59664         (init_max_error): Set errno to 0.
59665         (test_single_errno): New function.
59666         (test_errno): Likewise.
59667         (check_float_internal): Call test_errno.  Set errno to 0.
59668         (check_complex): Refer to errno tests in comment.
59669         (check_int): Call test_errno.  Set errno to 0.
59670         (check_long): Likewise.
59671         (check_bool): Likewise.
59672         (check_longlong): Likewise.
59673         (cos_test): Use ERRNO_* flags for errno tests instead of
59674         check_int.
59675         (expm1_test): Likewise.
59676         (fmod_test): Likewise.
59677         (ilogb_test): Likewise.
59678         (lgamma_test): Likewise.
59679         (pow_test): Likewise.
59680         (remainder_test): Likewise.
59681         (sin_test): Likewise.
59682         (tan_test): Likewise.
59683         (yn_test): Likewise.
59684         (initialize): Set errno to 0.
59685         (main): Print number of errno tests.
59686         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59688 2013-04-29  Andreas Jaeger  <aj@suse.de>
59690         [BZ #15084]
59691         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59692         and RES_USEVC.
59694         [BZ #15085]
59695         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59696         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59697         unimplemented.
59699         [BZ #15380]
59700         * stdlib/random.c (__initstate): Return NULL if
59701         __initstate fails.
59703         [BZ #15086]
59704         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59705         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59706         RES_SNGLKUPREOP.
59708 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59712 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59714         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59715         of individual tests.
59716         (casin_test): Likewise.
59717         (casinh_test): Likewise.
59719 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59721         [BZ #15409]
59722         * math/s_catan.c (__catan): Handle arguments with large real or
59723         imaginary part separately without squaring.
59724         * math/s_catanf.c (__catanf): Likewise.
59725         * math/s_catanh.c (__catanh): Likewise.
59726         * math/s_catanhf.c (__catanhf): Likewise.
59727         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59728         and redefine.
59729         (__catanhl): Handle arguments with large real or imaginary part
59730         separately without squaring.
59731         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59732         and redefine.
59733         (__catanl): Handle arguments with large real or imaginary part
59734         separately without squaring.
59735         * math/libm-test.inc (catan_test): Add more tests.
59736         (catanh_test): Likewise.
59737         * sysdeps/i386/fpu/libm-test-ulps: Update.
59738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59740 2013-04-27  Andreas Jaeger  <aj@suse.de>
59742         [BZ #15007]
59743         * stdlib/stdlib.h: Update guards for qecvt.
59744         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59745         <stdlib.h>.
59747 2013-04-27  Allan McRae  <allan@archlinux.org>
59749         * sysdeps/i386/fpu/libm-test-ulps: Update.
59751 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59753         [BZ #15406]
59754         * math/s_catan.c: Include <float.h>.
59755         (__catan): Ensure underflow exception occurs for underflowed
59756         result.
59757         * math/s_catanf.c: Include <float.h>.
59758         (__catanf): Ensure underflow exception occurs for underflowed
59759         result.
59760         * math/s_catanh.c: Include <float.h>.
59761         (__catanh): Ensure underflow exception occurs for underflowed
59762         result.
59763         * math/s_catanhf.c: Include <float.h>.
59764         (__catanhf): Ensure underflow exception occurs for underflowed
59765         result.
59766         * math/s_catanhl.c: Include <float.h>.
59767         (__catanhl): Ensure underflow exception occurs for underflowed
59768         result.
59769         * math/s_catanl.c: Include <float.h>.
59770         (__catanl): Ensure underflow exception occurs for underflowed
59771         result.
59772         * math/libm-test.inc (catan_test): Add more tests.
59773         (catanh_test): Likewise.
59775         [BZ #15405]
59776         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59777         underflowed result.
59778         * math/s_ccoshf.c (__ccoshf): Likewise.
59779         * math/s_ccoshl.c (__ccoshl): Likewise.
59780         * math/s_csin.c (__csin): Likewise.
59781         * math/s_csinf.c (__csinf): Likewise.
59782         * math/s_csinh.c (__csinh): Likewise.
59783         * math/s_csinhf.c (__csinhf): Likewise.
59784         * math/s_csinhl.c (__csinhl): Likewise.
59785         * math/s_csinl.c (__csinl): Likewise.
59786         * math/libm-test.inc (ccos_test): Add more tests.
59787         (ccosh_test): Likewise.
59788         (csin_test): Likewise.
59789         (csinh_test): Likewise.
59791 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59793         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59794         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59795         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59796         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59797         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59798         powerpc/power5+/fpu folders.
59799         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59802 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59806 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59808         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59809         additions to variable.
59810         [$(config-machine) = x86_64] (modules-names): Likewise.
59811         ($(objpfx)tst-audit3): Remove dependency.
59812         ($(objpfx)tst-audit3.out): Likewise.
59813         ($(objpfx)tst-audit4): Likewise.
59814         ($(objpfx)tst-audit4.out): Likewise.
59815         ($(objpfx)tst-audit5): Likewise.
59816         ($(objpfx)tst-audit5.out): Likewise.
59817         ($(objpfx)tst-audit6): Likewise.
59818         ($(objpfx)tst-audit6.out): Likewise.
59819         ($(objpfx)tst-audit7): Likewise.
59820         ($(objpfx)tst-audit7.out): Likewise.
59821         (tst-audit3-ENV): Remove variable.
59822         (tst-audit4-ENV): Likewise.
59823         (tst-audit5-ENV): Likewise.
59824         (tst-audit6-ENV): Likewise.
59825         (tst-audit7-ENV): Likewise.
59826         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59827         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59828         addition to variable.
59829         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59830         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59831         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59832         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59833         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59834         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59835         tst-audit3, tst-audit4 and tst-audit5.
59836         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59837         tst-audit6 and tst-audit7.
59838         [$(subdir) = elf] (modules-names): Add audit modules for those
59839         tests.
59840         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59841         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59842         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59843         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59844         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59845         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59846         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59847         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59848         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59849         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59850         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59851         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59852         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59853         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59854         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59855         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59856         Likewise.
59857         [$(subdir) = elf && $(config-cflags-avx) = yes]
59858         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59859         [$(subdir) = elf && $(config-cflags-avx) = yes]
59860         (CFLAGS-tst-auditmod4a.c): Likewise.
59861         [$(subdir) = elf && $(config-cflags-avx) = yes]
59862         (CFLAGS-tst-auditmod4b.c): Likewise.
59863         [$(subdir) = elf && $(config-cflags-avx) = yes]
59864         (CFLAGS-tst-auditmod6b.c): Likewise.
59865         [$(subdir) = elf && $(config-cflags-avx) = yes]
59866         (CFLAGS-tst-auditmod6c.c): Likewise.
59867         [$(subdir) = elf && $(config-cflags-avx) = yes]
59868         (CFLAGS-tst-auditmod7b.c): Likewise.
59869         * elf/tst-audit3.c: Move to ...
59870         * sysdeps/x86_64/tst-audit3.c: ... here.
59871         * elf/tst-audit4.c: Move to ...
59872         * sysdeps/x86_64/tst-audit4.c: ... here.
59873         * elf/tst-audit5.c: Move to ...
59874         * sysdeps/x86_64/tst-audit5.c: ... here.
59875         * elf/tst-audit6.c: Move to ...
59876         * sysdeps/x86_64/tst-audit6.c: ... here.
59877         * elf/tst-audit7.c: Move to ...
59878         * sysdeps/x86_64/tst-audit7.c: ... here.
59879         * elf/tst-auditmod3a.c: Move to ...
59880         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59881         * elf/tst-auditmod3b.c: Move to ...
59882         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59883         * elf/tst-auditmod4a.c: Move to ...
59884         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59885         * elf/tst-auditmod4b.c: Move to ...
59886         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59887         * elf/tst-auditmod5a.c: Move to ...
59888         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59889         * elf/tst-auditmod5b.c: Move to ...
59890         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59891         * elf/tst-auditmod6a.c: Move to ...
59892         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59893         * elf/tst-auditmod6b.c: Move to ...
59894         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59895         * elf/tst-auditmod6c.c: Move to ...
59896         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59897         * elf/tst-auditmod7a.c: Move to ...
59898         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59899         * elf/tst-auditmod7b.c: Move to ...
59900         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59902 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59904         [BZ #15366]
59905         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59906         define unconditionally.
59907         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59908         define unconditionally.
59909         (INT8_C, INT16_C, etc.): Likewise.
59911 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59913         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59914         __ehdr_start with hidden visibility.
59916         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59918 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59920         * math/libm-test.inc (cos_test): Use accurate hex constants.
59921         (sincost_test): Likewise.
59923 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59925         * math/libm-test.inc (catan_test): Add more tests.
59926         (catanh_test): Likewise.
59928         * math/s_catanf.c (__catanf): Use suffixed floating-point
59929         constants.
59930         * math/s_catanhf.c (__catanhf): Likewise.
59931         * math/s_catanhl.c (__catanhl): Likewise.
59932         * math/s_catanl.c (__catanl): Likewise.
59934         [BZ #15394]
59935         * math/s_catan.c (__catan): Calculate imaginary part of result
59936         with log1p not log unless computing log of number close to 0.
59937         * math/s_catanf.c (__catanf): Likewise.
59938         * math/s_catanl.c (__catanl): Likewise.
59939         * math/s_catanh.c (__catanh): Calculate real part of result with
59940         log1p not log unless computing log of number close to 0.
59941         * math/s_catanhf.c (__catanhf): Likewise.
59942         * math/s_catanhl.c (__catanhl): Likewise.
59943         * math/libm-test.inc (catan_test): Add more tests.
59944         (catanh_test): Likewise.
59945         * sysdeps/i386/fpu/libm-test-ulps: Update.
59946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59948 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59950         * benchtests/Makefile: Mention files in which fast and slow
59951         paths of math functions are implemented.
59953 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59955         * sysdeps/posix/timespec_get.c: New file.
59957 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59959         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59960         POWER.
59961         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59962         for POWER.
59963         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59964         powerpc/power5/fpu folders.
59965         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59966         * benchtests/Makefile: Add modf testcase.
59967         * benchtests/bench-modf.c: New file: Benchmark test for mo
59969 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59971         [BZ #14888]
59972         * time/Makefile (tests): Add tst-strptime-whitespace.
59973         * time/strptime_l.c (get_number): Use ISSPACE.
59974         (__strptime_internal): Likewise.
59975         * time/tst-strptime-whitespace.c: New test case.
59977 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59979         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59980         member.
59981         (_nss_files_init): Set it here.
59983 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59985         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59986         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59987         unsigned.
59989 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59991         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59993 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59996         size just once.
59998 2013-04-21  David S. Miller  <davem@davemloft.net>
60000         * po/ru.po: Update Russion translation from translation project.
60002 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60004         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60005         and setfsgid.
60007 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60009         * configure.in: Remove i386 configure warning. Remove i386 case.
60010         * configure: Regenerate.
60011         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60012         Add example to error message.
60013         * sysdeps/i386/configure: Regenerate.
60015 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60017         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60018         slowtan.
60019         * benchtests/cos-inputs: New file.
60020         * benchtests/slowcos-inputs: New file.
60021         * benchtests/slowcos.c: New file.
60022         * benchtests/slowtan-inputs: New file.
60023         * benchtests/slowtan.c: New file.
60024         * benchtests/tan-inputs: New file.
60026 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60028         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60029         considered kosher.
60031 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60033         * benchtests/Makefile: Include cppflags-iterator.mk to add
60034         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60036         * Makefile.in (bench-clean): New target.
60037         * benchtests/Makefile (bench-clean): Likewise.
60039 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60041         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60043 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60045         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60047 2013-04-15  Andreas Schwab  <schwab@suse.de>
60049         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60051         * nscd/pwdcache.c (cache_addpw): Likewise.
60052         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60053         more than recsize.
60055 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60057         * benchtests/Makefile (bench): Write all output to
60058         bench-out.tmp together.
60060 2013-04-15  Andreas Schwab  <schwab@suse.de>
60062         * nscd/nscd.c (main): Don't fork again after closing files.
60064 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60066         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60068         * benchtests/Rules (bench-deps): Collect dependencies into a
60069         single variable.  Add Makefile to dependencies.
60070         ($(objpfx)bench-%.c): Depend on bench-deps.
60072 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60073             Xavier Roche  <roche+kml2@exalead.com>
60075         [BZ #15361]
60076         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60077         just that it's a file descriptor.
60078         * manual/llio.texi (Synchronizing AIO Operations): Update description
60079         for EBADF error from aio_fsync.
60081 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60083         * Rules (bench): Move target definition...
60084         * benchtests/Makefile: ... here.
60086 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60088         * math/libm-test.inc (cos_test): Fix PI/2 test.
60089         (sincos_test): Likewise.
60090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60091         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60093 2013-04-11  Andreas Schwab  <schwab@suse.de>
60095         [BZ #13988]
60096         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60097         accept exponent character only when digits were seen.
60098         * stdio-common/Makefile (tests): Add bug26.
60099         * stdio-common/bug26.c: New file.
60101         [BZ #14293]
60102         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60103         non-freeable.
60105 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60107         * Makeconfig (rtld-prefix): Define built linker prefix.
60108         * Rules (run-bench): Use it.
60109         * math/Makefile (run-regen-ulps): Likewise.
60111         * Rules (bench): Remove eval.
60113 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60114             Roland McGrath  <roland@hack.frob.com>
60115             Ondrej Bilka  <neleai@seznam.cz>
60117         [BZ #15346]
60118         * time/getdate.c: Include ctype.h and alloca.h.
60119         (__getdate_r): Trim leading and trailing spaces of input.
60120         * time/tst-getdate.c (tests): Add tests with leading and
60121         trailing spaces.
60123 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60125         [BZ #14280]
60126         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60127         when computing value.
60129 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60131         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60132         Use testrun.sh to run libm tests.
60134         [BZ #15309]
60135         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60137 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60139         [BZ #15264]
60140         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60142 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60144         * Makefile.in (regen-ulps): New target.
60145         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60146         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60147         [ifneq (no,$(PERL)] (regen-ulps): New target.
60148         [ifeq (no,$(PERL)] (regen-ulps): New target.
60149         * math/libm-test.inc (ulps_file_name): Define.
60150         (output_dir): New variable.
60151         (options): Add "output-dir" option.
60152         (parse_opt): Handle 'o' case.
60153         (main): If output_dir is non-NULL use it as a prefix
60154         otherwise use "".
60155         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60157 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60159         [BZ #10060, #10062]
60160         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60161         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60162         fail configure if __sync_val_compare_and_swap is not inlined.
60163         * sysdeps/i386/configure: Regenerate.
60164         * configure.in: Build for i686 when configured for i386.
60165         * configure: Regenerate.
60166         * README: Remove i386 reference.
60168 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60170         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60171         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60173 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60175         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60176         (lmsnanval): New variables.
60177         (F): Add conversion tests.
60178         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60179         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60181         * stdio-common/tstdiomisc.c (F): Properly collect individual
60182         tests' results.
60184         [BZ #14686, #15336]
60185         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60186         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60187         Instead, use input NaN values or generate a qNaN by arithmetic
60188         operation.  Also fix bugs to comply with the standard.
60189         * math/libm-test.inc (remainder_test): Add more tests.
60191         [BZ #15335, #15342]
60192         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60193         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60194         input NaN values or generate a qNaN by arithmetic operation.
60196         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60197         unreachable code.
60199         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60200         definitions.
60202 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60204         [BZ #14478]
60205         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60206         underflowed result.
60207         * math/s_cexpf.c (__cexpf): Likewise.
60208         * math/s_cexpl.c (__cexpl): Likewise.
60209         * math/libm-test.inc (cexp_test): Add more tests.
60211 2013-04-03  Andreas Schwab  <schwab@suse.de>
60213         [BZ #15330]
60214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60215         order arrays from heap if bigger than alloca cutoff.
60217 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60219         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60220         (SNAN_TESTS_double): Refer to GCC PR56831.
60221         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60222         GCC PR56828.
60224 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60226         * Rules (bench): Move bench.out after the run is complete.
60228         * Rules (bench): Echo currently running benchmark.
60230         * benchtests/Makefile (bench): Add atan and slowatan.
60231         * benchtests/atan-inputs: New file.
60232         * benchtests/slowatan-inputs: New file.
60233         * benchtests/slowatan.c: New file.
60235         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60236         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60237         its value.
60239         [BZ #15305]
60240         * sysdeps/unix/sysv/linux/kernel-features.h
60241         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60242         __ASSUME_XFS_RESTRICTED_CHOWN.
60243         * sysdeps/unix/sysv/linux/pathconf.c
60244         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60245         Save and restore errno.
60247 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60249         [BZ #15327]
60250         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60251         arguments using __kernel_casinh.
60252         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60253         arguments using __kernel_casinhf.
60254         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60255         arguments using __kernel_casinhl.
60256         * math/libm-test.inc (cacosh_test): Add more tests.
60257         * sysdeps/i386/fpu/libm-test-ulps: Update.
60258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60260 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60262         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60265         * bench/Makefile (bench): Add sin and slowsin.
60266         * benchtests/sin-inputs: New file.
60267         * benchtests/slowsin-inputs: New file.
60268         * benchtests/slowsin.c: New file.
60270         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60271         (bench): Add slowexp and slowpow.
60272         (exp-ITER): Increase iterations.
60273         (pow-ITER): Likewise.
60274         * benchtests/exp-inputs: Change input.
60275         * benchtests/pow-inputs: Likewise.
60276         * benchtests/slowexp-inputs: New file.
60277         * benchtests/slowexp.c: New file.
60278         * benchtests/slowpow-inputs: New file.
60279         * benchtests/slowpow.c: New file.
60281 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60283         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60284         instructions.
60285         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60286         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60287         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60288         * benchtests/Makefile: Add rint benchtest.
60289         * benchtests/rint-inputs: Input for rint benchtest.
60291 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60293         * Versions.def (libm): Add GLIBC_2.18.
60294         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60295         hidden libm prototypes.
60296         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60297         * math/Makefile (libm-calls): Add s_issignaling.
60298         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60299         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60300         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60301         declaration.
60302         * math/math.h [__USE_GNU] (issignaling): New macro.
60303         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60304         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60305         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60306         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60307         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60308         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60309         * manual/arith.texi (issignaling): New section.
60310         * manual/libm-err-tab.pl (@all_functions): Update comment.
60311         * math/gen-libm-test.pl (parse_args): Apply special handling for
60312         issignaling.
60313         * math/libm-test.inc (print_float, issignaling_test): New
60314         functions.
60315         (check_float_internal): Add issignaling checks.
60316         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60317         default definition.
60318         * sysdeps/powerpc/math-tests.h: New file.
60319         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60320         tests.
60321         * math/test-snan.c (TEST_FUNC): Likewise.
60323 2013-03-30  David S. Miller  <davem@davemloft.net>
60325         * po/de.po: Update from translation team.
60327 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60329         [BZ #10357]
60330         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60331         imaginary part less than 1.0 and real part less than 0.5
60332         specially.
60333         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60334         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60335         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60336         (cacos_test): Add more tests.
60337         (casin_test): Likewise.
60338         (casinh_test): Likewise.
60339         * sysdeps/i386/fpu/libm-test-ulps: Update.
60340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60342 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60344         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60345         ONE with its value.
60347         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60348         (__pow_mp): Replace ONE and MONE with their values.
60349         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60350         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60351         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60352         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60353         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60354         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60356         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60358         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60359         (__pow_mp): Replace ZERO and MZERO with their values.
60360         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60361         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60362         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60364         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60365         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60366         (__sqr): Likewise.
60368         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60370         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60372 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60374         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60375         Declare with __attribute__ ((weak)).
60376         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60377         Call __call_tls_dtors only if it's not NULL.
60379 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60381         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60382         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60383         magic __ehdr_start linker symbol if it's defined.
60384         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60385         them up here if it was already done.
60387         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60388         (_dl_aux_init): Use const in cast when setting it.
60389         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60390         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60391         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60393         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60394         Declare them here.
60395         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60396         * csu/libc-tls.c: Nor here.
60397         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60399         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60400         (__libc_message): Never call vsyslog.
60402 2013-03-28  Alan Modra  <amodra@gmail.com>
60404         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60405         Define as empty.
60406         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60407         Likewise.
60409 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60411         [BZ #15214]
60412         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60413         underflow.
60414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60416 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60418         [BZ #15304]
60419         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60420         Don't add gid passed as argument.
60422         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60424 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60426         [BZ #15307]
60427         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60428         imaginary part between 1.0 and 1.5 and real part less than 0.5
60429         specially.
60430         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60431         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60432         * math/libm-test.inc (cacos_test): Add more tests.
60433         (casin_test): Likewise.
60434         (casinh_test): Likewise.
60435         * sysdeps/i386/fpu/libm-test-ulps: Update.
60436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60438 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60440         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60441         constants.
60442         (norm): Likewise.
60443         (denorm): Likewise.
60444         (__dbl_mp): Likewise.
60445         (add_magnitudes): Likewise.
60446         (sub_magnitudes): Likewise.
60447         (__add): Likewise.
60448         (__sub): Likewise.
60449         (__mul): Likewise.
60450         (__sqr): Likewise.
60451         (__inv): Likewise.
60452         (__dvd): Likewise.
60454         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60455         commented code.
60456         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60457         (__dubcos): Likewise.
60458         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60459         (__ieee754_acos): Likewise.
60460         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60461         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60462         (__exp1): Likewise.
60463         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60465         (log1): Likewise.
60466         (my_log2): Likewise.
60467         (checkint): Likewise.
60468         * sysdeps/ieee754/dbl-64/e_remainder.c
60469         (__ieee754_remainder): Likewise.
60470         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60471         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60472         (bsloww): Likewise.
60473         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60475         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60476         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60477         MANTISSA_STORE_T to store computations on mantissa.  Use
60478         macros for rounding and division.
60479         (denorm): Likewise.
60480         (__dbl_mp): Likewise.
60481         (add_magnitudes): Likewise.
60482         (sub_magnitudes): Likewise.
60483         (__mul): Likewise.
60484         (__sqr): Likewise.
60485         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60486         powers of two in terms of TWOPOW macro.
60487         (mp_no): Make type of mantissa as MANTISSA_T.
60488         [!RADIXI]: Define RADIXI.
60489         [!TWO52]: Define TWO52.
60490         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60492 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60494         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60495         llroundl symbol when building for PPC32.
60497 2013-03-24  Mark H Weaver  <mhw@netris.org>
60499         * manual/arith.texi (Normalization Functions): Fix prototypes for
60500         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60502 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60504         [BZ #13889]
60505         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60506         high value to check if expl overflow.
60507         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60508         to check for underflow and overflow.
60509         * math/libm-test.inc: Add exp test.
60511 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60513         [BZ #11120]
60514         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60515         with NOT_IN_libc.
60517 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60519         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60520         symbol.
60522 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60524         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60525         wrap blocks consisting of several statements.
60527         * sysdeps/generic/math-tests.h: New file.
60528         * sysdeps/i386/fpu/math-tests.h: Likewise.
60529         * math/test-snan.c: Include it.
60530         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60532 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60534         [BZ #15285]
60535         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60536         (__ieee754_j0l): Do not improve calculations using cos of twice
60537         input for inputs above LDBL_MAX / 2.0L.
60538         (__ieee754_y0l): Likewise.
60539         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60540         (__ieee754_j1l): Do not improve calculations using cos of twice
60541         input for inputs above LDBL_MAX / 2.0L.
60542         (__ieee754_y1l): Likewise.
60543         * math/libm-test.inc (j0_test): Add another test.
60544         (j1_test): Likewise.
60545         (y0_test): Likewise.
60546         (y1_test): Likewise.
60547         * sysdeps/i386/fpu/libm-test-ulps: Update.
60549 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60551         * Rules ($(objpfx)bench-%.c): Include code from a C source
60552         file.
60554 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60556         [BZ #15287]
60557         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60558         imaginary part 1.0 and real part less than 0.5 specially.
60559         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60560         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60561         * math/libm-test.inc (cacos_test): Add more tests.
60562         (casin_test): Likewise.
60563         (casinh_test): Likewise.
60564         * sysdeps/i386/fpu/libm-test-ulps: Update.
60565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60567 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60569         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60570         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60572 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60574         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60575         * config.make.in (config-cflags-sse4): Remove variable.
60576         (config-cflags-avx): Likewise.
60577         (config-cflags-sse2avx): Likewise.
60578         (config-cflags-novzeroupper): Likewise.
60579         (config-asflags-i686): Likewise.
60580         (have-mfma4): Likewise.
60581         (have-as-vis3): Likewise.
60582         (MIG): Likewise.
60583         * configure.in (MIG): Do not AC_SUBST.
60584         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60585         (libc_cv_cc_sse4): Do not AC_SUBST.
60586         (libc_cv_cc_avx): Likewise.
60587         (libc_cv_cc_sse2avx): Likewise.
60588         (libc_cv_cc_novzeroupper): Likewise.
60589         (libc_cv_cc_fma4): Likewise.
60590         (libc_cv_as_i686): Likewise.
60591         (libc_cv_sparc_as_vis3): Likewise.
60592         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60593         LIBC_CONFIG_VAR.
60594         (config-asflags-i686): Likewise.
60595         (config-cflags-avx): Likewise.
60596         (config-cflags-sse2avx): Likewise.
60597         (have-mfma4): Likewise.
60598         (config-cflags-novzeroupper): Likewise.
60599         * sysdeps/mach/configure.in (MIG): Likewise.
60600         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60601         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60602         LIBC_CONFIG_VAR.
60603         (config-cflags-avx): Likewise.
60604         (config-cflags-sse2avx): Likewise.
60605         (have-mfma4): Likewise.
60606         (config-cflags-novzeroupper): Likewise.
60607         * configure: Regenerated.
60608         * sysdeps/i386/configure: Likewise.
60609         * sysdeps/mach/configure: Likewise.
60610         * sysdeps/sparc/configure: Likewise.
60611         * sysdeps/x86_64/configure: Likewise.
60613 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60615         [BZ #14812]
60616         * locale/programs/localedef.c (options): Put N_ translation marker
60617         on argument names, not just descriptions.
60619 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60621         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60623 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60625         [BZ #14176]
60626         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60628 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60630         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60631         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60632         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60633         [!BEFORE_ABORT] (before_abort): New function.
60634         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60635         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60636         (writev_for_fatal): New function.
60637         (WRITEV_FOR_FATAL): New macro; call that.
60638         (backtrace_and_maps): New function.
60639         (BEFORE_ABORT): New macro; call that.
60640         (struct str_list): Type removed.
60641         (__libc_message, __libc_fatal): Functions removed.
60642         Include <sysdeps/posix/libc_fatal.c> instead.
60644 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60646         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60647         constants.
60648         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60649         double constants.
60651 2013-03-19  Andreas Schwab  <schwab@suse.de>
60653         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60654         * sysdeps/gnu/configure: Regenerate.
60656         * configure.in: Substitute libc_cv_rtlddir.
60657         * configure: Regenerate.
60658         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60659         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60660         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60661         * elf/Makefile (install-others, CFLAGS-interp.c)
60662         (ldso_install, common-ldd-rewrite): Likewise.
60663         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60664         $(inst_slibdir)/$(rtld-installed-name).
60665         * scripts/rellns-sh: Add -p option.
60666         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60667         for source.
60669 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60671         * manual/nptl.texi: Renamed to ...
60672         * manual/threads.texi: ... this.
60673         * manual/Makefile (chapters): Update.
60675 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60677         [BZ #14812]
60678         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60679         on argument names, not just descriptions.
60680         * malloc/memusagestat.c (options): Likewise.
60681         * nss/getent.c (options): Likewise.
60683 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60685         [BZ #14812]
60686         * iconv/iconv_prog.c (options): Put N_ translation marker
60687         on argument names, not just descriptions.
60688         * iconv/iconvconfig.c (options): Likewise.
60690 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60692         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60693         implementation which is faster on all x86_64 architectures.
60694         Tested on AMD, Intel Nehalem, SNB, IVB.
60695         * sysdeps/x86_64/strnlen.S: Likewise.
60697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60698         Remove all multiarch strlen and strnlen versions.
60699         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60700         Remove strlen and strnlen related parts.
60702         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60703         Inline strlen part.
60704         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60706         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60707         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60708         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60709         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60710         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60711         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60713 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60715         * manual/memory.texi (Malloc Tunable Parameters):
60716         Sort parameters alphabetically. Add comments for missing entries.
60718 2013-03-17  David S. Miller  <davem@davemloft.net>
60720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60722 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60724         [BZ #15283]
60725         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60726         for arguments at most half maximum finite value.
60727         * math/libm-test.inc (j0_test): Add more tests.
60728         (j1_test): Likewise.
60729         (y0_test): Likewise.
60730         (y1_test): Likewise.
60731         * sysdeps/i386/fpu/libm-test-ulps: Update.
60732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60734         [BZ #14155]
60735         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60736         1 / x and functions P and Q for arguments above 0x1p256L.
60737         (__ieee754_y0l): Likewise.
60738         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60739         (__ieee754_y1l): Likewise.
60740         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60741         (j1_test): Likewise.
60742         (y0_test): Likewise.
60743         (y1_test): Likewise.
60745 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60747         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60748         variable.
60750 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60752         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60753         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60754         zero since it's initialized to EXEC_PAGESIZE.
60756         * sysdeps/unix/sysv/linux/ldsodefs.h
60757         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60758         * sysdeps/generic/ldsodefs.h: ... here.
60760 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60762         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60764         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60765         math/test-snan.c.
60766         * math/test-snan.c: Renamed from
60767         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60768         * math/Makefile (tests): Add test-snan.
60769         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60770         test-powerpc-snan.
60772         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60773         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60774         functions.
60775         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60776         __builtin_nan family of functions.
60777         * math/libm-test.inc (initialize): Initialize qnan_value with
60778         __builtin_nan family of functions.
60779         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60780         Remove variables.
60781         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60782         Remove functions.
60783         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60784         storage class.  Initialize qNaN_var and sNaN_var with
60785         __builtin_nan and __builtin_nans families of functions,
60786         respectively.
60788         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60789         (sqrt_test): Remove duplicate test with qNaN input.
60790         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60791         (round_test, signbit_test, significand_test): Note missing +/-Inf
60792         as well as qNaN tests.
60794         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60795         qNaN_var.  Fix a few strings, too.
60796         * math/libm-test.inc (nan_value): Rename to qnan_value.
60797         * math/gen-libm-test.pl (%beautify): Adjust to that.
60798         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60799         * math/test-misc.c (main): Likewise.
60800         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60801         to __qnan_bytes, and __qnan_union, respectively.
60802         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60803         Likewise.
60804         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60805         and lqnanval, respectively.
60806         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60807         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60808         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60809         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60811         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60812         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60813         doubles.
60815         * math/test-misc.c (main): Fix copy'n'pastos.
60816         * misc/tst-efgcvt.c (special): Likewise.
60818         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60819         Remove declarations.
60821 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60823         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60824         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60825         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60826         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60828 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60830         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60831         macro to return vdso values correctly in IFUNC implementations.
60832         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60833         Optimization by using IFUNC.
60835 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60836             Richard Henderson  <rth@redhat.com>
60837             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60839         * Makefile.in (bench): New target.
60840         * NEWS: Mention the benchmark framework.
60841         * Rules (bench): Likewise.
60842         (binaries-bench): Generate binaries for functions to
60843         benchmark.
60844         * benchtests/Makefile: New makefile for benchmark tests.
60845         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60846         programs.
60847         * benchtests/exp-inputs: New input file for EXP function.
60848         * benchtests/pow-inputs: New input file for POW function.
60849         * scripts/bench.pl: New script to generate source files for
60850         benchmark programs.
60852 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60854         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60856         computations on mantissa.  Use macros for rounding and
60857         division.
60858         (denorm): Likewise.
60859         (__dbl_mp): Likewise.
60860         (add_magnitudes): Likewise.
60861         (sub_magnitudes): Likewise.
60862         (__mul): Likewise.
60863         (__sqr): Likewise.
60864         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60865         powers of two in terms of TWOPOW macro.
60866         (mp_no): Make type of mantissa as MANTISSA_T.
60867         [!RADIXI]: Define RADIXI.
60868         [!TWO52]: Define TWO52.
60869         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60871         * manual/nptl.texi (cindex): Modify threads to pthreads.
60873 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60875         * sysdeps/x86_64/preconfigure: Regenerated.
60877 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60879         [BZ #14155]
60880         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60881         0x1p28 and above.
60882         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60883         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60884         0x1p28 and above.
60885         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60886         * math/libm-test.inc (j0_test): Do not allow one spurious
60887         underflow exception.
60888         (y1_test): Likewise.
60890 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60892         * manual/Makefile (chapters): Add nptl.
60893         * manual/debug.texi (Debugging Support): Add link to Threads
60894         chapter.
60895         * manual/nptl.texi: New file.
60897         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60899 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60901         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60902         for non-NULL pointer before the memory validity test. Pointed
60903         out by Holger Brunck <holger.brunck@keymile.com>.
60905 2013-03-13  Andreas Schwab  <schwab@suse.de>
60907         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60908         instead of .os.
60910 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60912         * timezone/zic.c: Update from tzcode 2013b.
60914 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60916         * manual/install.texi (Configuring and compiling):
60917         Mention i686 and i586.
60918         * INSTALL: Regenerate.
60920 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60922         * sysdeps/init_array/elf-init.c: New file.
60923         * csu/elf-init.c
60924         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60925         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60927         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60928         __gmon_start__ as global, but as static with a .preinit_array pointer.
60929         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60930         * sysdeps/init_array/crti.S: New file, empty except for comments.
60931         * sysdeps/init_array/crtn.S: Likewise.
60933 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60935         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60936         definining bcopy.
60937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60938         Remove Prefer_SSE_for_memop.
60939         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60940         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60941         HAS_PREFER_SSE_FOR_MEMOP.
60942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60943         memset-x86-64.
60944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60945         Remove bzero, memset ifunc support.
60946         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60947         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60948         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60949         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60951 2013-03-11  Andreas Schwab  <schwab@suse.de>
60953         [BZ #15234]
60954         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60955         by SHLIB_COMPAT.
60956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60957         (GLIBC_2.16): Remove pthread_atfork.
60959 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60961         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60962         (ptestcases.h): Likewise.
60964 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60966         * Makeconfig ($(common-objpfx)config.status): Depend on
60967         sysdeps/*/preconfigure{,.in} too.
60969 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60971         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60972         (__free_hook): Use void * instead of __malloc_ptr_t.
60973         (__malloc_hook): Likewise.
60974         (__realloc_hook): Likewise.
60975         (__memalign_hook): Likewise.
60976         (__after_morecore_hook): Likewise.
60977         * malloc/arena.c (save_malloc_hook): Likewise.
60978         (save_free_hook): Likewise.
60979         * malloc/hooks.c (malloc_hook_ini): Likewise.
60980         (realloc_hook_ini): Likewise.
60981         (memalign_hook_ini): Likewise.
60982         * malloc/malloc.c (malloc_hook_ini): Likewise.
60983         (realloc_hook_ini): Likewise.
60984         (memalign_hook_ini): Likewise.
60985         (__free_hook): Likewise.
60986         (__malloc_hook): Likewise.
60987         (__realloc_hook): Likewise.
60988         (__memalign_hook): Likewise.
60989         (__libc_malloc): Likewise.
60990         (__libc_free): Likewise.
60991         (__libc_realloc): Likewise.
60992         (__libc_memalign): Likewise.
60993         (__libc_valloc): Likewise.
60994         (__libc_pvalloc): Likewise.
60995         (__libc_calloc): Likewise.
60996         (__posix_memalign): Likewise.
60997         * malloc/morecore.c (__sbrk): Likewise.
60998         (__default_morecore): Likewise.
61000         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61002         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61003         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61004         __malloc_ptrdiff_t.
61006         * malloc/malloc.h (__malloc_size_t): Remove macro.
61007         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61008         __malloc_size_t.
61009         (old_memalign_hook): Likewise.
61010         (old_realloc_hook): Likewise.
61011         (struct hdr): Likewise.
61012         (flood): Likewise.
61013         (mallochook): Likewise.
61014         (memalignhook): Likewise.
61015         (reallochook): Likewise.
61016         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61017         (tr_old_realloc_hook): Likewise.
61018         (tr_old_memalign_hook): Likewise.
61019         (tr_mallochook): Likewise.
61020         (tr_reallochook): Likewise.
61021         (tr_memalignhook): Likewise.
61023 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61026         default_ldbl_pack and using as default implementation.
61027         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61028         implementation.
61029         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61030         redundant definition.
61031         (ldbl_insert_mantissa): Likewise.
61032         (ldbl_canonicalize): Likewise.
61033         (ldbl_nearbyint): Likewise.
61034         (ldbl_pack): Rename to ldbl_pack_ppc.
61035         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61036         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61037         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61039 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61042         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61043         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61044         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61046         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61047         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61048         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61050 2013-03-07  Andreas Jaeger  <aj@suse.de>
61052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61053         bits/mman-linux.h.
61055 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61057         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61058         Include mpa.h and declare __MPEXP.
61059         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61060         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61061         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61062         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61063         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61064         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61065         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61067         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61068         (__slowpow): Use long double EXPL and LOGL functions to
61069         compute POW.
61070         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61071         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61072         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61073         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61074         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61075         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61078         intermediate variable to calculate exponent.
61079         (__sqr): Likewise.
61080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61081         Likewise.
61082         (__sqr): Likewise.
61084         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61085         [!NO__SQR]: Define __sqr.
61086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61087         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61088         sysdeps/ieee754/dbl-64/mpa.c.
61089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61091         [BZ #12723]
61092         * posix/Makefile (tests): Add tst-pathconf.
61093         * posix/tst-pathconf.c: New test case.
61094         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61095         _PC_PIPE_BUF.
61096         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61098 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61100         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61102 2013-03-06  Andreas Jaeger  <aj@suse.de>
61104         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61105         definition via __MAP_ANONYMOUS.
61107         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61108         it's not part of Linux headers.
61110         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61111         (MAP_HUGE_MASK): Define.
61113         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61114         Define.
61115         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61116         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61117         Define.
61118         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61119         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61120         Define.
61121         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61123         Define.
61124         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61126         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61127         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61128         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61129         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61130         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61131         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61133         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61134         Handle f2fs.
61136         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61137         Handle f2fs and efivarfs.
61139         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61140         f2fs.
61142         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61143         (EFIVARFS_MAGIC): Add.
61144         (F2FS_LINK_MAX): Add.
61146 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61148         * stdio-common/vfprintf.c: Replace __builtin_expect with
61149         __glibc_unlikely.
61151 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61153         [BZ #13550]
61154         * sysdeps/generic/bp-sym.h: Remove file.
61155         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61156         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61157         <bp-sym.h> and <bp-asm.h>.
61158         (__longjmp): Don't use BP_SYM.
61159         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61160         and <bp-asm.h>.
61161         (memcpy): Don't use BP_SYM.
61162         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61163         <bp-sym.h> and <bp-asm.h>.
61164         (memcpy): Don't use BP_SYM.
61165         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61166         <bp-asm.h>.
61167         (memcpy): Don't use BP_SYM.
61168         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61169         <bp-asm.h>.
61170         (memset): Don't use BP_SYM.
61171         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61172         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61173         (__bzero): Don't use BP_SYM.
61174         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61175         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61176         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61177         <bp-sym.h> and <bp-asm.h>.
61178         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61179         pointers.
61180         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61181         <bp-sym.h> and <bp-asm.h>.
61182         (memcpy): Don't use BP_SYM.
61183         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61184         <bp-sym.h> and <bp-asm.h>.
61185         (memset): Don't use BP_SYM.
61186         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61187         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61188         (__bzero): Don't use BP_SYM.
61189         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61190         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61191         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61192         <bp-sym.h> and <bp-asm.h>.
61193         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61194         pointers.
61195         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61196         <bp-sym.h> and <bp-asm.h>.
61197         (memcpy): Don't use BP_SYM.
61198         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61199         <bp-sym.h> and <bp-asm.h>.
61200         (memset): Don't use BP_SYM.
61201         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61202         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61203         (__bzero): Don't use BP_SYM.
61204         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61205         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61206         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61207         <bp-sym.h> and <bp-asm.h>.
61208         (__memchr): Don't use BP_SYM.
61209         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61210         <bp-sym.h> and <bp-asm.h>.
61211         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61212         pointers.
61213         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61214         <bp-sym.h> and <bp-asm.h>.
61215         (memcpy): Don't use BP_SYM.
61216         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61217         <bp-sym.h> and <bp-asm.h>.
61218         (__mempcpy): Don't use BP_SYM.
61219         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61220         <bp-sym.h> and <bp-asm.h>.
61221         (__memrchr): Don't use BP_SYM.
61222         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61223         <bp-sym.h> and <bp-asm.h>.
61224         (memset): Don't use BP_SYM.
61225         (__bzero): Likewise.
61226         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61227         <bp-sym.h> and <bp-asm.h>.
61228         (__rawmemchr): Don't use BP_SYM.
61229         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61230         <bp-sym.h> and <bp-asm.h>.
61231         (__STRCMP): Don't use BP_SYM.
61232         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61233         <bp-sym.h> and <bp-asm.h>.
61234         (strchr): Don't use BP_SYM.
61235         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61236         <bp-sym.h> and <bp-asm.h>.
61237         (__strchrnul): Don't use BP_SYM.
61238         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61239         <bp-sym.h> and <bp-asm.h>.
61240         (strlen): Don't use BP_SYM.
61241         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61242         <bp-sym.h> and <bp-asm.h>.
61243         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61244         pointers.
61245         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61246         <bp-sym.h> and <bp-asm.h>.
61247         (__strnlen): Don't use BP_SYM.
61248         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61249         <bp-sym.h> and <bp-asm.h>.
61250         (__GI__setjmp): Don't use BP_SYM.
61251         (_setjmp): Likewise.
61252         (__sigsetjmp): Likewise.
61253         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61254         (L(start_addresses)): Don't use BP_SYM.
61255         (_start): Likewise.
61256         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61257         <bp-asm.h>.
61258         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61259         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61260         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61261         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61262         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61263         <bp-asm.h>.
61264         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61265         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61266         about bounded pointers.
61267         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61268         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61269         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61270         <bp-asm.h>.
61271         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61272         about bounded pointers.  Remove GKM FIXME comments.
61273         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61274         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61275         <bp-asm.h>.
61276         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61277         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61278         Remove GKM FIXME comments.
61279         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61280         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61281         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61282         <bp-asm.h>.
61283         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61284         about bounded pointers.  Remove GKM FIXME comment.
61285         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61286         and <bp-asm.h>.
61287         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61288         pointers.
61289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61290         <bp-sym.h> and <bp-asm.h>.
61291         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61293         <bp-sym.h> and <bp-asm.h>.
61294         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61295         comment.
61297 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61299         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61300         call free(NULL).
61302 2013-03-05  David S. Miller  <davem@davemloft.net>
61304         * po/es.po: Update from translation team.
61306 2013-03-05  Andreas Jaeger  <aj@suse.de>
61308         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61309         <bits/mman-linux.h>.
61310         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61311         is fine.
61312         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61313         <bits/mman-linux.h> to end of file.
61314         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61315         is fine.
61316         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61317         <bits/mman-linux.h> to end of file.
61318         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61319         is fine.
61320         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61321         <bits/mman-linux.h> to end of file.
61323         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61324         (MCL_CURRENT, MCL_FUTURE): Define here.
61326 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61328         [BZ #15232]
61329         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61330         attribute_hidden.
61331         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61333 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61336         fourth parameter needed for rt_sigprocmask syscall.
61337         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61338         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61339         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61340         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61341         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61342         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61344 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61346         [BZ #13550]
61347         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61348         comment about bounded pointers.
61349         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61350         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61352 2013-03-04  Andreas Jaeger  <aj@suse.de>
61354         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61355         common definitions.
61357         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61358         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61359         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61360         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61361         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61362         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61364 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61366         [BZ #15055]
61367         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61368         __ieee754_sqrl instead of __sqrl.
61370 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61372         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61373         * sysdeps/powerpc/fpu_control.h: ... here.
61374         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61375         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61376         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61377         * sysdeps/powerpc/bits/mathinline.h: ... here.
61379 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61381         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61382         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61383         to just [NEED_DL_SYSINFO_DSO].
61384         * elf/dl-support.c: Likewise.
61385         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61386         * elf/rtld.c (dl_main): Likewise.
61387         * elf/setup-vdso.h (setup_vdso): Likewise.
61388         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61389         * sysdeps/unix/sysv/linux/dl-sysdep.c
61390         (_dl_discover_osversion): Likewise.
61392 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61394         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61395         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61397 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61399         * NEWS: Mention libm performance improvements and non-x86 PI
61400         futex support.
61402         * csu/libc-start.c (__pthread_initialize_minimal): Change
61403         function arguments.
61404         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61406 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61408         [BZ #13550]
61409         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61410         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61411         <bp-sym.h> and <bp-asm.h>.
61412         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61413         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61414         and <bp-asm.h>.
61415         (memcpy): Don't use BP_SYM.
61416         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61417         <bp-asm.h>.
61418         (__mpn_add_n): Don't use BP_SYM.
61419         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61420         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61421         and <bp-asm.h>.
61422         (__mpn_addmul_1): Don't use BP_SYM.
61423         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61424         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61425         <bp-sym.h>.
61426         (_setjmp): Don't use BP_SYM.
61427         (__novmx_setjmp): Likewise.
61428         (__GI__setjmp): Likewise.
61429         (__vmx_setjmp): Likewise.
61430         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61431         <bp-sym.h>.
61432         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61433         (__bzero): Don't use BP_SYM.
61434         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61435         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61436         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61437         <bp-sym.h> and <bp-asm.h>.
61438         (memcpy): Don't use BP_SYM.
61439         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61440         <bp-sym.h> and <bp-asm.h>.
61441         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61443         <bp-sym.h> and <bp-asm.h>.
61444         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61445         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61446         <bp-asm.h>.
61447         (__mpn_lshift): Don't use BP_SYM.
61448         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61449         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61450         <bp-asm.h>.
61451         (memset): Don't use BP_SYM.
61452         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61453         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61454         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61455         <bp-asm.h>.
61456         (__mpn_mul_1): Don't use BP_SYM.
61457         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61459         <bp-sym.h> and <bp-asm.h>.
61460         (memcmp): Don't use BP_SYM.
61461         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61462         <bp-sym.h> and <bp-asm.h>.
61463         (memcpy): Don't use BP_SYM.
61464         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61465         <bp-sym.h> and <bp-asm.h>.
61466         (memset): Don't use BP_SYM.
61467         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61468         <bp-sym.h> and <bp-asm.h>.
61469         (strncmp): Don't use BP_SYM.
61470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61471         <bp-sym.h> and <bp-asm.h>.
61472         (memcpy): Don't use BP_SYM.
61473         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61474         <bp-sym.h> and <bp-asm.h>.
61475         (memset): Don't use BP_SYM.
61476         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61477         <bp-sym.h> and <bp-asm.h>.
61478         (__memchr): Don't use BP_SYM.
61479         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61480         <bp-sym.h> and <bp-asm.h>.
61481         (memcmp): Don't use BP_SYM.
61482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61483         <bp-sym.h> and <bp-asm.h>.
61484         (memcpy): Don't use BP_SYM.
61485         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61486         <bp-sym.h> and <bp-asm.h>.
61487         (__mempcpy): Don't use BP_SYM.
61488         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61489         <bp-sym.h> and <bp-asm.h>.
61490         (__memrchr): Don't use BP_SYM.
61491         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61492         <bp-sym.h> and <bp-asm.h>.
61493         (memset): Don't use BP_SYM.
61494         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61495         <bp-sym.h> and <bp-asm.h>.
61496         (__rawmemchr): Don't use BP_SYM.
61497         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61498         <bp-sym.h> and <bp-asm.h>.
61499         (__STRCMP): Don't use BP_SYM.
61500         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61501         <bp-sym.h> and <bp-asm.h>.
61502         (strchr): Don't use BP_SYM.
61503         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61504         <bp-sym.h> and <bp-asm.h>.
61505         (__strchrnul): Don't use BP_SYM.
61506         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61507         <bp-sym.h> and <bp-asm.h>.
61508         (strlen): Don't use BP_SYM.
61509         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61510         <bp-sym.h> and <bp-asm.h>.
61511         (strncmp): Don't use BP_SYM.
61512         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61513         <bp-sym.h> and <bp-asm.h>.
61514         (__strnlen): Don't use BP_SYM.
61515         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61516         <bp-asm.h>.
61517         (__mpn_rshift): Don't use BP_SYM.
61518         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61519         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61520         <bp-sym.h> and <bp-asm.h>.
61521         (__sigsetjmp): Don't use BP_SYM.
61522         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61523         (L(start_addresses)): Don't use BP_SYM.
61524         (_start): Likewise.
61525         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61526         <bp-asm.h>.
61527         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61528         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61529         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61530         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61531         <bp-asm.h>.
61532         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61533         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61534         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61535         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61536         <bp-asm.h>.
61537         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61538         comments.
61539         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61540         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61541         <bp-asm.h>.
61542         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61543         FIXME comments.
61544         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61545         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61546         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61547         <bp-asm.h>.
61548         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61549         comment.
61550         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61551         and <bp-asm.h>.
61552         (strncmp): Don't use BP_SYM,
61553         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61554         <bp-asm.h>.
61555         (__mpn_sub_n): Don't use BP_SYM.
61556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61557         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61558         and <bp-asm.h>.
61559         (__mpn_submul_1): Don't use BP_SYM.
61560         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61562         <bp-sym.h> and <bp-asm.h>.
61563         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61565         <bp-sym.h> and <bp-asm.h>.
61566         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61567         comment.
61569 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61572         Use ZK to minimize writes to Z.
61573         (sub_magnitudes): Simplify code a bit.
61574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61575         Use ZK to minimize writes to Z.
61576         (sub_magnitudes): Simplify code a bit.
61578 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61580         * csu/gmon-start.c: Add special exception to license text.
61582 2013-02-27  Richard Henderson  <rth@redhat.com>
61584         * scripts/config.guess: Update from config.git.
61585         * scripts/config.sub: Likewise.
61587 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61589         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61591         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61593         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61595         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61597         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61599 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61601         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61602         [$(build-shared = yes].
61604 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61606         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61607         (__mul): Reduce iterations for calculating mantissa.
61609         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61610         MPTWO.
61611         (__mpranred): Likewise.
61613         [BZ #15160]
61614         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61615         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61617 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61619         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61620         Define __attribute__.
61622 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61624         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61625         unused.
61626         * posix/regex_internal.h (__attribute): Remove.
61627         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61628         (re_string_context_at): Likewise.
61629         (bitset_not): Use __attribute__ and mark function as possibly
61630         unused.
61631         (bitset_merge): Likewise.
61632         (bitset_mask): Likewise.
61633         (re_string_char_size_at): Likewise.
61634         (re_string_wchar_at): Likewise.
61635         (re_string_elem_size_at): Likewise.
61637 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61639         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61640         code.
61641         (cc32): Likewise.
61643         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61644         (__acr): Likewise.
61645         (__cpy): Likewise.
61646         (norm): Likewise.
61647         (denorm): Likewise.
61648         (__dbl_mp): Likewise.
61649         (add_magnitudes): Likewise.
61650         (sub_magnitudes): Likewise.
61651         (__mul): Likewise.
61652         (__inv): Likewise.
61654         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61655         style.
61657         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61658         style.
61660         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61661         code.
61663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61664         up changes with default code.
61665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61666         Likewise.
61668 2013-02-24  Allan McRae  <allan@archlinux.org>
61670         * manual/socket.texi (The Internet Namespace): Order menu items
61671         to match that in the file.
61673         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61674         node listing of the info page menu.
61676 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61678         [BZ #13550]
61679         * sysdeps/i386/bp-asm.h: Remove file.
61680         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61681         (PARMS): Do not use macros from bp-asm.h.
61682         (S1): Likewise.
61683         (S2): Likewise.
61684         (SIZE): Likewise.
61685         (__mpn_add_n): Do not use BP_SYM
61686         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61687         "bp-asm.h".
61688         (PARMS): Do not use macros from bp-asm.h.
61689         (S1): Likewise.
61690         (SIZE): Likewise.
61691         (__mpn_addmul_1): Do not use BP_SYM
61692         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61693         "bp-asm.h".
61694         (PARMS): Do not use macros from bp-asm.h.
61695         (SIGMSK): Likewise.
61696         (_setjmp): Likewise.  Do not use BP_SYM.
61697         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61698         "bp-asm.h".
61699         (PARMS): Do not use macros from bp-asm.h.
61700         (SIGMSK): Likewise.
61701         (setjmp): Likewise.  Do not use BP_SYM.
61702         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61703         "bp-asm.h".
61704         (PARMS): Do not use macros from bp-asm.h.
61705         (__frexp): Do not use BP_SYM.
61706         (frexp): Likewise.
61707         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61708         "bp-asm.h".
61709         (PARMS): Do not use macros from bp-asm.h.
61710         (__frexpf): Do not use BP_SYM.
61711         (frexpf): Likewise.
61712         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61713         "bp-asm.h".
61714         (PARMS): Do not use macros from bp-asm.h.
61715         (__frexpl): Do not use BP_SYM.
61716         (frexpl): Likewise.
61717         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61718         "bp-asm.h".
61719         (PARMS): Do not use macros from bp-asm.h.
61720         (__remquo): Do not use BP_SYM.
61721         (remquo): Likewise.
61722         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61723         "bp-asm.h".
61724         (PARMS): Do not use macros from bp-asm.h.
61725         (__remquof): Do not use BP_SYM.
61726         (remquof): Likewise.
61727         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61728         "bp-asm.h".
61729         (PARMS): Do not use macros from bp-asm.h.
61730         (__remquol): Do not use BP_SYM.
61731         (remquol): Likewise.
61732         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61733         "bp-asm.h".
61734         (PARMS): Do not use macros from bp-asm.h.
61735         (DEST): Likewise.
61736         (SRC): Likewise.
61737         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61738         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61739         "bp-asm.h".
61740         (PARMS): Do not use macros from bp-asm.h.
61741         (strlen): Do not use BP_SYM.
61742         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61743         "bp-asm.h".
61744         (PARMS): Do not use macros from bp-asm.h.
61745         (S1): Likewise.
61746         (S2): Likewise.
61747         (SIZE): Likewise.
61748         (__mpn_add_n): Do not use BP_SYM.
61749         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61750         "bp-asm.h".
61751         (PARMS): Do not use macros from bp-asm.h.
61752         (S1): Likewise.
61753         (SIZE): Likewise.
61754         (__mpn_addmul_1): Do not use BP_SYM.
61755         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61756         weak_alias.
61757         (bzero): Likewise.
61758         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61759         "bp-asm.h".
61760         (PARMS): Do not use macros from bp-asm.h.
61761         (S): Likewise.
61762         (SIZE): Likewise.
61763         (__mpn_lshift): Do not use BP_SYM.
61764         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61765         "bp-asm.h".
61766         (PARMS): Do not use macros from bp-asm.h.
61767         (DEST): Likewise.
61768         (SRC): Likewise.
61769         (LEN): Likewise.
61770         (memcpy): Likewise.  Do not use BP_SYM.
61771         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61772         libc_hidden_def and weak_alias.
61773         (mempcpy): Do not use BP_SYM in weak_alias.
61774         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61775         "bp-asm.h".
61776         (PARMS): Do not use macros from bp-asm.h.
61777         (DEST): Likewise.
61778         (LEN): Likewise.
61779         [!BZERO_P] (CHR): Likewise.
61780         (memset): Likewise.  Do not use BP_SYM.
61781         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61782         "bp-asm.h".
61783         (PARMS): Do not use macros from bp-asm.h.
61784         (S1): Likewise.
61785         (SIZE): Likewise.
61786         (__mpn_mul_1): Do not use BP_SYM.
61787         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61788         "bp-asm.h".
61789         (PARMS): Do not use macros from bp-asm.h.
61790         (S): Likewise.
61791         (SIZE): Likewise.
61792         (__mpn_rshift): Do not use BP_SYM.
61793         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61794         "bp-asm.h".
61795         (PARMS): Do not use macros from bp-asm.h.
61796         (STR): Likewise.
61797         (CHR): Likewise.
61798         (strchr): Likewise.  Do not use BP_SYM.
61799         (index): Do not use BP_SYM in weak_alias.
61800         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61801         "bp-asm.h".
61802         (PARMS): Do not use macros from bp-asm.h.
61803         (DEST): Likewise.
61804         (SRC): Likewise.
61805         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61806         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61807         "bp-asm.h".
61808         (PARMS): Do not use macros from bp-asm.h.
61809         (strlen): Do not use BP_SYM.
61810         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61811         "bp-asm.h".
61812         (PARMS): Do not use macros from bp-asm.h.
61813         (S1): Likewise.
61814         (S2): Likewise.
61815         (SIZE): Likewise.
61816         (__mpn_sub_n): Do not use BP_SYM.
61817         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61818         "bp-asm.h".
61819         (PARMS): Do not use macros from bp-asm.h.
61820         (S1): Likewise.
61821         (SIZE): Likewise.
61822         (__mpn_submul_1): Do not use BP_SYM.
61823         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61824         "bp-asm.h".
61825         (PARMS): Do not use macros from bp-asm.h.
61826         (S1): Likewise.
61827         (S2): Likewise.
61828         (SIZE): Likewise.
61829         (__mpn_add_n): Do not use BP_SYM.
61830         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61831         weak_alias.
61832         (bzero): Likewise.
61833         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61834         "bp-asm.h".
61835         (PARMS): Do not use macros from bp-asm.h.
61836         (BLK2): Likewise.
61837         (LEN): Likewise.
61838         (memcmp): Do not use BP_SYM.
61839         (bcmp): Do not use BP_SYM in weak_alias.
61840         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61841         "bp-asm.h".
61842         (PARMS): Do not use macros from bp-asm.h.
61843         (DEST): Likewise.
61844         (SRC): Likewise.
61845         (LEN): Likewise.
61846         (memcpy): Likewise.  Do not use BP_SYM.
61847         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61848         "bp-asm.h".
61849         (PARMS): Do not use macros from bp-asm.h.
61850         (DEST): Likewise.
61851         (SRC): Likewise.
61852         (LEN): Likewise.
61853         (memmove): Likewise.  Do not use BP_SYM.
61854         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61855         "bp-asm.h".
61856         (PARMS): Do not use macros from bp-asm.h.
61857         (DEST): Likewise.
61858         (SRC): Likewise.
61859         (LEN): Likewise.
61860         (__mempcpy): Likewise.  Do not use BP_SYM.
61861         (mempcpy): Do not use BP_SYM in weak_alias.
61862         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61863         "bp-asm.h".
61864         (PARMS): Do not use macros from bp-asm.h.
61865         (DEST): Likewise.
61866         (LEN): Likewise.
61867         [!BZERO_P] (CHR): Likewise.
61868         (memset): Likewise.  Do not use BP_SYM.
61869         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61870         "bp-asm.h".
61871         (PARMS): Do not use macros from bp-asm.h.
61872         (STR2): Likewise.
61873         (strcmp): Do not use BP_SYM.
61874         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61875         "bp-asm.h".
61876         (PARMS): Do not use macros from bp-asm.h.
61877         (STR): Likewise.
61878         (DELIM): Likewise.
61879         [USE_AS_STRTOK_R] (SAVE): Likewise.
61880         (FUNCTION): Likewise.  Do not use BP_SYM.
61881         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61882         aliases.
61883         (strtok_r): Likewise.
61884         (__GI___strtok_r): Likewise.
61885         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61886         (PARMS): Do not use macros from bp-asm.h.
61887         (S): Likewise.
61888         (SIZE): Likewise.
61889         (__mpn_lshift): Do not use BP_SYM.
61890         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61891         (PARMS): Do not use macros from bp-asm.h.
61892         (STR): Likewise.
61893         (CHR): Likewise.
61894         (__memchr): Do not use BP_SYM.
61895         (memchr): Do not use BP_SYM in weak_alias.
61896         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61897         (PARMS): Do not use macros from bp-asm.h.
61898         (BLK2): Likewise.
61899         (LEN): Likewise.
61900         (memcmp): Do not use BP_SYM.
61901         (bcmp): Do not use BP_SYM in weak_alias.
61902         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61903         (PARMS): Do not use macros from bp-asm.h.
61904         (S1): Likewise.
61905         (SIZE): Likewise.
61906         (__mpn_mul_1): Do not use BP_SYM.
61907         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61908         "bp-asm.h".
61909         (PARMS): Do not use macros from bp-asm.h.
61910         (STR): Likewise.
61911         (CHR): Likewise.
61912         (__rawmemchr): Do not use BP_SYM.
61913         (rawmemchr): Do not use BP_SYM in weak_alias.
61914         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61915         (PARMS): Do not use macros from bp-asm.h.
61916         (S): Likewise.
61917         (SIZE): Likewise.
61918         (__mpn_rshift): Do not use BP_SYM.
61919         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61920         (PARMS): Do not use macros from bp-asm.h.
61921         (SIGMSK): Likewise.
61922         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61923         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61924         (_start): Do not use BP_SYM.
61925         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61926         (PARMS): Do not use macros from bp-asm.h.
61927         (DEST): Likewise.
61928         (SRC): Likewise.
61929         (__stpcpy): Likewise.  Do not use BP_SYM.
61930         (stpcpy): Do not use BP_SYM in weak_alias.
61931         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61932         "bp-asm.h".
61933         (PARMS): Do not use macros from bp-asm.h.
61934         (DEST): Likewise.
61935         (SRC): Likewise.
61936         (LEN): Likewise.
61937         (__stpncpy): Likewise.  Do not use BP_SYM.
61938         (stpncpy): Do not use BP_SYM in weak_alias.
61939         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61940         (PARMS): Do not use macros from bp-asm.h.
61941         (STR): Likewise.
61942         (CHR): Likewise.
61943         (strchr): Likewise.  Do not use BP_SYM.
61944         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61945         "bp-asm.h".
61946         (PARMS): Do not use macros from bp-asm.h.
61947         (STR): Likewise.
61948         (CHR): Likewise.
61949         (__strchrnul): Likewise.  Do not use BP_SYM.
61950         (strchrnul): Do not use BP_SYM in weak_alias.
61951         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61952         "bp-asm.h".
61953         (PARMS): Do not use macros from bp-asm.h.
61954         (STOP): Likewise.
61955         (strcspn): Do not use BP_SYM.
61956         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61957         "bp-asm.h".
61958         (PARMS): Do not use macros from bp-asm.h.
61959         (STR): Likewise.
61960         (STOP): Likewise.
61961         (strpbrk): Likewise.  Do not use BP_SYM.
61962         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61963         "bp-asm.h".
61964         (PARMS): Do not use macros from bp-asm.h.
61965         (STR): Likewise.
61966         (CHR): Likewise.
61967         (strrchr): Likewise.  Do not use BP_SYM.
61968         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61969         (PARMS): Do not use macros from bp-asm.h.
61970         (SKIP): Likewise.
61971         (strspn): Do not use BP_SYM.
61972         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61973         (PARMS): Do not use macros from bp-asm.h.
61974         (STR): Likewise.
61975         (DELIM): Likewise.
61976         (SAVE): Likewise.
61977         (FUNCTION): Likewise.  Do not use BP_SYM.
61978         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61979         aliases.
61980         (strtok_r): Likewise.
61981         (__GI___strtok_r): Likewise.
61982         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61983         (PARMS): Do not use macros from bp-asm.h.
61984         (S1): Likewise.
61985         (S2): Likewise.
61986         (SIZE): Likewise.
61987         (__mpn_sub_n): Do not use BP_SYM.
61988         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61989         "bp-asm.h".
61990         (PARMS): Do not use macros from bp-asm.h.
61991         (S1): Likewise.
61992         (SIZE): Likewise.
61993         (__mpn_submul_1): Do not use BP_SYM.
61994         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61995         <bp-sym.h>.
61996         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61997         and <bp-asm.h>.
61998         (PARMS): Do not use macros from bp-asm.h.
61999         (FLAGS): Likewise.
62000         (PTID): Likewise.
62001         (TLS): Likewise.
62002         (CTID): Likewise.
62003         (__clone): Do not use BP_SYM.
62004         (clone): Do not use BP_SYM in weak_alias.
62005         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62006         and <bp-asm.h>.
62007         (PARMS): Do not use macros from bp-asm.h.
62008         (LEN): Likewise.
62009         (__mmap64): Do not use BP_SYM.
62010         (mmap64): Do not use BP_SYM in weak_alias.
62011         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62012         <bp-sym.h> and <bp-asm.h>.
62013         (PARMS): Do not use macros from bp-asm.h.
62014         (__posix_fadvise64_l64): Do not use BP_SYM.
62015         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62016         (PARMS): Do not use macros from bp-asm.h.
62017         (NSOPS): Likewise.
62018         (semtimedop): Do not use BP_SYM.
62019         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62020         and <bp-asm.h>.
62022 2013-02-21  Allan McRae  <allan@archlinux.org>
62024         * manual/message.texi (Charset conversion in gettext):
62025         Move @end statement to beginning of line.
62027 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62030         static.
62031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62032         Likewise.
62034         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62035         (denorm): Likewise.
62036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62039 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62041         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62042         tail-call to the resolved function if pltexit isn't needed.
62044 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62047         or Y being zero as being unlikely.
62048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62049         Likewise.
62051 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62053         * manual/nss.texi (System Databases and Name Service Switch):
62054         Remove frobnicate @pxref.
62056 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62058         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62059         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62061 2013-02-20  Petr Machata  <pmachata@redhat.com>
62063         * elf/elf.h (R_ARM_TARGET1): New macro.
62064         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62065         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62066         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62067         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62068         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62069         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62070         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62071         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62072         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62073         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62074         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62075         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62076         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62077         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62078         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62079         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62080         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62081         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62082         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62083         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62084         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62085         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62086         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62087         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62088         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62089         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62090         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62091         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62092         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62093         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62094         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62095         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62096         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62097         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62098         (R_ARM_THM_GOT_BREL12): Likewise.
62099         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62100         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62101         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62102         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62103         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62104         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62105         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62106         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62107         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62109 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62111         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62112         __attribute_used__ to __attribute__ ((unused)).
62114 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62116         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62117         powerpc mpa.c.
62118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62119         comment formatting.
62120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62122 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62124         [BZ #13550]
62125         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62126         Remove macro.
62127         (ENTER): Remove both macro definitions.
62128         (LEAVE): Likewise.
62129         (CHECK_BOUNDS_LOW): Likewise.
62130         (CHECK_BOUNDS_HIGH): Likewise.
62131         (CHECK_BOUNDS_BOTH): Likewise.
62132         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62133         (RETURN_BOUNDED_POINTER): Likewise.
62134         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62135         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62136         (POP_ERRNO_LOCATION_RETURN): Likewise.
62137         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62138         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62139         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62140         macros.
62141         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62142         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62143         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62144         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62145         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62146         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62147         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62148         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62149         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62150         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62151         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62152         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62153         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62154         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62155         removed macros.
62156         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62157         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62158         macros.
62159         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62160         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62161         * sysdeps/i386/i586/memset.S (memset): Likewise.
62162         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62163         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62164         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62165         macros.
62166         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62167         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62168         Change uses of L(2) to L(out).
62169         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62170         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62171         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62172         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62173         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62174         removed macros.
62175         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62176         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62177         macros.
62178         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62179         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62180         (RETURN): Do not use macro LEAVE.
62181         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62182         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62183         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62184         * sysdeps/i386/i686/memset.S (memset): Likewise.
62185         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62186         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62187         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62188         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62189         Likewise.
62190         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62191         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62192         L(1_2) and L(1_3) into L(1).
62193         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62194         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62195         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62196         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62197         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62198         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62199         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62200         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62201         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62202         macros.
62203         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62204         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62205         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62206         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62207         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62208         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62209         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62210         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62211         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62212         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62213         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62214         * sysdeps/i386/strspn.S (strspn): Likewise.
62215         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62216         conditional code.
62217         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62218         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62219         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62220         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62221         L(1_3) into L(1_1).
62222         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62223         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62224         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62225         macros.
62226         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62228 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62230         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62231         macro.
62233 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62235         * math/atest-exp.c (exp_mpn): Remove ROUND.
62236         * math/atest-exp2.c (exp_mpn): Likewise.
62237         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62239         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62240         * stdlib/tst-tls-atexit-lib.c: Likewise.
62241         * stdlib/tst-tls-atexit.c: Likewise.
62243 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62245         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62246         and __attribute_alloc_size__.
62248 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62250         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62251         __attribute_alloc_size__.
62252         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62253         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62255 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62257         * include/programs/xmalloc.h: New file.
62258         * catgets/gencat.c: Include it.
62259         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62260         * elf/pldd.c: Likewise.
62261         * iconv/iconv_charmap.c: Likewise.
62262         * iconv/iconvconfig.c: Likewise.
62263         * iconv/strtab.c: Likewise.
62264         * locale/programs/locale.c: Likewise.
62265         * locale/programs/localedef.h: Likewise.
62266         * locale/programs/simple-hash.c: Likewise.
62267         * nscd/nscd.h: Likewise.
62268         * nss/makedb.c: Likewise.
62269         * sysdeps/generic/ldconfig.h: Likewise.
62271 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62273         * Versions.def: Add GLIBC_2.18.
62274         * include/link.h (struct link_map): New member l_tls_dtor_count.
62275         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62276         (__call_tls_dtors): Likewise.
62277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62278         __cxa_thread_atexit_impl.
62279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62280         Likewise.
62281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62282         Likewise.
62283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62284         Likewise.
62285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62286         Likewise.
62287         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62289         Likewise.
62290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62291         Likewise.
62292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62294         Likewise.
62295         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62296         (tests): Add test case tst-tls-atexit.
62297         (modules-names): Add shared library for tst-tls-atexit.
62298         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62299         (GLIBC_PRIVATE): Add __call_tls_dtors.
62300         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62301         for libstdc++.
62302         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62303         * stdlib/tst-tls-atexit.c: New test case.
62304         * stdlib/tst-tls-atexit-lib.c: New test case.
62306         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62308         * elf/Versions (ld): Add _dl_find_dso_for_object.
62309         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62310         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62311         (dl_open_worker): Use _dl_find_dso_for_object.
62312         * elf/dl-sym.c (do_sym): Likewise.
62313         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62315 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62317         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62318         Syntactic changes only.
62319         (_dl_runtime_profile): Do a tail-call to the resolved function.
62321 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62323         [BZ #13550]
62324         * sysdeps/x86_64/bp-asm.h: Remove file.
62325         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62326         <bp-sym.h> and <bp-asm.h>.
62327         (__clone): Do not use BP_SYM.
62328         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62329         <bp-sym.h> and <bp-asm.h>.
62330         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62331         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62332         "bp-asm.h".
62333         (_setjmp): Do not use BP_SYM.
62334         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62335         "bp-asm.h".
62336         (setjmp): Do not use BP_SYM.
62337         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62338         libc_hidden_def.
62339         (mempcpy): Do not use BP_SYM in weak_alias.
62340         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62341         "bp-asm.h".
62342         (strchr): Do not use BP_SYM.
62343         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62344         "bp-asm.h".
62345         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62346         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62347         (_start): Do not use BP_SYM.
62348         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62349         "bp-asm.h".
62350         (strcat): Do not use BP_SYM.
62351         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62352         "bp-asm.h".
62353         (STRCMP): Do not use BP_SYM.
62354         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62355         "bp-asm.h".
62356         (STRCPY): Do not use BP_SYM.
62357         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62358         "bp-asm.h".
62359         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62360         "bp-asm.h".
62361         (FUNCTION): Do not use BP_SYM.
62362         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62363         weak_alias.
62364         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62366 2013-02-17  Andreas Jaeger  <aj@suse.de>
62368         * time/Versions: Sort entries.
62369         * string/Versions: Likewise.
62370         * resolv/Versions: Likewise.
62371         * posix/Versions: Likewise.
62372         * iconv/Versions: Likewise.
62373         * elf/Versions: Likewise.
62374         * wcsmbs/Versions: Likewise.
62376 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62378         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62379         loop termination condition.
62381         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62382         variable to calculate EZ.
62383         (__sqr): Likewise.
62385         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62386         the lower precision input.
62388 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62390         [BZ #13550]
62391         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62392         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62393         (run-via-rtld-prefix): Do not handle %-bp tests.
62394         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62395         (all-object-suffixes): Remove .ob.
62396         (bppfx): Remove variable.
62397         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62398         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62399         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62400         [$(build-bounded) = yes] (libtype.ob): Likewise.
62401         * Makerules (elide-routines.ob): Remove variable.
62402         (do-tests-clean): Do not handle *-bp.out.
62403         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62404         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62405         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62406         (tests): Do not include $(tests-bp.out).
62407         (xtests): Do not include $(xtests-bp.out).
62408         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62409         [$(build-bounded) = yes] ($(addprefix
62410         $(objpfx),$(binaries-bounded))): Remove rule.
62411         ($(objpfx)%-bp.out): Remove rule.
62412         * config.make.in (build-bounded): Remove variable.
62413         * crypt/Makefile [$(build-bounded) = yes]
62414         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62415         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62416         append to variable.
62417         [$(build-bounded) = yes] (install-lib): Likewise.
62418         [$(build-bounded) = yes] (generated): Likewise.
62419         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62420         Remove rule.
62421         * intl/Makefile [$(build-bounded) = yes]
62422         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62423         * math/Makefile [$(build-bounded) = yes]
62424         ($(tests:%=$(objpfx)%-bp): Likewise.
62425         * misc/Makefile [$(build-bounded) = yes]
62426         ($(objpfx)tst-tsearch-bp): Likewise.
62427         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62428         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62429         Remove dependency.
62430         * string/Makefile (o-objects.ob): Remove variable.
62431         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62432         (CFLAGS-.ob): Remove variable.
62433         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62434         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62435         both definitions of variable.
62436         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62437         (ASFLAGS-.ob): Remove variable.
62439 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62441         [BZ #13550]
62442         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62443         Remove __BOUNDED_POINTERS__ from condition.
62444         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62445         * string/bits/string2.h [!__NO_STRING_INLINES &&
62446         !__BOUNDED_POINTERS__]: Likewise.
62447         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62448         Likewise.
62449         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62450         Remove conditional code.
62451         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62452         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62453         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62454         condition.
62456         [BZ #13550]
62457         * csu/libc-start.c: Do not include <bp-sym.h>.
62458         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62459         * elf/dl-open.c: Do not include <bp-sym.h>.
62460         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62461         * math/fegetenv.c: Do not include <bp-sym.h>.
62462         (fegetenv): Do not use BP_SYM in versioned symbols.
62463         * nptl/sysdeps/pthread/bits/libc-lockP.h
62464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62465         <bp-sym.h>.
62466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62467         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62469         (__pthread_mutex_destroy): Likewise.
62470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62471         (__pthread_mutex_lock): Likewise.
62472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62473         (__pthread_mutex_trylock): Likewise.
62474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62475         (__pthread_mutex_unlock): Likewise.
62476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62477         (__pthread_mutexattr_init): Likewise.
62478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62479         (__pthread_mutexattr_destroy): Likewise.
62480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62481         (__pthread_mutexattr_settype): Likewise.
62482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62483         (__pthread_rwlock_init): Likewise.
62484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62485         (__pthread_rwlock_destroy): Likewise.
62486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62487         (__pthread_rwlock_rdlock): Likewise.
62488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62489         (__pthread_rwlock_tryrdlock): Likewise.
62490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62491         (__pthread_rwlock_wrlock): Likewise.
62492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62493         (__pthread_rwlock_trywrlock): Likewise.
62494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62495         (__pthread_rwlock_unlock): Likewise.
62496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62497         (__pthread_key_create): Likewise.
62498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62499         (__pthread_setspecific): Likewise.
62500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62501         (__pthread_getspecific): Likewise.
62502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62503         Likewise.
62504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62505         (_pthread_cleanup_push_defer): Likewise.
62506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62507         (_pthread_cleanup_pop_restore): Likewise.
62508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62509         (pthread_setcancelstate): Likewise.
62510         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62511         <bp-sym.h>.
62512         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62513         (memchr): Do not use BP_SYM in weak_alias.
62514         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62515         (fegetenv): Do not use BP_SYM in versioned symbols.
62516         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62517         (fesetenv): Do not use BP_SYM in versioned symbols.
62518         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62519         (feupdateenv): Do not use BP_SYM in versioned symbols.
62520         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62521         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62522         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62523         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62524         (open64): Do not use BP_SYM in weak_alias.
62525         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62526         (fegetenv): Do not use BP_SYM in versioned symbols.
62527         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62528         (fesetenv): Do not use BP_SYM in versioned symbols.
62529         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62530         (feupdateenv): Do not use BP_SYM in versioned symbols.
62531         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62532         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62533         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62534         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62535         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62536         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62537         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62538         <bp-sym.h>.
62539         (__libc_start_main): Do not use BP_SYM.
62541 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62543         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62544         redundant return line.
62545         (norm): Likewise.
62546         (denorm): Likewise.
62547         (dbl_mp): Likewise.
62548         (sub_magnitudes): Likewise.
62549         (__add): Likewise.
62550         (__sub): Likewise.
62551         (__mul): Likewise.
62552         (__inv): Likewise.
62553         (__dvd): Likewise.
62554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62555         (norm): Likewise.
62556         (denorm): Likewise.
62557         (dbl_mp): Likewise.
62558         (sub_magnitudes): Likewise.
62559         (__add): Likewise.
62560         (__sub): Likewise.
62561         (__mul): Likewise.
62562         (__inv): Likewise.
62563         (__dvd): Likewise.
62565         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62566         instead of __mul.
62567         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62568         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62569         (cc32): Likewise.
62571         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62572         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62574         of __mul for squares.
62575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62576         function
62577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62578         Likewise.
62579         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62580         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62582 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62584         [BZ #13550]
62585         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62586         code.
62587         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62588         prototype or function definition.  Rename ubp_* variables and
62589         parameters.  Remove argv definitions conditional on
62590         [__BOUNDED_POINTERS__].
62591         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62592         * elf/dl-runtime.c (_dl_fixup): Likewise.
62593         * include/set-hooks.h (RUN_HOOK): Likewise.
62594         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62595         definition.
62596         * string/strcpy.c (strcpy): Do not use __unbounded.
62597         * sysdeps/generic/frame.h (struct layout): Likewise.
62598         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62599         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62600         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62601         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62602         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62603         (__backtrace): Likewise.
62604         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62605         use __ptrvalue.
62606         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62607         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62608         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62609         Likewise.
62610         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62611         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62612         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62613         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62614         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62615         Do not use __unbounded.
62616         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62617         Rename __unboundedrlimits parameter to rlimits in prototype.
62618         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62619         Do not use __unbounded.
62620         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62621         not use __ptrvalue.
62622         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62623         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62624         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62625         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62626         __ptrvalue or __unbounded.
62627         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62628         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62629         use __unbounded.
62630         (__new_msgctl): Do not use __ptrvalue.
62631         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62632         __unbounded.
62633         (__libc_msgrcv): Do not use __ptrvalue.
62634         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62635         startup_info): Do not use __unbounded.
62636         (__libc_start_main): Likewise.  Rename ubp_* variables and
62637         parameters.  Remove argv definitions conditional on
62638         [__BOUNDED_POINTERS__].
62639         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62640         __ptrvalue.
62641         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62642         use __unbounded.
62643         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62644         or __ptrvalue.
62645         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62646         use __unbounded.
62647         (__new_shmctl): Do not use __ptrvalue.
62648         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62649         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62650         Likewise.
62651         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62652         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62653         (__libc_sigaction): Likewise.
62654         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62655         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62656         Likewise.
62657         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62659 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62661         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62663         * string/mempcpy.c: Implement by calling memcpy.
62665 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62670         evaluation.
62672         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62673         values in the mantissa.
62675         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62676         minimize writes to Z.
62677         (sub_magnitudes): Simplify code a bit.
62679 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62681         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62682         from the message.  The linker prefixes all warnings with that already.
62684 2013-02-12  Andreas Schwab  <schwab@suse.de>
62686         [BZ #15078]
62687         * posix/regexec.c (extend_buffers): Add parameter min_len.
62688         (check_matching): Pass minimum needed length.
62689         (clean_state_log_if_needed): Likewise.
62690         (get_subexp): Likewise.
62691         * posix/Makefile (tests): Add bug-regex34.
62692         (bug-regex34-ENV): Define.
62693         * posix/bug-regex34.c: New file.
62695         [BZ #11561]
62696         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62697         elements compare against the byte sequence of it, not its name.
62698         * posix/Makefile (tests): Add bug-regex35.
62699         (bug-regex35-ENV): Define.
62700         * posix/bug-regex35.c: New file.
62702 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62704         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62705         comment.
62706         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62707         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62708         (CHECK_EOL): Add undef.
62710 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62712         * bits/stdlib-bsearch.h: New file.
62713         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62714         * stdlib/stdlib.h: Likewise.
62716 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62718         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62719         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62720         declaration.
62721         * manual/search.texi (Array Search Function): Add missing const in
62722         lfind prototype.
62723         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62724         declaration to use rlim_t.
62725         (Basic Scheduling Functions): Remove erroneous const from
62726         sched_getparam prototype.  Remove erroneous * from
62727         sched_get_priority_max and sched_get_priority_min prototypes.
62728         (Resource Usage): Fix summary @comment on vtimes to refer to
62729         sys/vtimes.h rather than vtimes.h.
62730         Add missing *s in vtimes prototype.
62731         (Limits on Resources): Fix ulimit prototype to return long int.
62732         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62733         prototypes to use long int rather than double.
62734         (BSD Random): Fix initstate and setstate to use char *, not void *.
62735         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62736         prototype to make second argument 'struct aiocb64 *const[]'.
62737         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62738         (Status of AIO Operations): Remove erroneous const in aio_return and
62739         aio_return64 prototypes.
62740         (Synchronizing I/O): Fix sync prototype to return void.
62741         * manual/startup.texi (Suboptions): Remove an erroneous const in
62742         getsubopt prototype.
62743         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62744         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62745         use size_t rather than int.
62746         (Scanning All Users): Likewise for getpwent_r.
62747         (Setting Groups): Add missing const to setgroups prototype.
62748         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62749         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62750         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62751         'const void *' rather than 'const char *'.
62752         (Host Address Functions): Likewise for inet_ntop.
62753         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62754         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62755         ssize_t for return value.
62756         (Sending Data): Likewise for send, sendto, sendmsg.
62757         (Socket Option Functions): Add a missing const in setsockopt prototype.
62758         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62759         use wchar_t for the argument.
62760         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62761         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62762         take no arguments.
62763         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62764         double/float/long double for second argument.
62765         Fix return types of significand, significandf, significandl.
62766         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62767         argument in fchmod prototype.
62768         (File Owner): Use uid_t and gid_t in fchown prototype.
62769         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62770         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62771         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62772         use 'const struct dirent **' as argument types to CMP function pointer
62773         argument.
62774         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62775         (File Times): Fix summary magic @comment for struct utimbuf and utime
62776         to refer to utime.h, not time.h.
62777         * manual/string.texi (Argz Functions): Add missing const in
62778         argz_extract and argz_next prototypes.
62779         (Finding Tokens in a String): Likewise for basename.
62780         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62781         (Copying and Concatenation): Fix typo in wmemmove prototype.
62782         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62783         (Signal Stack): Remove erroneous const in sigstack prototype.
62784         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62785         prototype.
62786         (Simple Calendar Time): Likewise for stime.
62787         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62788         prototype.
62789         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62790         say sys/sysctl.h instead.
62791         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62792         and vsyslog prototypes.
62794 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62796         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62797         Remove.
62799 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62801         * misc/sys/mman.h: Fix typo in mremap comment.
62803 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62805         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62806         the '\0' terminator.
62808 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62810         [BZ #13550]
62811         * debug/segfault.c: Don't include <bp-checks.h>.
62812         * sysdeps/generic/bp-checks.h: Remove file.
62813         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62814         (__GETDENTS): Don't use CHECK_N.
62815         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62816         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62817         (__getgroups): Don't use CHECK_N.
62818         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62819         (setgroups): Don't use CHECK_N.
62820         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62821         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62822         (__libc_msgrcv): Don't use CHECK_N.
62823         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62824         (__libc_msgsnd): Don't use CHECK_N.
62825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62826         <bp-checks.h>.
62827         (__libc_pread): Don't use CHECK_N.
62828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62829         include <bp-checks.h>.
62830         (__libc_pread64): Don't use CHECK_N.
62831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62832         include <bp-checks.h>.
62833         (__libc_pwrite): Don't use CHECK_N.
62834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62835         include <bp-checks.h>.
62836         (__libc_pwrite64): Don't use CHECK_N.
62837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62838         <bp-checks.h>.
62839         (__libc_pread): Don't use CHECK_N.
62840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62841         include <bp-checks.h>.
62842         (__libc_pread64): Don't use CHECK_N.
62843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62844         include <bp-checks.h>.
62845         (__libc_pwrite): Don't use CHECK_N.
62846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62847         include <bp-checks.h>.
62848         (__libc_pwrite64): Don't use CHECK_N.
62849         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62850         (do_pread): Don't use CHECK_N.
62851         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62852         (do_pread64): Don't use CHECK_N.
62853         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62854         (do_pwrite): Don't use CHECK_N.
62855         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62856         (do_pwrite64): Don't use CHECK_N.
62857         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62858         (__libc_readv): Don't use CHECK_N.
62859         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62860         (semop): Don't use CHECK_N.
62861         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62862         <bp-checks.h>.
62863         (semtimedop): Don't use CHECK_N.
62864         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62865         (__libc_pread): Don't use CHECK_N.
62866         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62867         <bp-checks.h>.
62868         (__libc_pread64): Don't use CHECK_N.
62869         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62870         <bp-checks.h>.
62871         (__libc_pwrite): Don't use CHECK_N.
62872         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62873         <bp-checks.h>.
62874         (__libc_pwrite64): Don't use CHECK_N.
62875         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62876         <bp-checks.h>.
62877         (__libc_msgrcv): Don't use CHECK_N.
62878         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62879         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62880         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62881         (__libc_writev): Don't use CHECK_N.
62883 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62885         * string/strcpy.c: Removed unused variable.
62887         * Makeconfig (+sysdep-includes): Define with := rather than =.
62888         Use an existing include/ subdir of each sysdeps dir before it.
62890 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62892         * nscd/connection.c (register_traced_file): Comment function.
62893         [HAVE_INOTIFY] (union __inev): Define.
62894         [HAVE_INOTIFY] (inotify_check_files): New function.
62895         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62896         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62897         clear_db_cache.
62898         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62900 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62902         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62903         loaded if not already and that a failure is permanent.
62905 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62907         [BZ #15006]
62908         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62909         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62911 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62913         [BZ #13550]
62914         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62915         (CHECK_1_NULL_OK): Likewise.
62916         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62917         (__fxstat): Do not use CHECK_1.
62918         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62919         <bp-checks.h>.
62920         (___fxstat64): Do not use CHECK_1.
62921         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62922         <bp-checks.h>.
62923         (__fxstatat): Do not use CHECK_1.
62924         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62925         <bp-checks.h>.
62926         (__fxstatat64): Do not use CHECK_1.
62927         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62928         <bp-checks.h>.
62929         (__fxstat): Do not use CHECK_1.
62930         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62931         <bp-checks.h>.
62932         (__fxstatat): Do not use CHECK_1.
62933         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62934         <bp-checks.h>.
62935         (__getresgid): Do not use CHECK_1.
62936         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62937         <bp-checks.h>.
62938         (__getresuid): Do not use CHECK_1.
62939         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62940         <bp-checks.h>.
62941         (__lxstat): Do not use CHECK_1.
62942         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62943         <bp-checks.h>.
62944         (__old_msgctl): Do not use CHECK_1.
62945         (__new_msgctl): Likewise.
62946         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62947         <bp-checks.h>.
62948         (__new_setrlimit): Do not use CHECK_1.
62949         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62950         <bp-checks.h>.
62951         (__old_shmctl): Do not use CHECK_1.
62952         (__new_shmctl): Likewise.
62953         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62954         <bp-checks.h>.
62955         (__xstat): Do not use CHECK_1.
62956         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62957         (__lxstat): Do not use CHECK_1.
62958         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62959         <bp-checks.h>.
62960         (___lxstat64): Do not use CHECK_1.
62961         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62962         (__old_msgctl): Do not use CHECK_1.
62963         (__new_msgctl): Likewise.
62964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62965         <bp-checks.h>.
62966         (__gettimeofday): Do not use CHECK_1.
62967         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62968         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62969         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62970         <bp-checks.h>.
62971         (__gettimeofday): Do not use CHECK_1.
62972         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62973         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62974         (__new_shmctl): Do not use CHECK_1.
62975         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62976         <bp-checks.h>.
62977         (do_sigtimedwait): Do not use CHECK_1.
62978         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62979         <bp-checks.h>.
62980         (do_sigwaitinfo): Do not use CHECK_1.
62981         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62982         <bp-checks.h>.
62983         (msgctl): Do not use CHECK_1.
62984         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62985         <bp-checks.h>.
62986         (shmctl): Do not use CHECK_1.
62987         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62988         (ustat): Do not use CHECK_1.
62989         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62990         <bp-checks.h>.
62991         (__fxstat): Do not use CHECK_1.
62992         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62993         <bp-checks.h>.
62994         (__fxstatat): Do not use CHECK_1.
62995         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62996         <bp-checks.h>.
62997         (__lxstat): Do not use CHECK_1.
62998         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62999         <bp-checks.h>.
63000         (__xstat): Do not use CHECK_1.
63001         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63002         (__xstat): Do not use CHECK_1.
63003         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63004         (___xstat64): Do not use CHECK_1.
63006         [BZ #13550]
63007         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63008         definitions.
63009         (CHECK_BOUNDS_HIGH): Likewise.
63010         * string/strcpy.c: Do not include <bp-checks.h>.
63011         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63013 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63015         * nscd/nscd-client.h (__nscd_drop_map_ref):
63016         Add __attribute__ ((unused)).
63017         * nis/nss-nisplus.h (niserr2nss): Likewise.
63019         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63020         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63022         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63023         Remove inline keyword.
63024         * include/rounding-mode.h (round_away): Likewise.
63025         * libio/wfileops.c (adjust_wide_data): Likewise.
63026         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63027         (__m128i_strloadu_tolower): Likewise.
63028         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63029         (__m128i_strloadu_tolower): Likewise.
63030         * time/mktime.c (ydhms_diff): Likewise.
63031         * locale/elem-hash.h (elem_hash): Likewise.
63032         * locale/setlocale.c (setdata): Likewise.
63033         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63034         (re_string_wchar_at): Likewise.
63035         (bitset_not, bitset_merge, bitset_mask): Likewise.
63036         [!(__GNUC__ > 3)] (inline): Remove macro.
63037         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63038         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63039         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63040         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63041         * string/memcmp.c (memcmp_bytes): Likewise.
63042         * locale/programs/locarchive.c (compute_hashval): Likewise.
63043         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63044         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63045         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63046         * nss/getent.c (print_rpc, print_protocols): Likewise.
63047         (print_passwd, print_group, print_aliases): Likewise.
63048         * nis/nss-nisplus.h (niserr2nss): Likewise.
63049         * nscd/connections.c (restart_p): Likewise.
63050         Change return type to bool.
63052 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63054         * Makeconfig (all-Depend-files): Add existing
63055         $(sorted-subdirs:=/Depend) files.
63056         (all-subdirs): Remove nss.
63057         * sysdeps/unix/inet/Subdirs: Add it here instead.
63058         * hesiod/Depend: New file.
63060         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63061         instead of calling alloca.
63063         * io/lseek.c (__lseek): Rename to __libc_lseek.
63064         Define __lseek as an alias.
63066         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63068 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63070         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63071         else clause and remove check for non-standard endianness.
63073 2013-02-04  David S. Miller  <davem@davemloft.net>
63075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63077 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63079         [BZ #13550]
63080         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63081         (__ubp_memchr): Remove prototype.
63082         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63083         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63084         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63085         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63086         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63087         Remove alias.
63088         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63089         (__ubp_memchr): Likewise.
63090         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63091         (__ubp_memchr): Likewise.
63092         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63093         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63094         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63095         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63096         CHECK_STRING.
63097         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63098         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63099         (__getcwd): Do not use CHECK_STRING.
63100         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63101         <bp-checks.h>.
63102         (__real_chown): Do not use CHECK_STRING.
63103         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63104         <bp-checks.h>.
63105         (fchownat): Do not use CHECK_STRING.
63106         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63107         CHECK_STRING.
63108         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63109         <bp-checks.h>.
63110         (__lchown): Do not use CHECK_STRING.
63111         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63112         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63113         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63114         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63116         include <bp-checks.h>.
63117         (truncate64): Do not use CHECK_STRING.
63118         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63119         <bp-checks.h>.
63120         (__real_chown): Do not use CHECK_STRING.
63121         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63122         <bp-checks.h>.
63123         (__lchown): Do not use CHECK_STRING.
63124         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63125         <bp-checks.h>.
63126         (__chown): Do not use CHECK_STRING.
63127         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63128         <bp-checks.h>.
63129         (truncate64): Do not use CHECK_STRING.
63130         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63131         Likewise.
63132         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63133         (__xmknod): Do not use CHECK_STRING.
63134         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63135         <bp-checks.h>.
63136         (__xmknodat): Do not use CHECK_STRING.
63137         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63138         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63140 2013-02-04  Andreas Schwab  <schwab@suse.de>
63142         [BZ #14142]
63143         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63144         * include/netdb.h: Likewise for h_errno.
63145         * elf/tst-stackguard1.c: Include <tls.h>.
63147 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63149         * elf/link.h (struct link_map): Extend the l_addr comment.
63150         * include/link.h (struct link_map): Likewise.
63152 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #13550]
63155         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63156         (BOUNDED_1): Remove macro.
63157         * debug/backtrace.c: Don't include <bp-checks.h>.
63158         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63159         (__backtrace): Likewise.
63160         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63161         <bp-checks.h>.
63162         (__backtrace): Don't use BOUNDED_1.
63163         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63164         <bp-checks.h>.
63165         (__backtrace): Don't use BOUNDED_1.
63166         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63167         (__backtrace): Don't use BOUNDED_1.
63168         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63169         (shmat): Don't use BOUNDED_N.
63171 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63173         [BZ #13550]
63174         * sysdeps/generic/bp-start.h: Remove file.
63175         * csu/libc-start.c: Don't include <bp-start.h>.
63176         (LIBC_START_MAIN): Set up __environ directly instead of using
63177         INIT_ARGV_and_ENVIRON.
63178         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63179         <bp-start.h>.
63181         [BZ #13550]
63182         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63183         definitions.
63184         (CHECK_FCNTL): Likewise.
63185         (CHECK_N_PAGES): Likewise.
63187         [BZ #13550]
63188         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63189         definitions.
63190         (CHECK_SIGSET_NULL_OK): Likewise.
63191         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63192         <bp-checks.h>.
63193         (sigpending): Don't use CHECK_SIGSET.
63194         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63195         <bp-checks.h>.
63196         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63197         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63198         <bp-checks.h>.
63199         (do_sigsuspend): Don't use CHECK_SIGSET.
63200         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63201         use CHECK_SIGSET.
63202         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63203         (do_sigwait): Don't use CHECK_SIGSET.
63204         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63205         use CHECK_SIGSET.
63206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63207         include <bp-checks.h>.
63208         (sigpending): Don't use CHECK_SIGSET.
63209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63210         include <bp-checks.h>.
63211         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63212         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63213         <bp-checks.h>.
63214         (sigpending): Don't use CHECK_SIGSET.
63215         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63216         <bp-checks.h>.
63217         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63219         [BZ #13550]
63220         * sysdeps/generic/bp-semctl.h: Remove file.
63221         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63222         <bp-checks.h> and <bp-semctl.h>.
63223         (__old_semctl): Don't use CHECK_SEMCTL.
63224         (__new_semctl): Likewise.
63225         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63226         and <bp-semctl.h>.
63227         (__old_semctl): Don't use CHECK_SEMCTL.
63228         (__new_semctl): Likewise.
63229         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63230         <bp-checks.h> and <bp-semctl.h>.
63231         (__old_semctl): Don't use CHECK_SEMCTL.
63232         (__new_semctl): Likewise.
63233         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63234         <bp-checks.h> and <bp-semctl.h>.
63235         (semctl): Don't use CHECK_SEMCTL.
63237         [BZ #13550]
63238         * Makerules (elide-bp-thunks): Remove variable.
63239         (elide-routines.oS): Don't use $(elide-bp-thunks).
63240         (elide-routines.os): Likewise.
63241         (elide-routines.o): Likewise.
63242         (elide-routines.op): Likewise.
63243         (elide-routines.og): Likewise.
63244         (objects): Don't use $(bp-thunks).
63245         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63246         include.
63247         (common-generated): Do not add s-proto-bp.d.
63248         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63249         (int): Likewise.
63250         (typ): Likewise.
63251         Do not generate makefile rules for bounded-pointer thunks.
63252         * sysdeps/generic/bp-thunks.h: Remove file.
63253         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63254         * sysdeps/unix/s-proto-bp.S: Likewise.
63256         [BZ #15062]
63257         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63258         parts of result separately when argument is not close to line from
63259         -i to i and one part of argument is small.
63260         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63261         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63262         * math/libm-test.inc (cacos_test): Add more tests.
63263         (casin_test): Likewise.
63264         (casinh_test): Likewise.
63265         * sysdeps/i386/fpu/libm-test-ulps: Update.
63266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63268 2013-01-31  David S. Miller  <davem@davemloft.net>
63270         * po/de.po: Update from translation team.
63272 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63274         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63276 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63278         * configure.in (_AC_PROG_CC_C89): New definition.
63279         * configure: Regenerate.
63281         * configure.in (AC_PROG_CPP): New definition.
63282         * configure: Regenerate.
63284 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63286         * debug/tst-backtrace.h: New file.
63287         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63288         (ret): Remove variable.
63289         (x): Likewise.
63290         (FAIL): Remove macro.
63291         (NO_INLINE): Likewise.
63292         (fn1): Use match function instead of strstr.
63293         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63294         (ret): Remove variable.
63295         (x): Likewise.
63296         (FAIL): Remove macro.
63297         (NO_INLINE): Likewise.
63298         (fn): Use match function instead of strstr.
63299         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63300         (ret): Remove variable.
63301         (x): Likewise.
63302         (FAIL): Remove macro.
63303         (NO_INLINE): Likewise.
63304         (handle_signal): Use match function instead of strstr.
63305         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63306         (ret): Remove variable.
63307         (x): Likewise.
63308         (FAIL): Remove macro.
63309         (NO_INLINE): Likewise.
63310         (handle_signal): Use match function instead of strstr.
63312 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63314         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63316 2013-01-23  David S. Miller  <davem@davemloft.net>
63318         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63319         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63320         argument of CAS if possible.
63321         * sysdeps/sparc/sparc64/bits/atomic.h
63322         (__arch_compare_and_exchange_val_32_acq): Likewise.
63323         (__arch_compare_and_exchange_val_64_acq): Likewise.
63325 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63327         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63328         * sysdeps/posix/ulimit.c: ... this.
63329         Include <limits.h>.
63330         * sysdeps/unix/bsd/ulimit.c: Remove file.
63332 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63334         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63335         (LDFLAGS-tst-array5): Likewise.
63337 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63339         [BZ #15036]
63340         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63341         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63342         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63343         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63345 2013-01-21  David S. Miller  <davem@davemloft.net>
63347         * sysdeps/sparc/backtrace.c: New file.
63348         * sysdeps/sparc/sparc32/backtrace.h: New file.
63349         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63350         * sysdeps/sparc/sparc64/backtrace.h: New file.
63351         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63352         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63353         -funwind-tables.
63355 2013-01-21  Andreas Schwab  <schwab@suse.de>
63357         [BZ #15020]
63358         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63359         closed its stdout.
63361 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63364         "mpa2.h".
63365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63367 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63368             Mark Mitchell  <mark@codesourcery.com>
63369             Tom de Vries  <tom@codesourcery.com>
63370             Paul Pluzhnikov  <ppluzhnikov@google.com>
63372         * debug/tst-backtrace2.c: New file.
63373         * debug/tst-backtrace3.c: Likewise.
63374         * debug/tst-backtrace4.c: Likewise.
63375         * debug/tst-backtrace5.c: Likewise.
63376         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63377         (CFLAGS-tst-backtrace3.c): Likewise.
63378         (CFLAGS-tst-backtrace4.c): Likewise.
63379         (CFLAGS-tst-backtrace5.c): Likewise.
63380         (LDFLAGS-tst-backtrace2): Likewise.
63381         (LDFLAGS-tst-backtrace3): Likewise.
63382         (LDFLAGS-tst-backtrace4): Likewise.
63383         (LDFLAGS-tst-backtrace5): Likewise.
63384         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63385         tst-backtrace4 and tst-backtrace5.
63387 2013-01-18  Anton Blanchard  <anton@samba.org>
63388             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63390         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63391         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63393         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63395         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63396         "+r" and remove output regs list as redundant.  Add explicit inline
63397         asm to specify register of return val to work around compiler codegen
63398         bug.  Remove (int) cast on return value.  Add return type parameter to
63399         use in macro so that this macro does not truncate return value for
63400         64-bit values.
63401         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63402         pass to INTERNAL_VSYSCALL_NCS.
63403         (INLINE_VSYSCALL): Add 'long int' as return type to
63404         INTERNAL_VSYSCALL_NCS macro invocation.
63405         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63406         INTERNAL_VSYSCALL_NCS macro invocation.
63407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63409 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63411         [BZ #14496]
63412         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63413         Fix application of SIMD FP exception mask.
63415         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63416         mp_no from a power of two.
63417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63418         __mpexp_twomm1.  Use __pow_mp.
63420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63421         multiplication.
63423 2013-01-17  David S. Miller  <davem@davemloft.net>
63425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63427 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63429         [BZ #15023]
63430         * include/complex.h: Condition contents on [!_COMPLEX_H].
63431         (__kernel_casinhf): New prototype.
63432         (__kernel_casinh): Likewise.
63433         (__kernel_casinhl): Likewise.
63434         * math/Makefile (libm_calls): Add k_casinh.
63435         * math/k_casinh.c: New file.
63436         * math/k_casinhf.c: Likewise.
63437         * math/k_casinhl.c: Likewise.
63438         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63439         finite nonzero arguments.
63440         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63441         finite nonzero arguments.
63442         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63443         finite nonzero arguments.
63444         * math/s_casinh.c: Do not include <float.h>.
63445         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63446         * math/s_casinhf.c: Do not include <float.h>.
63447         (__casinhf): Move code for finite nonzero arguments to
63448         k_casinhf.c.
63449         * math/s_casinhl.c: Do not include <float.h>.
63450         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63451         redefine.
63452         (__casinhl): Move code for finite nonzero arguments to
63453         k_casinhl.c.
63454         * math/libm-test.inc (cacos_test): Add more tests.
63455         * sysdeps/i386/fpu/libm-test-ulps: Update.
63456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63458 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63460         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63461         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63462         [!HAVE_MREMAP]: Remove [defined linux] case.
63463         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63465 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63467         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63469 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63471         * elf/elf.h (R_386_SIZE32): New relocation.
63472         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63473         R_386_SIZE32.
63474         (elf_machine_rela): Likewise.
63475         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63476         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63478 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63480         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63481         (FP_FAST_FMA): Do not define.
63482         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63483         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63484         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63485         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63486         !_SOFT_FLOAT]: Likewise.
63487         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63488         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63489         value.
63490         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63491         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63492         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63493         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63494         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63495         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63496         file.
63498 2013-01-16  Andreas Schwab  <schwab@suse.de>
63500         [BZ #14327]
63501         * include/stdlib.h (__mktemp): Add declaration.
63502         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63503         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63505 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63507         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63508         definitions.
63509         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63510         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63511         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63512         definitions here.
63513         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63514         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63515         definitions.
63516         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63517         and ONE.
63518         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63519         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63520         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63521         definitions.
63522         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63523         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63524         definitions.
63525         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63527         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63529 2013-01-15  David S. Miller  <davem@davemloft.net>
63531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63532         trunc{,f} to libm-sysdep_routes.
63533         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63535         file.
63536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63538         file.
63539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63540         file.
63541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63543         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63544         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63545         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63546         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63547         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63548         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63551         nearbyint{,f} to libm-sysdep_routes.
63552         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63554         New file.
63555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63556         file.
63557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63558         New file.
63559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63560         file.
63561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63563         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63564         file.
63565         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63566         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63567         file.
63568         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63569         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63570         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63572         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63573         libc_feholdexcept and libc_fesetenv.
63575 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63577         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63579 2013-01-14  David S. Miller  <davem@davemloft.net>
63581         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63582         (SPARC_ASM_VIS2_IFUNC): Likewise.
63583         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63585         use of 'siam' instruction.
63586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63587         Likewise.
63588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63589         Likewise.
63590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63591         Likewise.
63592         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63597         file.
63598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63599         file.
63600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63601         file.
63602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63603         file.
63604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63609         new VIS2 routines.
63610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63613         Likewise.
63614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63619         routines to libm-sysdep_routines.
63620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63623         fdim/fdimf to libm-sysdep_routines.
63624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63625         file.
63626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63628         file.
63629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63632         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63633         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63634         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63635         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63637 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63639         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63640         to optimize copies.
63642         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63647         local variable MPTWO.
63648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63649         Likewise.
63651 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63653         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63654         GLOB_NOESCAPE.
63656 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63658         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63660 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63662         * manual/pattern.texi (glob_t): Document gl_flags.
63663         (glob64_t): Likewise.
63665 2013-01-11  David S. Miller  <davem@davemloft.net>
63667         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63668         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63669         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63670         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63671         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63672         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63673         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63674         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63675         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63676         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63677         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63678         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63679         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63681         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63682         sparc V9 rather than using V8 code.
63683         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63684         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63686         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63687         Move to...
63688         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63689         Here.
63691 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63693         [BZ #14941]
63694         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63695         not in the main loop.
63696         * configure: Regenerated.
63698 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63700         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63701         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63702         to just #else.
63703         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63704         [!__GLIBC_HAVE_LONG_LONG] case.
63705         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63706         condition to just #else.
63707         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63708         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63709         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63710         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63711         unconditional.
63712         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63713         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63714         #elif condition to just #else.
63715         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63716         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63717         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63718         #elif condition to just #else.
63720 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63722         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63723         (EF_MIPS_ARCH_64): Fix value.
63724         (EF_MIPS_ARCH_32R2): New.
63725         (EF_MIPS_ARCH_64R2): New.
63727 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63729         * Makeconfig (+link-pie-before-libc): New.
63730         (+link-pie-after-libc): Likewise.
63731         (+link-pie-tests): Likewise.
63732         (+link-pie): Rewritten.
63733         (link-before-libc): Remove $(config-LDFLAGS).
63734         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63735         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63736         (config-LDFLAGS): Renamed to ...
63737         (rtld-LDFLAGS): This.
63738         (rtld-tests-LDFLAGS): New macro.
63739         (link-libc-rpath-link): Likewise.
63740         (link-libc-tests-rpath-link): Likewise.
63741         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63742         (link-libc): Prepand $(link-libc-rpath-link).
63743         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63744         (test-program-prefix): New macro.
63745         (test-via-rtld-prefix): Likewise.
63746         (test-program-cmd): Likewise.
63747         (host-test-program-cmd): Likewise.
63748         * Makefile ($(common-objpfx)testrun.sh): Replace
63749         $(run-program-prefix) with $(test-program-prefix).
63750         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63751         $(rtld-LDFLAGS).
63752         ($(common-objpfx)shlib.lds): Likewise.
63753         (build-module-helper): Likewise.
63754         ($(common-objpfx)format.lds): Likewise.
63755         * Rules (binaries-pie-tests): New.
63756         (binaries-pie-notests): Likewise.
63757         (binaries-pie): Rewritten.
63758         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63759         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63760         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63761         (make-test-out): Replace $(host-built-program-cmd) with
63762         $(host-test-program-cmd).
63763         * config.make.in (build-hardcoded-path-in-tests): New variable.
63764         * configure.in (--enable-hardcoded-path-in-tests): New configure
63765         option.
63766         (hardcoded_path_in_tests): New AC_SUBST.
63767         * configure: Regenerated.
63768         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63769         $(built-program-cmd) with $(test-program-cmd).
63770         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63771         (test_program_cmd): This.
63772         * elf/Makefile ($(objpfx)order.out): Run test with
63773         $(test-program-prefix).
63774         ($(objpfx)order2.out): Likewise.
63775         ($(objpfx)tst-initorder.out): Likewise.
63776         ($(objpfx)tst-initorder2.out): Likewise.
63777         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63778         $(test-program-cmd).
63779         ($(objpfx)tst-array1-static.out): Likewise.
63780         ($(objpfx)tst-array2.out): Likewise.
63781         ($(objpfx)tst-array3.out): Likewise.
63782         ($(objpfx)tst-array4.out): Likewise.
63783         ($(objpfx)tst-array5.out): Likewise.
63784         ($(objpfx)tst-array5-static.out): Likewise.
63785         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63786         $(test-program-cmd).
63787         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63788         $(run-program-prefix) with $(test-program-prefix).
63789         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63790         (test_program_prefix): This.
63791         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63792         $(run-program-prefix) with $(test-program-prefix).
63793         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63794         (test_program_prefix): This.
63795         * iconvdata/tst-tables.sh: Likewise.
63796         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63797         $(run-program-prefix) with $(test-program-prefix).
63798         ($(objpfx)tst-translit.out): Likewise.
63799         ($(objpfx)tst-gettext2.out): Likewise.
63800         ($(objpfx)tst-gettext4.out): Likewise.
63801         ($(objpfx)tst-gettext6.out): Likewise.
63802         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63803         (test_program_prefix): This.
63804         * intl/tst-gettext2.sh: Likewise.
63805         * intl/tst-gettext4.sh  Likewise.
63806         * intl/tst-gettext6.sh: Likewise.
63807         * intl/tst-translit.sh: Likewise.
63808         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63809         with $(test-program-cmd).
63810         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63811         $(run-program-prefix) with $(test-program-prefix).
63812         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63813         (test_program_prefix): This.
63814         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63815         $(run-program-prefix) with $(test-program-prefix).
63816         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63817         (test_program_prefix): This.
63818         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63819         * posix/Makefile ($(objpfx)globtest.out): Replace
63820         $(run-via-rtld-prefix) and $(test-wrapper) with
63821         $(test-program-prefix) and $(test-via-rtld-prefix).
63822         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63823         $(test-program-prefix).
63824         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63825         $(host-test-program-cmd).
63826         (tst-spawn-ARGS): Likewise.
63827         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63828         $(test-program-prefix).
63829         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63830         (test_via_rtld_prefix): This.
63831         (test_wrapper): Renamed to ...
63832         (test_program_prefix): This.
63833         (run_program_prefix): Replaced by test_program_prefix.
63834         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63835         (test_program_prefix): This.
63836         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63837         with $(host-test-program-cmd).
63838         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63839         $(run-program-prefix) with $(test-program-prefix).
63840         ($(objpfx)tst-printf.out): Likewise.
63841         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63842         $(test-program-cmd).
63843         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63844         (test_program_prefix): This.
63845         * stdio-common/tst-unbputc.sh: Likewise.
63846         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63847         $(run-program-prefix) with $(test-program-prefix).
63848         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63849         (test_program_prefix): This.
63850         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63851         $(built-program-cmd) with $(test-program-cmd).
63853 2013-01-11  Andreas Jaeger  <aj@suse.de>
63855         [BZ #15003]
63856         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63857         value. Sync with Linux 3.7.
63859 2013-01-10  David S. Miller  <davem@davemloft.net>
63861         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63862         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63863         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63865 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63867         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63868         never set.
63869         * configure: Regenerated.
63871 2013-01-10  David S. Miller  <davem@davemloft.net>
63873         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63874         sparc V9 rather than using V8 code.
63875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63878 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63880         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63881         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63882         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63883         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63884         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63885         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63886         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63887         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63888         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63889         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63890         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63891         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63892         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63893         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63894         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63895         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63896         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63897         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63898         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63899         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63900         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63901         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63902         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63903         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63904         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63905         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63906         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63908 2013-01-10  David S. Miller  <davem@davemloft.net>
63910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63912 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63914         * posix/Makefile (tests-static): New variable.
63915         (tests): Add $(tests-static).
63916         (tst-exec-static-ARGS): New variable.
63917         (tst-spawn-static-ARGS): Likewise.
63918         * posix/tst-exec-static.c: New file.
63919         * posix/tst-spawn-static.c: Likewise.
63920         * posix/tst-exec.c: Support run directly.
63921         * posix/tst-spawn.c: Likewise.
63923 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63925         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63926         long.
63927         * math/bits/mathcalls.h (llrint): Likewise.
63928         (llround): Likewise.
63929         * stdlib/stdlib.h (struct drand48_data): Likewise.
63930         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63931         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63932         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63933         Likewise.
63934         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63935         Likewise.
63936         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63937         (elf_greg_t): Likewise.
63938         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63939         (__jmp_buf): Likewise.
63940         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63941         definitions.
63942         (llrint): Likewise, for all definitions.
63943         (llrintl): Likewise.
63945         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63946         Remove [__GNUC__] condition.
63947         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63948         condition to just [__USE_ISOC99].
63949         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63951 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63953         [BZ #14200]
63954         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63955         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63956         defined.
63957         (_POSIX_V6_ILP32_OFF32): Likewise.
63958         (_XBS5_ILP32_OFF32): Likewise.
63959         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63960         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63962 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63964         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63966         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63967         doubles __mpexp_twomm1.  Adjust usage.
63968         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63969         Remove.
63971 2013-01-10  Andreas Schwab  <schwab@suse.de>
63973         [BZ #14964]
63974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63975         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63977 2013-01-09  David S. Miller  <davem@davemloft.net>
63979         [BZ #15003]
63980         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63981         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63982         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63983         (TCP_FASTOPEN): Define.
63984         (tcp_repair_opt): New structure.
63985         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63986         enum values.
63987         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63988         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63989         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63990         (tcp_cookie_transactions): New structure.
63992 2013-01-09  Anton Blanchard  <anton@samba.org>
63994         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63995         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63996         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63997         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63999 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64001         * include/features.h (__USE_ANSI): Remove.
64003 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64005         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64007         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64009 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64011         * sysdeps/s390/fpu/libm-test-ulps: Update.
64013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64015         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64016         (__acr): Likewise.
64017         (__cpy): Likewise.
64018         (norm): Likewise.
64019         (denorm): Likewise.
64020         (__mp_dbl): Likewise.
64021         (__dbl_mp): Likewise.
64022         (add_magnitudes): Likewise.
64023         (sub_magnitudes): Likewise.
64024         (__add): Likewise.
64025         (__sub): Likewise.
64026         (__mul): Likewise.
64027         (__inv): Likewise.
64028         (__dvd): Likewise.
64029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64030         (__acr): Likewise.
64031         (__cpy): Likewise.
64032         (norm): Likewise.
64033         (denorm): Likewise.
64034         (__mp_dbl): Likewise.
64035         (__dbl_mp): Likewise.
64036         (add_magnitudes): Likewise.
64037         (sub_magnitudes): Likewise.
64038         (__add): Likewise.
64039         (__sub): Likewise.
64040         (__mul): Likewise.
64041         (__inv): Likewise.
64042         (__dvd): Likewise.
64043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64044         (__acr): Likewise.
64045         (__cpy): Likewise.
64046         (norm): Likewise.
64047         (denorm): Likewise.
64048         (__mp_dbl): Likewise.
64049         (__dbl_mp): Likewise.
64050         (add_magnitudes): Likewise.
64051         (sub_magnitudes): Likewise.
64052         (__add): Likewise.
64053         (__sub): Likewise.
64054         (__mul): Likewise.
64055         (__inv): Likewise.
64056         (__dvd): Likewise.
64058 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64060         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64061         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64062         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64063         2 && __USE_EXTERN_INLINES]: Likewise.
64065 2013-01-08  Andreas Jaeger  <aj@suse.de>
64067         [BZ# 14985]
64068         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64069         Remove.
64070         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64071         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64073 2013-01-07  Anton Blanchard  <anton@samba.org>
64075         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64076         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64077         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64078         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64079         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64080         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64081         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64082         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64084         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64085         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64086         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64088         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64089         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64090         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64091         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64092         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64093         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64094         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64095         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64096         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64097         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64098         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64099         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64100         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64101         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64102         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64103         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64104         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64105         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64107         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64108         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64109         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64110         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64111         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64112         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64113         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64114         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64115         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64117         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64119 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64121         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64122         (__MALLOC_PMT): Likewise.
64123         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64124         [__GNUC__], only on [_LIBC].
64125         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64126         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64127         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64128         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64129         forward declaration.
64130         (realloc_hook_ini): Likewise.
64131         (memalign_hook_ini): Likewise.
64132         (__libc_memalign): Do not use __MALLOC_PMT in variable
64133         declaration.
64134         (__libc_valloc): Likewise.
64135         (__libc_pvalloc): Likewise.
64136         (__libc_calloc): Likewise.
64137         (__posix_memalign): Likewise.
64139         [BZ #14996]
64140         * math/s_casinh.c: Include <float.h>.
64141         (__casinh): Do not do computation with squaring and square root
64142         for large arguments.
64143         * math/s_casinhf.c: Include <float.h>.
64144         (__casinhf): Do not do computation with squaring and square root
64145         for large arguments.
64146         * math/s_casinhl.c: Include <float.h>.
64147         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64148         (__casinhl): Do not do computation with squaring and square root
64149         for large arguments.
64150         * math/libm-test.inc (casin_test): Add more tests.
64151         (casinh_test): Likewise.
64152         * sysdeps/i386/fpu/libm-test-ulps: Update.
64153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64155 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64157         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64158         (__x86_64_raw_data_cache_size): Likewise.
64159         (__x86_64_data_cache_size_half): Likewise.
64160         (__x86_64_raw_data_cache_size_half): Likewise.
64161         (__x86_64_shared_cache_size): Likewise.
64162         (__x86_64_raw_shared_cache_size): Likewise.
64163         (__x86_64_shared_cache_size_half): Likewise.
64164         (__x86_64_raw_shared_cache_size_half): Likewise.
64165         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64166         to ...
64167         (__x86_data_cache_size): This.
64168         (__x86_64_raw_data_cache_size): Renamed to ...
64169         (__x86_raw_data_cache_size): This.
64170         (__x86_64_data_cache_size_half): Renamed to ...
64171         (__x86_data_cache_size_half): This.
64172         (__x86_64_raw_data_cache_size_half): Renamed to ...
64173         (__x86_raw_data_cache_size_half): This.
64174         (__x86_64_shared_cache_size): Renamed to ...
64175         (__x86_shared_cache_size): This.
64176         (__x86_64_raw_shared_cache_size): Renamed to ...
64177         (__x86_raw_shared_cache_size): This.
64178         (__x86_64_shared_cache_size_half): Renamed to ...
64179         (__x86_shared_cache_size_half): This.
64180         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64181         (__x86_raw_shared_cache_size_half): This.
64182         * sysdeps/x86_64/memcpy.S: Updated.
64183         * sysdeps/x86_64/memset.S: Likewise.
64184         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64185         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64188 2013-01-04  David S. Miller  <davem@davemloft.net>
64190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64192 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64194         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64195         1 to avoid redefinition warning.
64196         (__USE_GNU): Don't define.
64197         (init_signaling_nan): Protoize.
64199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64201 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64203         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64205         (__cpymn): Likewise.
64206         (norm): Remove commented code.
64207         (denorm): Likewise.
64208         (__mp_dbl): Likewise.
64209         (__inv): Likewise.
64210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64211         (__cpymn): Likewise.
64212         (norm): Remove commented code.
64213         (denorm): Likewise.
64214         (__mp_dbl): Likewise.
64215         (__inv): Likewise.
64217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64218         mp_no value for 1.0 and 2.0.
64219         (norm): Use RADIXI instead of radixi.d.
64220         (denorm): Likewise.
64221         (__mul): Use 0.0 instead of zero.d.
64222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64223         mp_no value for 1.0 and 2.0.
64224         (norm): Use RADIXI instead of radixi.d.
64225         (denorm): Likewise.
64226         (__mul): Use 0.0 instead of zero.d.
64228 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64230         [BZ #14994]
64231         * math/s_casinh.c (__casinh): Reduce finite argument to first
64232         quadrant then set signs of results at the end.
64233         * math/s_casinhf.c (__casinhf): Likewise.
64234         * math/s_casinhl.c (__casinhl): Likewise.
64235         * math/libm-test.inc (casin_test): Add more tests.
64236         (casinh_test): Likewise.
64237         * sysdeps/i386/fpu/libm-test-ulps: Update.
64238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64240 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64242         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64244         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64246         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64247         declarations.
64248         (denorm): Likewise.
64249         (__mp_dbl): Likewise.
64250         (__inv): Likewise.
64252         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64253         and adjust the header comment.
64255         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64256         variable name from declaration.
64258 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64261         Initialize COMMON_CPUID_INDEX_7 element.
64262         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64263         (CPUID_RTM): Likewise.
64264         (HAS_RTM): Likewise.
64265         (COMMON_CPUID_INDEX_7): New enum.
64267 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64269         [BZ #14981]
64270         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64271         size is zero, record memory as freed.
64273 2013-01-03  Andreas Jaeger  <aj@suse.de>
64275         * po/ia.po: Add new Interlingua translation.
64277 2012-01-03  Allan McRae  <allan@archlinux.org>
64279         * locale/programs/localedef.c: Fix description of '--posix' flag.
64281 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64283         * NEWS: Update dates in second copyright notice.
64284         * README: Update copyright dates in example.
64285         * manual/libc.texinfo: Update copyright dates.
64286         * scripts/test-installation.pl: Update copyright date in --version
64287         output.
64289         * hurd/ctty-input.c: Fix copyright notice formatting.
64290         * hurd/ctty-output.c: Likewise.
64291         * hurd/dtable.c: Likewise.
64292         * hurd/hurd-raise.c: Likewise.
64293         * hurd/hurdprio.c: Likewise.
64294         * hurd/msgportdemux.c: Likewise.
64295         * misc/sys/file.h: Likewise.
64296         * misc/sys/ioctl.h: Likewise.
64297         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64298         * sysdeps/mach/hurd/chdir.c: Likewise.
64299         * sysdeps/mach/hurd/fchdir.c: Likewise.
64300         * sysdeps/mach/hurd/rename.c: Likewise.
64301         * sysdeps/mach/hurd/rmdir.c: Likewise.
64302         * sysdeps/mach/hurd/seekdir.c: Likewise.
64303         * sysdeps/mach/hurd/setsid.c: Likewise.
64304         * sysdeps/posix/wait3.c: Likewise.
64306         * All files with FSF copyright notices: Update copyright dates
64307         using scripts/update-copyrights.
64308         * intl/plural.c: Regenerated.
64309         * locale/programs/charmap-kw.h: Likewise.
64310         * locale/programs/locfile-kw.h: Likewise.
64312 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64314         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64315         four values.
64317         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64318         calculation loop and add branch prediction.
64320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64321         check access beyond bounds of m1np.
64323         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64324         MPTWO.
64325         (__inv): Remove local variable MPTWO to use the global
64326         constant.
64327         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64328         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64329         variable MPTWO.
64330         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64331         MP3HALFS static const.
64333 2013-01-01  David S. Miller  <davem@davemloft.net>
64335         * po/ca.po: Update from translation team.
64337 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64339         * scripts/update-copyrights: New file.
64340         * Makeconfig: Reformat copyright notice.
64341         * ctype/ctype.h: Likewise.
64342         * debug/swprintf_chk.c: Likewise.
64343         * elf/dl-cache.c: Likewise.
64344         * elf/dl-debug.c: Likewise.
64345         * elf/dl-object.c: Likewise.
64346         * grp/initgroups.c: Likewise.
64347         * hurd/Makefile: Likewise.
64348         * hurd/hurd/signal.h: Likewise.
64349         * hurd/hurdfault.c: Likewise.
64350         * hurd/hurdioctl.c: Likewise.
64351         * hurd/hurdlookup.c: Likewise.
64352         * hurd/intr-msg.c: Likewise.
64353         * iconv/gconv_open.c: Likewise.
64354         * libio/swprintf.c: Likewise.
64355         * locale/lc-ctype.c: Likewise.
64356         * locale/nl_langinfo.c: Likewise.
64357         * mach/Machrules: Likewise.
64358         * mach/Makefile: Likewise.
64359         * malloc/obstack.h: Likewise.
64360         * manual/Makefile: Likewise.
64361         * manual/tsort.awk: Likewise.
64362         * misc/bits/stab.def: Likewise.
64363         * nis/nis_print_group_entry.c: Likewise.
64364         * nis/nis_table.c: Likewise.
64365         * nis/nss_compat/compat-pwd.c: Likewise.
64366         * nis/nss_compat/compat-spwd.c: Likewise.
64367         * po/Makefile: Likewise.
64368         * posix/fnmatch.c: Likewise.
64369         * posix/regex.h: Likewise.
64370         * resolv/Makefile: Likewise.
64371         * resolv/nss_dns/dns-network.c: Likewise.
64372         * resolv/res_hconf.c: Likewise.
64373         * scripts/gen-sorted.awk: Likewise.
64374         * soft-fp/soft-fp.h: Likewise.
64375         * stdio-common/printf.h: Likewise.
64376         * stdlib/monetary.h: Likewise.
64377         * stdlib/random.c: Likewise.
64378         * stdlib/random_r.c: Likewise.
64379         * sysdeps/generic/Makefile: Likewise.
64380         * sysdeps/gnu/Makefile: Likewise.
64381         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64383         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64385         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64388         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64389         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64391         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64392         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64393         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64394         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64395         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64396         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64397         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64398         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64399         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64400         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64401         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64402         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64403         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64404         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64405         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64406         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64407         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64408         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64409         * sysdeps/mach/hurd/errnos.awk: Likewise.
64410         * sysdeps/mach/hurd/fork.c: Likewise.
64411         * sysdeps/mach/hurd/getcwd.c: Likewise.
64412         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64413         * sysdeps/mach/hurd/mmap.c: Likewise.
64414         * sysdeps/mach/hurd/utimes.c: Likewise.
64415         * sysdeps/mach/hurd/xmknod.c: Likewise.
64416         * sysdeps/posix/profil.c: Likewise.
64417         * sysdeps/posix/readdir_r.c: Likewise.
64418         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64419         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64420         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64421         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64423         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64424         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64425         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64427         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64428         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64429         * sysdeps/pthread/lio_listio.c: Likewise.
64430         * sysdeps/sparc/dl-procinfo.h: Likewise.
64431         * sysdeps/unix/i386/sysdep.S: Likewise.
64432         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64433         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64434         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64435         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64437         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64438         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64439         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64440         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64441         * sysdeps/wordsize-32/divdi3.c: Likewise.
64442         * time/sys/time.h: Likewise.
64443         * wcsmbs/Makefile: Likewise.
64445 2013-01-01  David S. Miller  <davem@davemloft.net>
64447         * po/fr.po: Update from translation team.
64449         * catgets/gencat.c: Update copyright year.
64450         * csu/version.c: Likewise.
64451         * debug/catchsegv.sh: Likewise.
64452         * debug/pcprofiledump.c: Likewise.
64453         * debug/xtrace.sh: Likewise.
64454         * elf/ldconfig.c: Likewise.
64455         * elf/ldd.bash.in: Likewise.
64456         * elf/pldd.c: Likewise.
64457         * elf/sotruss.ksh: Likewise.
64458         * elf/sprof.c: Likewise.
64459         * iconv/iconv_prog.c: Likewise.
64460         * iconv/iconvconfig.c: Likewise.
64461         * locale/programs/locale.c: Likewise.
64462         * locale/programs/localedef.c: Likewise.
64463         * login/programs/pt_chown.c: Likewise.
64464         * malloc/memusage.sh: Likewise.
64465         * malloc/memusagestat.c: Likewise.
64466         * malloc/mtrace.pl: Likewise.
64467         * nscd/nscd.c: Likewise.
64468         * nss/getent.c: Likewise.
64469         * nss/makedb.c: Likewise.
64470         * posix/getconf.c: Likewise.
64472 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64474         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64475         numbers.
64477 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64479         * math/bits/mathcalls.h (modf): Use __nonnull.
64481 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64483         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64484         (split): Use macro CN instead of the bare value.
64485         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64486         could be used.
64487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64488         instead of the bare value.
64489         (power1): Likewise.
64491 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64493         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64494         __ATAN_TWOM.
64495         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64497         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64498         their values.
64499         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64500         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64501         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64502         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64504 2012-12-28  Andreas Jaeger  <aj@suse.de>
64506         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64507         values are from Linux 3.7.
64509         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64510         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64512 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64514         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64515         TRUE case.
64517         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64518         (norm): Likewise.
64519         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64520         variables with preprocessor constants.
64521         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64522         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64523         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64525 2012-12-27  Bruno Haible  <bruno@clisp.org>
64527         [BZ #14317]
64528         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64529         only if needed.
64531 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64534         and use variable directly.
64535         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64537         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64538         MPONE.
64539         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64541         variable MPONE.
64542         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64544         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64545         include directive.  Remove local variable MPONE.
64546         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64547         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64548         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64550 2012-12-25  David S. Miller  <davem@davemloft.net>
64552         * version.h (RELEASE): Set to "development".
64553         (VERSION): Set to "2.17.90".
64554         * NEWS: Add 2.18 section.
64556 2012-12-21  David S. Miller  <davem@davemloft.net>
64558         * po/hr.po: Update from translation team.
64560 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64562         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64564 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64566         * NEWS:  Mention new memcpy for MIPS.
64568 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64570         * manual/contrib.texi (Contributors): Spelling correction.
64572 2012-12-15  David S. Miller  <davem@davemloft.net>
64574         * po/ru.po: Update from translation team.
64576 2012-12-13  David S. Miller  <davem@davemloft.net>
64578         * NEWS: Mention IFUNC testsuite enhancements.
64580         * po/pl.po: Update from translation team.
64581         * po/bg.po: Likewise.
64583         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64584         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64586 2012-12-11  David S. Miller  <davem@davemloft.net>
64588         * po/sv.po: Update from translation team.
64590         * po/vi.po: Update from translation team.
64592         * po/cs.po: Update from translation team.
64594         * po/de.po: Update from translation team.
64595         * po/eo.po: Likewise.
64596         * po/nl.po: Likewise.
64598 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64600         [BZ #14246]
64601         * manual/argp.texi (Argp Helper Functions): Move node to follow
64602         Argp Parsing State.
64604         [BZ #14872]
64605         * manual/conf.texi (Limits on File System Capacity): Mention if
64606         terminating null is included in the max size.
64608 2012-12-10  Andreas Jaeger  <aj@suse.de>
64610         * po/cs.po: Update from translation team.
64612 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64614         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64615         void pointer and cast to uintptr_t.
64616         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64617         path.
64618         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64619         * sysdeps/s390/s390-64/memset.S: Likewise.
64621 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64623         [BZ #14833]
64624         * menual/message.texi (Message Translation): Fix typos.
64625         (Helper programs for gettext): Likewise.
64627 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64629         [BZ #14898]
64630         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64631         Change to -1.
64633 2012-12-07  David S. Miller  <davem@davemloft.net>
64635         * po/libc.pot: Update.
64637 2012-12-07  Richard Henderson  <rth@redhat.com>
64639         [BZ #10114]
64640         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64641         normal/normal case to before the switch.
64642         (_FP_DIV): Likewise.
64644 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64645             Mike Frysinger  <vapier@gentoo.org>
64647         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64648         check for __NR_fadvise64_64.
64650 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64652         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64653         0, not just to plain "0" as a statement.
64654         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64655         with cw.
64657 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64659         * NEWS: Use sourceware.org in Bugzilla URL.
64661 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64664         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64666         * stdio-common/tst-put-error.c (do_test): Add newline to the
64667         padded test to ensure flush.
64669 2012-12-05  Jeff Law  <law@redhat.com>
64671         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64673 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64675         * README: Don't refer to ports add-on as distributed separately.
64676         Mention AArch64 in list of systems supported in the ports add-on.
64678         * LICENSES: Add more non-FSF copyright and license notices.
64680         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64681         ((unused)).
64683         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64685         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64686         10000 as width of padded output.
64688 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64690         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64693         variable LX with __attribute__ ((unused)).
64694         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64695         Likewise.
64696         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64697         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64699         with __attribute__ ((unused)).
64701 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64703         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64705 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64707         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64708         (CFLAGS-nldbl-acos.c): New variable.
64709         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64710         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64711         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64712         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64713         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64714         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64715         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64716         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64717         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64718         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64719         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64720         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64721         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64722         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64723         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64724         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64725         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64726         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64727         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64728         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64729         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64730         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64731         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64732         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64733         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64734         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64735         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64736         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64737         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64738         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64739         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64740         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64741         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64742         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64743         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64744         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64745         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64746         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64747         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64748         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64749         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64750         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64751         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64752         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64753         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64754         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64755         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64756         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64757         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64758         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64759         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64760         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64761         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64762         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64763         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64764         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64765         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64766         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64767         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64768         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64769         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64770         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64771         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64772         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64773         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64774         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64775         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64776         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64777         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64778         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64779         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64780         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64781         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64782         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64783         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64784         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64785         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64786         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64787         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64788         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64789         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64790         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64791         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64792         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64793         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64794         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64795         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64796         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64797         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64798         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64799         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64800         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64801         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64802         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64803         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64804         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64805         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64808         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64810         [BZ #14914]
64811         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64812         whole low double instead of just low 47 bits when splitting values
64813         into two parts.
64815 2012-12-03  Allan McRae  <allan@archlinux.org>
64817         * manual/stdio.texi (Predefined Printf Handlers): Remove
64818         @hsep and @vsep usage.
64820 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64822         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64823         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64825 2012-12-03  Jeff Law  <law@redhat.com>
64827         * time/sys/time.h (settimeofday): Do not mark TV argument
64828         as __nonnull.
64830 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64832         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64833         when currently writing and seek to current position when not.
64834         * libio/Makefile (tests): Remove bug-fclose1.
64835         * libio/bug-fclose1.c: Delete.
64837 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64839         * manual/arith.texi (feenableexcept): Fix typo.
64840         (fedisableexcept): Likewise.
64842 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64844         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64845         second, differently-typed declaration, rather than a cast.
64847 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64849         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64850         * include/rpc/svc.h: ... here.
64852 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64854         [BZ #13013]
64855         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64856         depending n and resplen2 to catch cases where answer
64857         equals answerp2.
64859 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64861         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64862         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64864 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64868 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64870         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64872 2012-11-28  Jeff Law  <law@redhat.com>
64874         [BZ #13761]
64875         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64876         dataset_temporary.  Track alloca usage into alloca_used.
64877         If dataset is large allocate and release it via malloc/free.
64879 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64881         [BZ #14197]
64882         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64884 2012-11-28  David S. Miller  <davem@davemloft.net>
64886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64888 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64890         [BZ #14803]
64891         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64892         of pi/2 rounded to nearest to 64 bits.
64893         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64894         nearest to 64 bits.
64895         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64896         bits.
64898 2012-11-28  Jeff Law <law@redhat.com>
64899             Martin Osvald <mosvald@redhat.com>
64901         [BZ #14889]
64902         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64903         * sunrpc/svc.c: Include time.h.
64904         (__svc_accept_failed): New function.
64905         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64906         any reason other than EINTR, call __svc_accept_failed.
64907         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64908         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64910 2012-11-28  Andreas Schwab  <schwab@suse.de>
64912         * scripts/abilist.awk: Also handle indirect functions in .opd
64913         section.
64915 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64917         [BZ #13881]
64918         * sysdeps/x86/fpu/powl_helper.c: New file.
64919         * sysdeps/x86/fpu/Makefile: Likewise.
64920         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64921         (p3): New object.
64922         (__ieee754_powl): Use __powl_helper for finite arguments except
64923         integer exponents below 8.
64924         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64925         (p3): New object.
64926         (__ieee754_powl): Use __powl_helper for finite arguments except
64927         integer exponents below 8.
64928         * math/libm-test.inc (pow_test): Add more tests and enable some
64929         previously disabled tests.
64930         * sysdeps/i386/fpu/libm-test-ulps: Update.
64931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64933 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64934             Carlos O'Donell  <carlos_odonell@mentor.com>
64936         * nss/makedb.c (is_prime): Assert that input is odd and greater
64937         than 4.  Note that fact in a comment too.
64938         (next_prime): Add 4 to input.
64940 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64942         [BZ #11741]
64943         * libio/Makefile (tests): Add test case tst-fwrite-error.
64944         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64945         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64946         * libio/tst-fwrite-error.c: New test case.
64948 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64950         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64951         before casting to void *.
64952         * include/libc-internal.h (__pointer_type): New macro.
64953         (__integer_if_pointer_type_sub): Likewise.
64954         (__integer_if_pointer_type): Likewise.
64955         (cast_to_integer): Likewise.
64956         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64957         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64958         before casting to atomic64_t.
64959         (atomic_exchange_acq): Likewise.
64960         (__arch_exchange_and_add_body): Likewise.
64961         (__arch_add_body): Likewise.
64962         (atomic_add_negative): Likewise.
64963         (atomic_add_zero): Likewise.
64965 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64967         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64968         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64969         (add_fdes): Likewise.
64970         (linear_search_fdes): Likewise.
64971         (binary_search_unencoded_fdes): Likewise.
64973 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64975         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64977 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64979         * configure.in: Autodetect C++ header directories.
64980         * configure: Regenerated.
64982 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64984         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64986 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64990 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64992         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64993         LDBL_MANT_DIG == 106]: Disable some tests.
64994         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64995         Likewise.
64996         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64997         Likewise.
64999         [BZ #14871]
65000         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65001         input for small inputs.  Return +/- pi/2 for large inputs.
65002         * math/libm-test.inc (atan_test): Add more tests.
65004         * sysdeps/generic/unwind-dw2-fde-glibc.c
65005         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65006         __attribute__ ((unused)).
65008         [BZ #14645]
65009         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65010         x * y if x and y are nonzero and z is zero.
65012         [BZ #14811]
65013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65014         nonzero exponents with absolute value below 0x1p-117 to +/-
65015         0x1p-117.
65017         [BZ #14869]
65018         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65019         up arguments below 2**-450, not just those below 2**-500.
65020         * math/libm-test.inc (hypot_test): Add another test.
65022         [BZ #14868]
65023         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65024         Return a+b for ratio over 2**120, not 2**60.
65025         * math/libm-test.inc (hypot_test): Add another test.
65027         * math/libm-test.inc (clog_test): Use
65028         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65029         (clog10_test): Likewise.
65031         [BZ #6778]
65032         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65034 2012-11-22  Andreas Schwab  <schwab@suse.de>
65036         * sysdeps/i386/fpu/libm-test-ulps: Update.
65038 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65040         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65041         printf output with newline.
65043 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65045         [BZ #14865]
65046         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65047         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65048         -z nodlopen, -z initfirst and -z execstack support.
65049         * configure: Regenerated.
65051         * elf/elf.h (DF_1_NODIRECT): New macro.
65052         (DF_1_IGNMULDEF): Likewise.
65053         (DF_1_NOKSYMS): Likewise.
65054         (DF_1_NOHDR): Likewise.
65055         (DF_1_EDITED): Likewise.
65056         (DF_1_NORELOC): Likewise.
65057         (DF_1_SYMINTPOSE): Likewise.
65058         (DF_1_GLOBAUDIT): Likewise.
65059         (DF_1_SINGLETON): Likewise.
65060         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65061         DT_1_SUPPORTED_MASK bits.
65062         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65064 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65066         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65068 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65070         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65071         macro.
65073         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65074         (sendmmsg): Move declarations...
65075         * socket/sys/socket.h: ... here.
65076         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65077         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65078         include it from...
65079         * socket/recvmmsg.c: ... this new file.
65080         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65081         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65082         definition of __sendmmsg hidden.
65083         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65084         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65085         Move ENOSYS stub into and include it from...
65086         * socket/sendmmsg.c: ... this new file.
65087         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65088         (sysdep_routines): Move recvmmsg and sendmmsg...
65089         * socket/Makefile (routines): ... here.
65090         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65091         (GLIBC_PRIVATE): Add __sendmmsg.
65092         * include/sys/socket.h (__sendmmsg): Add declarations.
65093         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65094         sendmmsg.
65096 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65098         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65099         variable I1 with __attribute__ ((unused)).
65100         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65102 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65104         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65105         DUMMY variables with __attribute__ ((unused)).
65107         * bits/byteswap.h: Include <bits/types.h>.
65108         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65110 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65112         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65113         string_t.  Do not manually set errno.
65114         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65115         length with __strnlen.  Make sure to both set errno and return it on
65116         failure.
65118 2012-11-19  David S. Miller  <davem@davemloft.net>
65120         With help from Joseph Myers.
65121         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65122         very large arguments properly.
65123         * math/libm-test.inc (atan_test): New tests.
65124         (atan2_test): New tests.
65125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65128 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65130         [BZ #14856]
65131         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65132         Define to 3.
65134         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65135         [POSIX] (EADDRNOTAVAIL): Likewise.
65136         [POSIX] (EAFNOSUPPORT): Likewise.
65137         [POSIX] (EALREADY): Likewise.
65138         [POSIX] (ECONNABORTED): Likewise.
65139         [POSIX] (ECONNREFUSED): Likewise.
65140         [POSIX] (ECONNRESET): Likewise.
65141         [POSIX] (EDESTADDRREQ): Likewise.
65142         [POSIX] (EDQUOT): Likewise.
65143         [POSIX] (EHOSTUNREACH): Likewise.
65144         [POSIX] (EIDRM): Likewise.
65145         [POSIX] (EISCONN): Likewise.
65146         [POSIX] (ELOOP): Likewise.
65147         [POSIX] (EMULTIHOP): Likewise.
65148         [POSIX] (ENETDOWN): Likewise.
65149         [POSIX] (ENETUNREACH): Likewise.
65150         [POSIX] (ENOBUFS): Likewise.
65151         [POSIX] (ENODATA): Likewise.
65152         [POSIX] (ENOLINK): Likewise.
65153         [POSIX] (ENOMSG): Likewise.
65154         [POSIX] (ENOPROTOOPT): Likewise.
65155         [POSIX] (ENOSR): Likewise.
65156         [POSIX] (ENOSTR): Likewise.
65157         [POSIX] (ENOTCONN): Likewise.
65158         [POSIX] (ENOTSOCK): Likewise.
65159         [POSIX] (EOPNOTSUPP): Likewise.
65160         [POSIX] (EOVERFLOW): Likewise.
65161         [POSIX] (EPROTO): Likewise.
65162         [POSIX] (EPROTONOSUPPORT): Likewise.
65163         [POSIX] (EPROTOTYPE): Likewise.
65164         [POSIX] (ESTALE): Likewise.
65165         [POSIX] (ETIME): Likewise.
65166         [POSIX] (ETXTBSY): Likewise.
65167         [POSIX] (EWOULDBLOCK): Likewise.
65168         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65169         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65170         [POSIX] (SEEK_CUR): Likewise.
65171         [POSIX] (SEEK_END): Likewise.
65172         [POSIX || UNIX98] (mode_t): Do not require.
65173         [POSIX] (off_t): Likewise.
65174         [POSIX] (pid_t): Likewise.
65175         [POSIX] (sys/stat.h): Do not allow header.
65176         [POSIX] (unistd.h): Likewise.
65177         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65178         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65179         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65180         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65181         require.
65182         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65183         sigevent): Specify elements.
65184         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65185         entry.
65186         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65187         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65189         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65190         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65191         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65192         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65193         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65194         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65195         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65196         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65197         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65198         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65199         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65200         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65201         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65202         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65203         Likewise.
65204         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65205         Likewise.
65206         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65207         Likewise.
65208         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65209         Likewise.
65210         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65211         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65212         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65213         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65214         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65215         Specify lower bound on value.
65216         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65217         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65218         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65219         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65220         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65221         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65222         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65223         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65224         value.
65225         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65226         as optional.
65227         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65228         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65229         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65230         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65231         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65232         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65233         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65234         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65235         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65236         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65237         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65238         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65239         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65240         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65241         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65242         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65243         entry.
65244         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65245         optional.
65246         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65247         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65248         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65249         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65250         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65251         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65252         Likewise.
65253         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65254         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65255         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65256         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65257         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65258         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65259         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65260         as optional.
65261         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65262         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65263         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65264         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65265         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65266         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65267         specify as optional.
65268         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65269         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65270         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65271         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65272         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65273         [XPG3] (NL_LANGMAX): Likewise.
65274         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65275         [POSIX || XPG3] (NL_NMAX): Likewise.
65276         [POSIX || XPG3] (NL_SETMAX): Likewise.
65277         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65278         [XPG3] (NZERO): Likewise.
65279         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65280         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65281         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65282         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65283         (REG_ERANGE): Expect.
65284         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65285         optional-constant.
65286         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65287         Use (void) in prototype.
65288         [POSIX] (*_t): Allow.
65289         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65290         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65291         (WRDE_BADVAL): Expect.
65293         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65294         expect.
65295         [XPG3 || XPG4] (O_RSYNC): Likewise.
65296         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65297         Likewise.
65298         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65299         [XPG3 || XPG4] (sigqueue): Likewise.
65300         [XPG3 || XPG4] (sigtimedwait): Likewise.
65301         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65302         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65303         [XPG3 || XPG4] (vsnprintf): Likewise.
65304         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65305         Likewise.
65306         [XPG3 || XPG4] (blksize_t): Likewise.
65307         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65308         Likewise.
65309         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65310         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65311         [XPG3 || XPG4] (struct itimerspec): Likewise.
65312         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65313         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65314         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65315         [XPG3 || XPG4] (clockid_t): Likewise.
65316         [XPG3 || XPG4] (timer_t): Likewise.
65317         [XPG3 || XPG4] (clock_getres): Likewise.
65318         [XPG3 || XPG4] (clock_gettime): Likewise.
65319         [XPG3 || XPG4] (clock_settime): Likewise.
65320         [XPG3 || XPG4] (nanosleep): Likewise.
65321         [XPG3 || XPG4] (timer_create): Likewise.
65322         [XPG3 || XPG4] (timer_delete): Likewise.
65323         [XPG3 || XPG4] (timer_gettime): Likewise.
65324         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65325         [XPG3 || XPG4] (timer_settime): Likewise.
65326         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65327         [XPG3 || XPG4] (getlogin_r): Likewise.
65328         [XPG3 || XPG4] (pread): Likewise.
65329         [XPG3 || XPG4] (pthread_atfork): Likewise.
65330         [XPG3 || XPG4] (pwrite): Likewise.
65332         [BZ #14835]
65333         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65334         <bits/siginfo.h>.
65336 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65338         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65339         finalizing MALLSTREAM.
65341         * sysdeps/mach/hurd/syncfs.c: New file.
65343 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65345         [BZ #14719]
65346         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65347         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65348         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65349         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65350         (_nss_dns_gethostbyname4_r): Likewise.
65351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65352         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65354 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65356         [BZ #13763]
65357         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65359 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65361         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65362         * elf/cache.c (print_entry): Print ",AArch64" for
65363         FLAG_AARCH64_LIB64
65365         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65366         * elf/cache.c (print_entry): Print ",hard-float" for
65367         FLAG_ARM_LIBHF.
65369 2012-11-18  David S. Miller  <davem@davemloft.net>
65371         With help from Joseph Myers.
65372         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65373         cutoff to 2**-13.
65374         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65375         cutoff to 2**-25.
65376         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65377         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65378         small.
65379         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65380         * math/libm-test.inc (y0_test): New tests.
65381         (y1_test): New tests.
65382         * sysdeps/i386/fpu/libm-test-ulps: Update.
65383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65386 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65388         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65389         64-bit targets.
65390         * configure: Regenerated.
65392 2012-11-17  David S. Miller  <davem@davemloft.net>
65394         [BZ #14811]
65395         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65396         nonzero exponents with absolute value below 0x1p-128 to +/-
65397         0x1p-128.
65399 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65401         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65403         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65405         * posix/getconf-speclist.c: New file.
65406         * posix/posix-envs.def: Likewise.
65407         * posix/confstr.c (START_ENV_GROUP): New macro.
65408         (END_ENV_GROUP): Likewise.
65409         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65410         (KNOWN_PRESENT_ENV_STRING): Likewise.
65411         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65412         (UNKNOWN_ENVIRONMENT): Likewise.
65413         (confstr): Include posix-envs.def instead of handling
65414         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65415         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65416         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65417         (END_ENV_GROUP): Likewise.
65418         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65419         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65420         (UNKNOWN_ENVIRONMENT): Likewise.
65421         (__sysconf): Include posix-envs.def instead of handling associated
65422         cases directly here.
65423         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65424         preprocessing getconf-speclist.c rather than running getconf or
65425         generating empty file.
65427 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65429         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65431 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65433         [BZ #14672]
65434         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65436 2012-11-16  David S. Miller  <davem@davemloft.net>
65438         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65439         smaller than LDBL_EPSILON/2.0L, just return xm1.
65441 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65443         * elf/tst-array1.c (init): Set constructor priority to 1000.
65444         (fini): Set destructor priority to 1000.
65445         * elf/tst-array2dep.c: Likewise.
65447 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65449         [BZ #11741]
65450         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65451         (_IO_new_file_xsputn): Also return EOF if none of the input
65452         data was written when overflow failed.
65453         * libio/iopadn.c (_IO_padn): Likewise.
65454         * libio/iowpadn.c (_IO_wpadn): Likewise.
65455         * stdio-common/tst-put-error.c: Add copyright notice.
65456         (do_test): Add case for printing padded string.
65457         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65458         _IO_padn returned error.
65459         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65460         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65461         return EOF.
65463 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65465         * libio/libioP.h: Add comment note that the references to C++
65466         bits are now obsolete.
65468 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65470         * math/libm-test.inc (check_complex): Use asprintf.
65472 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65474         * debug/pcprofiledump.c (print_version): Update copyright year.
65475         * malloc/memusagestat.c (print_version): Likewise.
65477 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65479         [BZ #14831]
65480         * elf/Makefile (tests): Add tst-audit8.
65481         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65482         ($(objpfx)tst-audit8.out): New target.
65483         (tst-audit8-ENV): New variable.
65484         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65485         audit if l_reloc_result is NULL.
65486         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65487         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65488         * elf/tst-audit8.c: New file.
65490 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65492         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65493         * misc/Makefile (CFLAGS-select.c): Define.
65494         * posix/Makefile (CFLAGS-pause.c): Define.
65496 2012-11-13  David S. Miller  <davem@davemloft.net>
65498         * crypt/Makefile: Move test targets after toplevel Rules
65499         inclusion.  Grab any necessary sysdep routines when linking.
65500         * crypt/md5.c (md5_process_block): Remove define, we will always
65501         name it __md5_process_block.
65502         (md5_finish_ctx): Update md5_process_block call.
65503         (md5_stream): Likewise.
65504         (md5_process_bytes): Likewise.
65505         (md5_process_block): Rename to __md5_process_block and move to ...
65506         * crypt/md5-block.c: ... here.
65507         * crypt/sha256.c (sha256_process_block): Move to ...
65508         * crypt/sha256-block.c: ... here.
65509         * crypt/sha512.c (sha512_process_block): Move to ...
65510         * crypt/sha512-block.c: ... here.
65511         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65512         path.
65513         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65514         * sysdeps/sparc/sparc64/multiarch/Makefile
65515         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65516         crypt subdir.
65517         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65518         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65519         multiarch changes.
65520         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65521         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65522         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65523         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65524         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65525         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65526         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65527         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65528         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65529         file.
65530         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65531         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65532         file.
65533         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65535 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65537         * timezone/tzselect.ksh: Update from tzcode git revision
65538         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65539         * timezone/zdump.c: Likewise.
65540         * timezone/zic.c: Likewise.
65541         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65542         in TZVERSION setting, not $(PKGVERSION).
65543         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65544         REPORT_BUGS_TO settings.
65546         [BZ #14838]
65547         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65548         macro.
65550 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65552         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65553         detection to immediately after _FP_ROUND().
65554         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65555         bits are 0.
65557 2012-11-11  David S. Miller  <davem@davemloft.net>
65559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65560         inttypes.h
65561         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65562         __close rather than their public counterparts.
65564 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65566         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65567         file.
65568         [UNIX98] (sem_timedwait): Do not expect.
65569         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65570         [XPG4 || UNIX98] (sockatmark): Do not expect.
65571         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65572         (clock_getcpuclockid): Do not expect.
65573         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65574         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65575         Do not expect.
65576         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65577         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65578         [UNIX98] (vwscanf): Likewise.
65579         [UNIX98] (vswscanf): Likewise.
65581 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65583         * timezone/version.h: Remove file.
65584         * timezone/README: Do not refer to version.h.
65585         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65586         $(objpfx)version.h.
65587         ($(objpfx)zdump.o): Likewise.
65588         ($(objpfx)version.h): New target.
65590         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65591         2012i.
65592         * timezone/README: Don't mention modification to tzselect.ksh.
65593         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65594         work on unmodified tzselect.ksh.  Substitute version numbers in
65595         tzselect.ksh.
65597         * Makefile (format-me): Remove.
65598         (INSTALL): Adjust indentation.  Use commands directly instead of
65599         using $(format-me).
65601         * aclocal.m4 (ACX_PKGVERSION): New macro.
65602         (ACX_BUGURL): Likewise.
65603         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65604         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65605         (REPORT_BUGS_TO): Likewise.
65606         * configure: Regenerated.
65607         * config.h.in (PKGVERSION): New macro.
65608         (REPORT_BUGS_TO): Likewise.
65609         * config.make.in (PKGVERSION): New variable.
65610         (PKGVERSION_TEXI): Likewise.
65611         (REPORT_BUGS_TO): Likewise.
65612         (REPORT_BUGS_TEXI): Likewise.
65613         * Makefile (format-me): Use -I$(common-objpfx)manual.
65614         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65615         ($(common-objpfx)manual/%): New target.
65616         (manual/%): Remove target.
65617         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65618         (print_version): Use PKGVERSION.
65619         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65620         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65621         and REPORT_BUGS_TO.
65622         ($(objpfx)xtrace): Likewise.
65623         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65624         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65625         (print_version): Use PKGVERSION.
65626         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65627         (do_version): Use PKGVERSION.
65628         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65629         REPORT_BUGS_TO.
65630         (common-ldd-rewrite): Likewise.
65631         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65632         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65633         (print_version): Use PKGVERSION.
65634         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65635         * elf/pldd.c (argp_program_bug_address): Remove variable.
65636         (more_help): New function.
65637         (argp): Use more_help.
65638         (print_version): Use PKGVERSION.
65639         * elf/sln.c (main): Use PKGVERSION.
65640         (usage): Use REPORT_BUGS_TO.
65641         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65642         (top level): Use PKGVERSION.
65643         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65644         (print_version): Use PKGVERSION.
65645         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65646         (print_version): Use PKGVERSION.
65647         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65648         (print_version): Use PKGVERSION.
65649         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65650         (print_version): Use PKGVERSION.
65651         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65652         (print_version): Use PKGVERSION.
65653         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65654         (print_version): Use PKGVERSION.
65655         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65656         and BUGURL.
65657         ($(objpfx)memusage): Likewise.
65658         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65659         (do_version): Use PKGVERSION.
65660         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65661         (print_version): Use PKGVERSION.
65662         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65663         ($PKGVERSION): New variable.
65664         ($REPORT_BUGS_TO): Likewise.
65665         (usage): Use $REPORT_BUGS_TO.
65666         (top level): Use $PKGVERSION.
65667         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65668         ($(objpfx)pkgvers.texi): New rule.
65669         ($(objpfx)stamp-pkgvers): Likewise.
65670         * manual/install.texi: Include pkgvers.texi.
65671         (--with-pkgversion): Document new configure option.
65672         (--with-bugurl): Likewise.
65673         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65674         than necessarily for this particular distribution.  Use
65675         REPORT_BUGS_TO for where to report bugs.
65676         * INSTALL: Regenerated.
65677         * manual/libc.texinfo: Include pkgvers.texi.
65678         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65679         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65680         (print_version): Use PKGVERSION.
65681         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65682         (print_version): Use PKGVERSION.
65683         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65684         (print_version): Use PKGVERSION.
65685         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65686         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65687         macro.
65688         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65689         (print_version): Use PKGVERSION.
65690         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65691         (print_version): Use PKGVERSION.
65692         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65693         and PKGVERSION.
65695         * timezone/checktab.awk: Update from tzcode 2012i.
65696         * timezone/ialloc.c: Likewise.
65697         * timezone/private.h: Likewise.
65698         * timezone/scheck.c: Likewise.
65699         * timezone/tzfile.h: Likewise.
65700         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65701         (TZVERSION): Hardcode tzcode version number.
65702         * timezone/zdump.c: Update from tzcode 2012i.
65703         * timezone/zic.c: Likewise.
65704         * timezone/version.h: New file.
65705         * timezone/README: Describe version.h.  Update upstream location.
65707         [BZ #14824]
65708         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65709         (mktemp): Enable declaration.
65710         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65714         Likewise.
65715         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65716         Likewise.
65717         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65718         Likewise.
65719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65720         Likewise.
65721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65722         Likewise.
65723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65724         Likewise.
65726         [BZ #14821]
65727         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65728         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65729         for copies of such integer values.
65730         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65731         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65733 2012-11-09  Andreas Jaeger  <aj@suse.de>
65735         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65736         definitions and declarations that are provided by
65737         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65739 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65741         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65742         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65743         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65744         definition.
65746 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65748         * elf/elf.h: Update comment before AArch64 relocations.
65750 2012-11-07  David S. Miller  <davem@davemloft.net>
65752         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65753         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65754         (__start_context): Declare.
65755         (__makecontext_ret): Delete.
65756         (__makecontext): Hook up __start_context instead of
65757         __makecontext_ret.
65758         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65759         (sysdep_routines): Add __start_context when in stdlib.
65761 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65763         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65764         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65765         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65766         hardcoded "nm".
65767         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65768         (READELF): New variable.  Use it instead of hardcoded "readelf".
65770 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65772         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65773         * sysdeps/x86/Makefile: Here.
65774         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65775         * sysdeps/x86/tst-xmmymm.sh: This.
65777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65779         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65780         expectations.
65781         [UNIX98] (pthread_barrier_t): Do not expect.
65782         [UNIX98] (pthread_barrierattr_t): Likewise.
65783         [UNIX98] (pthread_spinlock_t): Likewise.
65784         [UNIX98] (pthread_barrier_destroy): Likewise.
65785         [UNIX98] (pthread_barrier_init): Likewise.
65786         [UNIX98] (pthread_barrier_wait): Likewise.
65787         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65788         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65789         [UNIX98] (pthread_barrierattr_init): Likewise.
65790         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65791         [UNIX98] (pthread_getcpuclockid): Likewise.
65792         [UNIX98] (pthread_mutex_timedlock): Likewise.
65793         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65794         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65795         [UNIX98] (pthread_sigmask): Likewise.
65796         [UNIX98] (pthread_spin_destroy): Likewise.
65797         [UNIX98] (pthread_spin_init): Likewise.
65798         [UNIX98] (pthread_spin_lock): Likewise.
65799         [UNIX98] (pthread_spin_trylock): Likewise.
65800         [UNIX98] (pthread_spin_unlock): Likewise.
65801         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65802         Do not expect.
65803         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65804         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65805         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65806         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65807         [XPG3 || XPG4] (pthread_key_t): Likewise.
65808         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65809         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65810         [XPG3 || XPG4] (pthread_once_t): Likewise.
65811         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65812         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65813         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65814         [XPG3 || XPG4] (pthread_t): Likewise.
65816         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65817         not expect.
65818         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65820         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65821         Change function return type to int.
65823         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65824         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65825         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65826         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65827         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65828         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65829         [!POSIX] (posix_madvise): Likewise.
65830         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65831         && !UNIX98].
65832         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65833         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65834         (mode_t): Likewise.
65835         (posix_mem_offset): Likewise.
65836         (posix_typed_mem_get_info): Likewise.
65837         (posix_typed_mem_open): Likewise.
65839         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65840         Change condition to [XOPEN2K8].
65842         * conform/conformtest.pl: Preprocess allow-header data with -x c
65843         instead of from stdin.
65844         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65845         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65846         [C99-based standards] (cerfc): Likewise.
65847         [C99-based standards] (cexp2): Likewise.
65848         [C99-based standards] (cexpm1): Likewise.
65849         [C99-based standards] (clog10): Likewise.
65850         [C99-based standards] (clog1p): Likewise.
65851         [C99-based standards] (clog2): Likewise.
65852         [C99-based standards] (clgamma): Likewise.
65853         [C99-based standards] (ctgamma): Likewise.
65854         [C99-based standards] (cerff): Likewise.
65855         [C99-based standards] (cerfcf): Likewise.
65856         [C99-based standards] (cexp2f): Likewise.
65857         [C99-based standards] (cexpm1f): Likewise.
65858         [C99-based standards] (clog10f): Likewise.
65859         [C99-based standards] (clog1pf): Likewise.
65860         [C99-based standards] (clog2f): Likewise.
65861         [C99-based standards] (clgammaf): Likewise.
65862         [C99-based standards] (ctgammaf): Likewise.
65863         [C99-based standards] (cerfl): Likewise.
65864         [C99-based standards] (cerfcl): Likewise.
65865         [C99-based standards] (cexp2l): Likewise.
65866         [C99-based standards] (cexpm1l): Likewise.
65867         [C99-based standards] (clog10l): Likewise.
65868         [C99-based standards] (clog1pl): Likewise.
65869         [C99-based standards] (clog2l): Likewise.
65870         [C99-based standards] (clgammal): Likewise.
65871         [C99-based standards] (ctgammal): Likewise.
65872         * conform/data/inttypes.h-data [C99-based standards]: Include
65873         stdint.h-data.  Remove all expectations for stdint.h contents.
65874         [C99-based standards] (PRI*): Do not allow.
65875         [C99-based standards] (SCN*): Likewise.
65876         [C99-based standards] (*_t): Likewise.
65877         [C99-based-standards] (PRId8): Expect macro.
65878         [C99-based-standards] (PRIi8): Likewise.
65879         [C99-based-standards] (PRIo8): Likewise.
65880         [C99-based-standards] (PRIu8): Likewise.
65881         [C99-based-standards] (PRIx8): Likewise.
65882         [C99-based-standards] (PRIX8): Likewise.
65883         [C99-based-standards] (SCNd8): Likewise.
65884         [C99-based-standards] (SCNi8): Likewise.
65885         [C99-based-standards] (SCNo8): Likewise.
65886         [C99-based-standards] (SCNu8): Likewise.
65887         [C99-based-standards] (SCNx8): Likewise.
65888         [C99-based-standards] (PRIdLEAST8): Likewise.
65889         [C99-based-standards] (PRIiLEAST8): Likewise.
65890         [C99-based-standards] (PRIoLEAST8): Likewise.
65891         [C99-based-standards] (PRIuLEAST8): Likewise.
65892         [C99-based-standards] (PRIxLEAST8): Likewise.
65893         [C99-based-standards] (PRIXLEAST8): Likewise.
65894         [C99-based-standards] (SCNdLEAST8): Likewise.
65895         [C99-based-standards] (SCNiLEAST8): Likewise.
65896         [C99-based-standards] (SCNoLEAST8): Likewise.
65897         [C99-based-standards] (SCNuLEAST8): Likewise.
65898         [C99-based-standards] (SCNxLEAST8): Likewise.
65899         [C99-based-standards] (PRIdFAST8): Likewise.
65900         [C99-based-standards] (PRIiFAST8): Likewise.
65901         [C99-based-standards] (PRIoFAST8): Likewise.
65902         [C99-based-standards] (PRIuFAST8): Likewise.
65903         [C99-based-standards] (PRIxFAST8): Likewise.
65904         [C99-based-standards] (PRIXFAST8): Likewise.
65905         [C99-based-standards] (SCNdFAST8): Likewise.
65906         [C99-based-standards] (SCNiFAST8): Likewise.
65907         [C99-based-standards] (SCNoFAST8): Likewise.
65908         [C99-based-standards] (SCNuFAST8): Likewise.
65909         [C99-based-standards] (SCNxFAST8): Likewise.
65910         [C99-based-standards] (PRId16): Likewise.
65911         [C99-based-standards] (PRIi16): Likewise.
65912         [C99-based-standards] (PRIo16): Likewise.
65913         [C99-based-standards] (PRIu16): Likewise.
65914         [C99-based-standards] (PRIx16): Likewise.
65915         [C99-based-standards] (PRIX16): Likewise.
65916         [C99-based-standards] (SCNd16): Likewise.
65917         [C99-based-standards] (SCNi16): Likewise.
65918         [C99-based-standards] (SCNo16): Likewise.
65919         [C99-based-standards] (SCNu16): Likewise.
65920         [C99-based-standards] (SCNx16): Likewise.
65921         [C99-based-standards] (PRIdLEAST16): Likewise.
65922         [C99-based-standards] (PRIiLEAST16): Likewise.
65923         [C99-based-standards] (PRIoLEAST16): Likewise.
65924         [C99-based-standards] (PRIuLEAST16): Likewise.
65925         [C99-based-standards] (PRIxLEAST16): Likewise.
65926         [C99-based-standards] (PRIXLEAST16): Likewise.
65927         [C99-based-standards] (SCNdLEAST16): Likewise.
65928         [C99-based-standards] (SCNiLEAST16): Likewise.
65929         [C99-based-standards] (SCNoLEAST16): Likewise.
65930         [C99-based-standards] (SCNuLEAST16): Likewise.
65931         [C99-based-standards] (SCNxLEAST16): Likewise.
65932         [C99-based-standards] (PRIdFAST16): Likewise.
65933         [C99-based-standards] (PRIiFAST16): Likewise.
65934         [C99-based-standards] (PRIoFAST16): Likewise.
65935         [C99-based-standards] (PRIuFAST16): Likewise.
65936         [C99-based-standards] (PRIxFAST16): Likewise.
65937         [C99-based-standards] (PRIXFAST16): Likewise.
65938         [C99-based-standards] (SCNdFAST16): Likewise.
65939         [C99-based-standards] (SCNiFAST16): Likewise.
65940         [C99-based-standards] (SCNoFAST16): Likewise.
65941         [C99-based-standards] (SCNuFAST16): Likewise.
65942         [C99-based-standards] (SCNxFAST16): Likewise.
65943         [C99-based-standards] (PRId32): Likewise.
65944         [C99-based-standards] (PRIi32): Likewise.
65945         [C99-based-standards] (PRIo32): Likewise.
65946         [C99-based-standards] (PRIu32): Likewise.
65947         [C99-based-standards] (PRIx32): Likewise.
65948         [C99-based-standards] (PRIX32): Likewise.
65949         [C99-based-standards] (SCNd32): Likewise.
65950         [C99-based-standards] (SCNi32): Likewise.
65951         [C99-based-standards] (SCNo32): Likewise.
65952         [C99-based-standards] (SCNu32): Likewise.
65953         [C99-based-standards] (SCNx32): Likewise.
65954         [C99-based-standards] (PRIdLEAST32): Likewise.
65955         [C99-based-standards] (PRIiLEAST32): Likewise.
65956         [C99-based-standards] (PRIoLEAST32): Likewise.
65957         [C99-based-standards] (PRIuLEAST32): Likewise.
65958         [C99-based-standards] (PRIxLEAST32): Likewise.
65959         [C99-based-standards] (PRIXLEAST32): Likewise.
65960         [C99-based-standards] (SCNdLEAST32): Likewise.
65961         [C99-based-standards] (SCNiLEAST32): Likewise.
65962         [C99-based-standards] (SCNoLEAST32): Likewise.
65963         [C99-based-standards] (SCNuLEAST32): Likewise.
65964         [C99-based-standards] (SCNxLEAST32): Likewise.
65965         [C99-based-standards] (PRIdFAST32): Likewise.
65966         [C99-based-standards] (PRIiFAST32): Likewise.
65967         [C99-based-standards] (PRIoFAST32): Likewise.
65968         [C99-based-standards] (PRIuFAST32): Likewise.
65969         [C99-based-standards] (PRIxFAST32): Likewise.
65970         [C99-based-standards] (PRIXFAST32): Likewise.
65971         [C99-based-standards] (SCNdFAST32): Likewise.
65972         [C99-based-standards] (SCNiFAST32): Likewise.
65973         [C99-based-standards] (SCNoFAST32): Likewise.
65974         [C99-based-standards] (SCNuFAST32): Likewise.
65975         [C99-based-standards] (SCNxFAST32): Likewise.
65976         [C99-based-standards] (PRId64): Likewise.
65977         [C99-based-standards] (PRIi64): Likewise.
65978         [C99-based-standards] (PRIo64): Likewise.
65979         [C99-based-standards] (PRIu64): Likewise.
65980         [C99-based-standards] (PRIx64): Likewise.
65981         [C99-based-standards] (PRIX64): Likewise.
65982         [C99-based-standards] (SCNd64): Likewise.
65983         [C99-based-standards] (SCNi64): Likewise.
65984         [C99-based-standards] (SCNo64): Likewise.
65985         [C99-based-standards] (SCNu64): Likewise.
65986         [C99-based-standards] (SCNx64): Likewise.
65987         [C99-based-standards] (PRIdLEAST64): Likewise.
65988         [C99-based-standards] (PRIiLEAST64): Likewise.
65989         [C99-based-standards] (PRIoLEAST64): Likewise.
65990         [C99-based-standards] (PRIuLEAST64): Likewise.
65991         [C99-based-standards] (PRIxLEAST64): Likewise.
65992         [C99-based-standards] (PRIXLEAST64): Likewise.
65993         [C99-based-standards] (SCNdLEAST64): Likewise.
65994         [C99-based-standards] (SCNiLEAST64): Likewise.
65995         [C99-based-standards] (SCNoLEAST64): Likewise.
65996         [C99-based-standards] (SCNuLEAST64): Likewise.
65997         [C99-based-standards] (SCNxLEAST64): Likewise.
65998         [C99-based-standards] (PRIdFAST64): Likewise.
65999         [C99-based-standards] (PRIiFAST64): Likewise.
66000         [C99-based-standards] (PRIoFAST64): Likewise.
66001         [C99-based-standards] (PRIuFAST64): Likewise.
66002         [C99-based-standards] (PRIxFAST64): Likewise.
66003         [C99-based-standards] (PRIXFAST64): Likewise.
66004         [C99-based-standards] (SCNdFAST64): Likewise.
66005         [C99-based-standards] (SCNiFAST64): Likewise.
66006         [C99-based-standards] (SCNoFAST64): Likewise.
66007         [C99-based-standards] (SCNuFAST64): Likewise.
66008         [C99-based-standards] (SCNxFAST64): Likewise.
66009         [C99-based-standards] (PRIdMAX): Likewise.
66010         [C99-based-standards] (PRIiMAX): Likewise.
66011         [C99-based-standards] (PRIoMAX): Likewise.
66012         [C99-based-standards] (PRIuMAX): Likewise.
66013         [C99-based-standards] (PRIxMAX): Likewise.
66014         [C99-based-standards] (PRIXMAX): Likewise.
66015         [C99-based-standards] (SCNdMAX): Likewise.
66016         [C99-based-standards] (SCNiMAX): Likewise.
66017         [C99-based-standards] (SCNoMAX): Likewise.
66018         [C99-based-standards] (SCNuMAX): Likewise.
66019         [C99-based-standards] (SCNxMAX): Likewise.
66020         [C99-based-standards] (PRIdPTR): Likewise.
66021         [C99-based-standards] (PRIiPTR): Likewise.
66022         [C99-based-standards] (PRIoPTR): Likewise.
66023         [C99-based-standards] (PRIuPTR): Likewise.
66024         [C99-based-standards] (PRIxPTR): Likewise.
66025         [C99-based-standards] (PRIXPTR): Likewise.
66026         [C99-based-standards] (SCNdPTR): Likewise.
66027         [C99-based-standards] (SCNiPTR): Likewise.
66028         [C99-based-standards] (SCNoPTR): Likewise.
66029         [C99-based-standards] (SCNuPTR): Likewise.
66030         [C99-based-standards] (SCNxPTR): Likewise.
66031         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66032         allow.
66033         * conform/data/stdint.h-data: Update comments to clarify
66034         requirements.
66035         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66036         type.
66037         [C99-based standards] (INT8_MAX): Likewise.
66038         [C99-based standards] (INT16_MIN): Likewise.
66039         [C99-based standards] (INT16_MAX): Likewise.
66040         [C99-based standards] (INT32_MIN): Likewise.
66041         [C99-based standards] (INT32_MAX): Likewise.
66042         [C99-based standards] (INT64_MIN): Likewise.
66043         [C99-based standards] (INT64_MAX): Likewise.
66044         [C99-based standards] (UINT8_MAX): Likewise.
66045         [C99-based standards] (UINT16_MAX): Likewise.
66046         [C99-based standards] (UINT32_MAX): Likewise.
66047         [C99-based standards] (UINT64_MAX): Likewise.
66048         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66049         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66050         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66051         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66052         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66053         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66054         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66055         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66056         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66057         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66058         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66059         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66060         [C99-based standards] (INT_FAST8_MIN): Likewise.
66061         [C99-based standards] (INT_FAST8_MAX): Likewise.
66062         [C99-based standards] (INT_FAST16_MIN): Likewise.
66063         [C99-based standards] (INT_FAST16_MAX): Likewise.
66064         [C99-based standards] (INT_FAST32_MIN): Likewise.
66065         [C99-based standards] (INT_FAST32_MAX): Likewise.
66066         [C99-based standards] (INT_FAST64_MIN): Likewise.
66067         [C99-based standards] (INT_FAST64_MAX): Likewise.
66068         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66069         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66070         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66071         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66072         [C99-based standards] (INTPTR_MIN): Likewise.
66073         [C99-based standards] (INTPTR_MAX): Likewise.
66074         [C99-based standards] (UINTPTR_MAX): Likewise.
66075         [C99-based standards] (INTMAX_MIN): Likewise.
66076         [C99-based standards] (INTMAX_MAX): Likewise.
66077         [C99-based standards] (UINTMAX_MAX): Likewise.
66078         [C99-based standards] (PTRDIFF_MIN): Likewise.
66079         [C99-based standards] (PTRDIFF_MAX): Likewise.
66080         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66081         [C99-based standards] (SIZE_MAX): Likewise.
66082         [C99-based standards] (WCHAR_MAX): Likewise.
66083         [C99-based standards] (WINT_MAX): Likewise.
66084         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66085         constraint on value.
66086         [C99-based standards] (WCHAR_MIN): Likewise.
66087         [C99-based standards] (WINT_MIN): Likewise.
66088         [C99-based standards] (*_t): Allow.
66089         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66090         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66091         Include math.h-data and complex.h-data.  Remove all expectations
66092         of math.h and complex.h contents.
66093         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66094         at end of line.
66095         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66096         (struct tm): Expect tag.
66097         [C99-based-standards] (wcstof): Expect function.
66098         [C99-based-standards] (wcstold): Likewise.
66099         [C99-based-standards] (wcstoll): Likewise.
66100         [C99-based-standards] (wcstoull): Likewise.
66101         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66102         macro-int-constant.  Specify type.
66103         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66104         constraint on value.
66105         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66106         Specify type.
66107         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66108         Specify value.
66109         [ISO C standards]: Do not allow headers.
66110         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66111         wcs[abcdefghijklmnopqrstuvwxyz]*.
66112         [ISO C standards] (*_t): Do not allow.
66113         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66114         Expect function.
66115         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66116         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66117         Specify type.
66118         [ISO C standards]: Do not allow headers.
66119         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66120         is[abcdefghijklmnopqrstuvwxyz]*.
66121         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66122         to[abcdefghijklmnopqrstuvwxyz]*.
66123         [ISO C standards] (*_t): Do not allow.
66124         * conform/data/stdalign.h-data: New file.
66125         * conform/data/stdbool.h-data: Likewise.
66126         * conform/data/stdnoreturn.h-data: Likewise.
66128 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66130         [BZ #14815]
66131         * manual/filesys.texi (Directory Entries): Typo fix.
66132         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66134 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66136         * elf/elf.h (EM_AARCH64): New macro.
66137         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66138         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66139         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66140         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66141         (R_AARCH64_TLSDESC): Likewise.
66142         (NT_ARM_TLS): Likewise.
66143         (NT_ARM_HW_BREAK): Likewise.
66144         (NT_ARM_HW_WATCH): Likewise.
66146 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66148         [BZ #14811]
66149         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66150         (__ieee754_powl): Saturate nonzero exponents with absolute value
66151         below 0x1p-79 to +/- 0x1p-79.
66152         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66153         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66154         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66155         nonzero exponents with absolute value below 0x1p-32 to +/-
66156         0x1p-32.
66157         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66158         (__ieee754_powl): Saturate nonzero exponents with absolute value
66159         below 0x1p-79 to +/- 0x1p-79.
66160         * math/libm-test.inc (pow_test): Add more tests.
66162 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66164         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66165         _dl_s390_cap_flags with kernel. Increase string length.
66166         (_dl_s390_platforms): Add z196 and zEC12.
66168 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66170         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66171         Change XOPEN21K to XOPEN2K.
66173 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66175         * string/memmove.c: Use memcpy when possible.
66177 2012-11-06  Andreas Jaeger  <aj@suse.de>
66179         * po/eo.po: Update from translation team.
66181 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66183         [BZ #14793]
66184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66185         exponent and small x and y exponents, scale x or y up.  Increase
66186         by 2 the exponent used in scaling up.
66187         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66189         * math/libm-test.inc (fma_test): Add more tests.
66190         (fma_test_towardzero): Likewise.
66191         (fma_test_downward): Likewise.
66192         (fma_test_upward): Likewise.
66194 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66196         [BZ #14805]
66197         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66198         fenv_t *.
66200         [BZ #14801]
66201         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66202         namespace for names of struct fields.
66203         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66204         fenv_t fields.
66205         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66206         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66208 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66210         [BZ #3665]
66211         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66213 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66215         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66216         PTR_DEMANGLE.
66218         [BZ #5246]
66219         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66220         PTR_DEMANGLE.
66222 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66224         [BZ #14797]
66225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66226         definitely overflow as x * y not x * y + z.
66227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66229         * math/libm-test.inc (fma_test): Add more tests.
66230         (fma_test_towardzero): Likewise.
66231         (fma_test_downward): Likewise.
66232         (fma_test_upward): Likewise.
66234 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66236         [BZ #157]
66238         * include/stub-tag.h: Remove file.
66239         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66240         '#include' of it.
66241         * manual/maint.texi (Porting): Don't reference it.
66242         * Makerules ($(objpfx)stubs): Likewise.
66243         * dirent/closedir.c: Don't include <stub-tag.h>.
66244         * dirent/dirfd.c: Likewise.
66245         * dirent/fdopendir.c: Likewise.
66246         * dirent/getdents.c: Likewise.
66247         * dirent/getdents64.c: Likewise.
66248         * dirent/opendir.c: Likewise.
66249         * dirent/readdir.c: Likewise.
66250         * dirent/readdir64.c: Likewise.
66251         * dirent/readdir64_r.c: Likewise.
66252         * dirent/readdir_r.c: Likewise.
66253         * dirent/rewinddir.c: Likewise.
66254         * dirent/seekdir.c: Likewise.
66255         * dirent/telldir.c: Likewise.
66256         * gmon/profil.c: Likewise.
66257         * grp/setgroups.c: Likewise.
66258         * inet/if_index.c: Likewise.
66259         * io/access.c: Likewise.
66260         * io/chdir.c: Likewise.
66261         * io/chmod.c: Likewise.
66262         * io/chown.c: Likewise.
66263         * io/close.c: Likewise.
66264         * io/dup.c: Likewise.
66265         * io/dup2.c: Likewise.
66266         * io/dup3.c: Likewise.
66267         * io/euidaccess.c: Likewise.
66268         * io/faccessat.c: Likewise.
66269         * io/fchdir.c: Likewise.
66270         * io/fchmod.c: Likewise.
66271         * io/fchmodat.c: Likewise.
66272         * io/fchown.c: Likewise.
66273         * io/fchownat.c: Likewise.
66274         * io/fcntl.c: Likewise.
66275         * io/flock.c: Likewise.
66276         * io/fstatfs.c: Likewise.
66277         * io/fstatfs64.c: Likewise.
66278         * io/fstatvfs.c: Likewise.
66279         * io/fstatvfs64.c: Likewise.
66280         * io/futimens.c: Likewise.
66281         * io/fxstat.c: Likewise.
66282         * io/fxstat64.c: Likewise.
66283         * io/fxstatat.c: Likewise.
66284         * io/fxstatat64.c: Likewise.
66285         * io/getcwd.c: Likewise.
66286         * io/isatty.c: Likewise.
66287         * io/lchmod.c: Likewise.
66288         * io/lchown.c: Likewise.
66289         * io/link.c: Likewise.
66290         * io/linkat.c: Likewise.
66291         * io/lseek.c: Likewise.
66292         * io/lseek64.c: Likewise.
66293         * io/lxstat64.c: Likewise.
66294         * io/mkdir.c: Likewise.
66295         * io/mkdirat.c: Likewise.
66296         * io/mkfifo.c: Likewise.
66297         * io/mkfifoat.c: Likewise.
66298         * io/open.c: Likewise.
66299         * io/open64.c: Likewise.
66300         * io/openat.c: Likewise.
66301         * io/openat64.c: Likewise.
66302         * io/pipe.c: Likewise.
66303         * io/pipe2.c: Likewise.
66304         * io/poll.c: Likewise.
66305         * io/posix_fadvise.c: Likewise.
66306         * io/posix_fadvise64.c: Likewise.
66307         * io/posix_fallocate.c: Likewise.
66308         * io/posix_fallocate64.c: Likewise.
66309         * io/read.c: Likewise.
66310         * io/readlink.c: Likewise.
66311         * io/readlinkat.c: Likewise.
66312         * io/rmdir.c: Likewise.
66313         * io/sendfile.c: Likewise.
66314         * io/sendfile64.c: Likewise.
66315         * io/statfs.c: Likewise.
66316         * io/statfs64.c: Likewise.
66317         * io/statvfs.c: Likewise.
66318         * io/statvfs64.c: Likewise.
66319         * io/symlink.c: Likewise.
66320         * io/symlinkat.c: Likewise.
66321         * io/ttyname.c: Likewise.
66322         * io/ttyname_r.c: Likewise.
66323         * io/umask.c: Likewise.
66324         * io/unlink.c: Likewise.
66325         * io/unlinkat.c: Likewise.
66326         * io/utime.c: Likewise.
66327         * io/utimensat.c: Likewise.
66328         * io/write.c: Likewise.
66329         * io/xmknod.c: Likewise.
66330         * io/xmknodat.c: Likewise.
66331         * io/xstat.c: Likewise.
66332         * io/xstat64.c: Likewise.
66333         * login/getpt.c: Likewise.
66334         * login/grantpt.c: Likewise.
66335         * login/unlockpt.c: Likewise.
66336         * math/e_acoshl.c: Likewise.
66337         * math/e_acosl.c: Likewise.
66338         * math/e_asinl.c: Likewise.
66339         * math/e_atan2l.c: Likewise.
66340         * math/e_atanhl.c: Likewise.
66341         * math/e_coshl.c: Likewise.
66342         * math/e_expl.c: Likewise.
66343         * math/e_fmodl.c: Likewise.
66344         * math/e_gammal_r.c: Likewise.
66345         * math/e_hypotl.c: Likewise.
66346         * math/e_j0l.c: Likewise.
66347         * math/e_j1l.c: Likewise.
66348         * math/e_jnl.c: Likewise.
66349         * math/e_lgammal_r.c: Likewise.
66350         * math/e_log10l.c: Likewise.
66351         * math/e_log2l.c: Likewise.
66352         * math/e_logl.c: Likewise.
66353         * math/e_powl.c: Likewise.
66354         * math/e_rem_pio2l.c: Likewise.
66355         * math/e_sinhl.c: Likewise.
66356         * math/e_sqrtl.c: Likewise.
66357         * math/fclrexcpt.c: Likewise.
66358         * math/fedisblxcpt.c: Likewise.
66359         * math/feenablxcpt.c: Likewise.
66360         * math/fegetenv.c: Likewise.
66361         * math/fegetexcept.c: Likewise.
66362         * math/fegetround.c: Likewise.
66363         * math/feholdexcpt.c: Likewise.
66364         * math/fesetenv.c: Likewise.
66365         * math/fesetround.c: Likewise.
66366         * math/feupdateenv.c: Likewise.
66367         * math/fgetexcptflg.c: Likewise.
66368         * math/fraiseexcpt.c: Likewise.
66369         * math/fsetexcptflg.c: Likewise.
66370         * math/ftestexcept.c: Likewise.
66371         * math/k_cosl.c: Likewise.
66372         * math/k_rem_pio2l.c: Likewise.
66373         * math/k_sinl.c: Likewise.
66374         * math/k_tanl.c: Likewise.
66375         * math/s_asinhl.c: Likewise.
66376         * math/s_atanl.c: Likewise.
66377         * math/s_cbrtl.c: Likewise.
66378         * math/s_erfl.c: Likewise.
66379         * math/s_expm1l.c: Likewise.
66380         * math/s_log1pl.c: Likewise.
66381         * math/s_tanhl.c: Likewise.
66382         * misc/acct.c: Likewise.
66383         * misc/brk.c: Likewise.
66384         * misc/chflags.c: Likewise.
66385         * misc/chroot.c: Likewise.
66386         * misc/fchflags.c: Likewise.
66387         * misc/fgetxattr.c: Likewise.
66388         * misc/flistxattr.c: Likewise.
66389         * misc/fremovexattr.c: Likewise.
66390         * misc/fsetxattr.c: Likewise.
66391         * misc/fsync.c: Likewise.
66392         * misc/ftruncate.c: Likewise.
66393         * misc/futimes.c: Likewise.
66394         * misc/futimesat.c: Likewise.
66395         * misc/getdomain.c: Likewise.
66396         * misc/getdtsz.c: Likewise.
66397         * misc/gethostid.c: Likewise.
66398         * misc/gethostname.c: Likewise.
66399         * misc/getloadavg.c: Likewise.
66400         * misc/getpagesize.c: Likewise.
66401         * misc/getsysstats.c: Likewise.
66402         * misc/getxattr.c: Likewise.
66403         * misc/gtty.c: Likewise.
66404         * misc/ioctl.c: Likewise.
66405         * misc/lgetxattr.c: Likewise.
66406         * misc/listxattr.c: Likewise.
66407         * misc/llistxattr.c: Likewise.
66408         * misc/lremovexattr.c: Likewise.
66409         * misc/lsetxattr.c: Likewise.
66410         * misc/lutimes.c: Likewise.
66411         * misc/madvise.c: Likewise.
66412         * misc/mincore.c: Likewise.
66413         * misc/mlock.c: Likewise.
66414         * misc/mlockall.c: Likewise.
66415         * misc/mmap.c: Likewise.
66416         * misc/mprotect.c: Likewise.
66417         * misc/msync.c: Likewise.
66418         * misc/munlock.c: Likewise.
66419         * misc/munlockall.c: Likewise.
66420         * misc/munmap.c: Likewise.
66421         * misc/preadv.c: Likewise.
66422         * misc/preadv64.c: Likewise.
66423         * misc/ptrace.c: Likewise.
66424         * misc/pwritev.c: Likewise.
66425         * misc/pwritev64.c: Likewise.
66426         * misc/readv.c: Likewise.
66427         * misc/reboot.c: Likewise.
66428         * misc/remap_file_pages.c: Likewise.
66429         * misc/removexattr.c: Likewise.
66430         * misc/revoke.c: Likewise.
66431         * misc/select.c: Likewise.
66432         * misc/setdomain.c: Likewise.
66433         * misc/setegid.c: Likewise.
66434         * misc/seteuid.c: Likewise.
66435         * misc/sethostid.c: Likewise.
66436         * misc/sethostname.c: Likewise.
66437         * misc/setregid.c: Likewise.
66438         * misc/setreuid.c: Likewise.
66439         * misc/setxattr.c: Likewise.
66440         * misc/sstk.c: Likewise.
66441         * misc/stty.c: Likewise.
66442         * misc/swapoff.c: Likewise.
66443         * misc/swapon.c: Likewise.
66444         * misc/sync.c: Likewise.
66445         * misc/syncfs.c: Likewise.
66446         * misc/syscall.c: Likewise.
66447         * misc/truncate.c: Likewise.
66448         * misc/ualarm.c: Likewise.
66449         * misc/usleep.c: Likewise.
66450         * misc/ustat.c: Likewise.
66451         * misc/utimes.c: Likewise.
66452         * misc/vhangup.c: Likewise.
66453         * misc/writev.c: Likewise.
66454         * posix/_exit.c: Likewise.
66455         * posix/alarm.c: Likewise.
66456         * posix/execve.c: Likewise.
66457         * posix/fexecve.c: Likewise.
66458         * posix/fork.c: Likewise.
66459         * posix/fpathconf.c: Likewise.
66460         * posix/getaddrinfo.c: Likewise.
66461         * posix/getegid.c: Likewise.
66462         * posix/geteuid.c: Likewise.
66463         * posix/getgid.c: Likewise.
66464         * posix/getgroups.c: Likewise.
66465         * posix/getlogin.c: Likewise.
66466         * posix/getlogin_r.c: Likewise.
66467         * posix/getpgid.c: Likewise.
66468         * posix/getpid.c: Likewise.
66469         * posix/getppid.c: Likewise.
66470         * posix/getresgid.c: Likewise.
66471         * posix/getresuid.c: Likewise.
66472         * posix/getsid.c: Likewise.
66473         * posix/getuid.c: Likewise.
66474         * posix/glob64.c: Likewise.
66475         * posix/nanosleep.c: Likewise.
66476         * posix/pathconf.c: Likewise.
66477         * posix/pause.c: Likewise.
66478         * posix/posix_madvise.c: Likewise.
66479         * posix/pread.c: Likewise.
66480         * posix/pread64.c: Likewise.
66481         * posix/pwrite.c: Likewise.
66482         * posix/pwrite64.c: Likewise.
66483         * posix/sched_getaffinity.c: Likewise.
66484         * posix/sched_getp.c: Likewise.
66485         * posix/sched_gets.c: Likewise.
66486         * posix/sched_primax.c: Likewise.
66487         * posix/sched_primin.c: Likewise.
66488         * posix/sched_rr_gi.c: Likewise.
66489         * posix/sched_setaffinity.c: Likewise.
66490         * posix/sched_setp.c: Likewise.
66491         * posix/sched_sets.c: Likewise.
66492         * posix/sched_yield.c: Likewise.
66493         * posix/setgid.c: Likewise.
66494         * posix/setlogin.c: Likewise.
66495         * posix/setpgid.c: Likewise.
66496         * posix/setresgid.c: Likewise.
66497         * posix/setresuid.c: Likewise.
66498         * posix/setsid.c: Likewise.
66499         * posix/setuid.c: Likewise.
66500         * posix/sleep.c: Likewise.
66501         * posix/spawni.c: Likewise.
66502         * posix/sysconf.c: Likewise.
66503         * posix/times.c: Likewise.
66504         * posix/wait.c: Likewise.
66505         * posix/wait3.c: Likewise.
66506         * posix/wait4.c: Likewise.
66507         * posix/waitpid.c: Likewise.
66508         * resolv/gai_sigqueue.c: Likewise.
66509         * resource/getpriority.c: Likewise.
66510         * resource/getrlimit.c: Likewise.
66511         * resource/getrusage.c: Likewise.
66512         * resource/nice.c: Likewise.
66513         * resource/setpriority.c: Likewise.
66514         * resource/setrlimit.c: Likewise.
66515         * resource/ulimit.c: Likewise.
66516         * rt/aio_cancel.c: Likewise.
66517         * rt/aio_fsync.c: Likewise.
66518         * rt/aio_read.c: Likewise.
66519         * rt/aio_sigqueue.c: Likewise.
66520         * rt/aio_suspend.c: Likewise.
66521         * rt/aio_write.c: Likewise.
66522         * rt/clock_getres.c: Likewise.
66523         * rt/clock_gettime.c: Likewise.
66524         * rt/clock_nanosleep.c: Likewise.
66525         * rt/clock_settime.c: Likewise.
66526         * rt/lio_listio.c: Likewise.
66527         * rt/mq_close.c: Likewise.
66528         * rt/mq_getattr.c: Likewise.
66529         * rt/mq_notify.c: Likewise.
66530         * rt/mq_open.c: Likewise.
66531         * rt/mq_receive.c: Likewise.
66532         * rt/mq_send.c: Likewise.
66533         * rt/mq_setattr.c: Likewise.
66534         * rt/mq_timedreceive.c: Likewise.
66535         * rt/mq_timedsend.c: Likewise.
66536         * rt/mq_unlink.c: Likewise.
66537         * rt/shm_open.c: Likewise.
66538         * rt/shm_unlink.c: Likewise.
66539         * rt/timer_create.c: Likewise.
66540         * rt/timer_delete.c: Likewise.
66541         * rt/timer_getoverr.c: Likewise.
66542         * rt/timer_gettime.c: Likewise.
66543         * rt/timer_settime.c: Likewise.
66544         * setjmp/__longjmp.c: Likewise.
66545         * setjmp/setjmp.c: Likewise.
66546         * signal/kill.c: Likewise.
66547         * signal/killpg.c: Likewise.
66548         * signal/raise.c: Likewise.
66549         * signal/sigaction.c: Likewise.
66550         * signal/sigaltstack.c: Likewise.
66551         * signal/sigblock.c: Likewise.
66552         * signal/sigignore.c: Likewise.
66553         * signal/sigintr.c: Likewise.
66554         * signal/signal.c: Likewise.
66555         * signal/sigpause.c: Likewise.
66556         * signal/sigpending.c: Likewise.
66557         * signal/sigqueue.c: Likewise.
66558         * signal/sigreturn.c: Likewise.
66559         * signal/sigset.c: Likewise.
66560         * signal/sigsetmask.c: Likewise.
66561         * signal/sigstack.c: Likewise.
66562         * signal/sigsuspend.c: Likewise.
66563         * signal/sigtimedwait.c: Likewise.
66564         * signal/sigvec.c: Likewise.
66565         * signal/sigwait.c: Likewise.
66566         * signal/sigwaitinfo.c: Likewise.
66567         * signal/sysv_signal.c: Likewise.
66568         * socket/accept.c: Likewise.
66569         * socket/accept4.c: Likewise.
66570         * socket/bind.c: Likewise.
66571         * socket/connect.c: Likewise.
66572         * socket/getpeername.c: Likewise.
66573         * socket/getsockname.c: Likewise.
66574         * socket/getsockopt.c: Likewise.
66575         * socket/isfdtype.c: Likewise.
66576         * socket/listen.c: Likewise.
66577         * socket/recv.c: Likewise.
66578         * socket/recvfrom.c: Likewise.
66579         * socket/recvmsg.c: Likewise.
66580         * socket/send.c: Likewise.
66581         * socket/sendmsg.c: Likewise.
66582         * socket/sendto.c: Likewise.
66583         * socket/setsockopt.c: Likewise.
66584         * socket/shutdown.c: Likewise.
66585         * socket/sockatmark.c: Likewise.
66586         * socket/socket.c: Likewise.
66587         * socket/socketpair.c: Likewise.
66588         * stdio-common/ctermid.c: Likewise.
66589         * stdio-common/cuserid.c: Likewise.
66590         * stdio-common/remove.c: Likewise.
66591         * stdio-common/rename.c: Likewise.
66592         * stdio-common/renameat.c: Likewise.
66593         * stdio-common/tempname.c: Likewise.
66594         * stdlib/getcontext.c: Likewise.
66595         * stdlib/makecontext.c: Likewise.
66596         * stdlib/setcontext.c: Likewise.
66597         * stdlib/swapcontext.c: Likewise.
66598         * stdlib/system.c: Likewise.
66599         * streams/fattach.c: Likewise.
66600         * streams/fdetach.c: Likewise.
66601         * streams/getmsg.c: Likewise.
66602         * streams/getpmsg.c: Likewise.
66603         * streams/putmsg.c: Likewise.
66604         * streams/putpmsg.c: Likewise.
66605         * sysdeps/unix/bsd/getpt.c: Likewise.
66606         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66607         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66608         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66610         Likewise.
66611         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66612         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66613         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66614         * sysvipc/msgctl.c: Likewise.
66615         * sysvipc/msgget.c: Likewise.
66616         * sysvipc/msgrcv.c: Likewise.
66617         * sysvipc/msgsnd.c: Likewise.
66618         * sysvipc/semctl.c: Likewise.
66619         * sysvipc/semget.c: Likewise.
66620         * sysvipc/semop.c: Likewise.
66621         * sysvipc/semtimedop.c: Likewise.
66622         * sysvipc/shmat.c: Likewise.
66623         * sysvipc/shmctl.c: Likewise.
66624         * sysvipc/shmdt.c: Likewise.
66625         * sysvipc/shmget.c: Likewise.
66626         * termios/tcdrain.c: Likewise.
66627         * termios/tcflow.c: Likewise.
66628         * termios/tcflush.c: Likewise.
66629         * termios/tcgetattr.c: Likewise.
66630         * termios/tcgetpgrp.c: Likewise.
66631         * termios/tcsendbrk.c: Likewise.
66632         * termios/tcsetattr.c: Likewise.
66633         * termios/tcsetpgrp.c: Likewise.
66634         * time/adjtime.c: Likewise.
66635         * time/clock.c: Likewise.
66636         * time/getitimer.c: Likewise.
66637         * time/gettimeofday.c: Likewise.
66638         * time/setitimer.c: Likewise.
66639         * time/settimeofday.c: Likewise.
66640         * time/stime.c: Likewise.
66641         * time/time.c: Likewise.
66643 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66645         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66646         /usr/old/bin.
66648         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66649         instead of spaces.
66650         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66652 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66654         [BZ #14796]
66655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66656         FE_TONEAREST before applying Dekker multiplication and Knuth
66657         addition.  Clear inexact exceptions and check for exact zero
66658         results afterwards.
66659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66660         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66662         * math/libm-test.inc (fma_test): Add more tests.
66663         (fma_test_towardzero): Likewise.
66664         (fma_test_downward): Likewise.
66665         (fma_test_upward): Likewise.
66666         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66667         function.
66668         (libc_fesetround): New macro.
66669         (libc_fesetroundf): Likewise.
66670         (libc_fesetroundl): Likewise.
66671         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66672         function.
66673         (libc_fesetround_387): Likewise.
66674         (libc_fesetroundf): New macro.
66675         (libc_fesetround): Likewise.
66676         (libc_fesetroundl): Likewise.
66677         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66678         function.
66679         (libc_fesetroundf): New macro.
66680         (libc_fesetround): Likewise.
66681         (libc_fesetroundl): Likewise.
66682         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66683         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66684         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66685         libm_hidden_ver.
66686         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66687         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66688         libm_hidden_def.
66689         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66690         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66691         libm_hidden_ver.
66692         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66693         libm_hidden_def.
66695         [BZ #3439]
66696         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66697         integer constant usable in #if and use that to give value to enum
66698         constant.
66699         (FE_DIVBYZERO): Likewise.
66700         (FE_UNDERFLOW): Likewise.
66701         (FE_OVERFLOW): Likewise.
66702         (FE_INVALID): Likewise.
66703         (FE_INVALID_SNAN): Likewise.
66704         (FE_INVALID_ISI): Likewise.
66705         (FE_INVALID_IDI): Likewise.
66706         (FE_INVALID_ZDZ): Likewise.
66707         (FE_INVALID_IMZ): Likewise.
66708         (FE_INVALID_COMPARE): Likewise.
66709         (FE_INVALID_SOFTWARE): Likewise.
66710         (FE_INVALID_SQRT): Likewise.
66711         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66712         (FE_TONEAREST): Likewise.
66713         (FE_TOWARDZERO): Likewise.
66714         (FE_UPWARD): Likewise.
66715         (FE_DOWNWARD): Likewise.
66716         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66717         (FE_DIVBYZERO): Likewise.
66718         (FE_OVERFLOW): Likewise.
66719         (FE_UNDERFLOW): Likewise.
66720         (FE_INEXACT): Likewise.
66721         (FE_TONEAREST): Likewise.
66722         (FE_DOWNWARD): Likewise.
66723         (FE_UPWARD): Likewise.
66724         (FE_TOWARDZERO): Likewise.
66725         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66726         (FE_UNDERFLOW): Likewise.
66727         (FE_OVERFLOW): Likewise.
66728         (FE_DIVBYZERO): Likewise.
66729         (FE_INVALID): Likewise.
66730         (FE_TONEAREST): Likewise.
66731         (FE_TOWARDZERO): Likewise.
66732         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66733         (FE_OVERFLOW): Likewise.
66734         (FE_UNDERFLOW): Likewise.
66735         (FE_DIVBYZERO): Likewise.
66736         (FE_INEXACT): Likewise.
66737         (FE_TONEAREST): Likewise.
66738         (FE_TOWARDZERO): Likewise.
66739         (FE_UPWARD): Likewise.
66740         (FE_DOWNWARD): Likewise.
66741         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66742         (FE_DIVBYZERO): Likewise.
66743         (FE_OVERFLOW): Likewise.
66744         (FE_UNDERFLOW): Likewise.
66745         (FE_INEXACT): Likewise.
66746         (FE_TONEAREST): Likewise.
66747         (FE_DOWNWARD): Likewise.
66748         (FE_UPWARD): Likewise.
66749         (FE_TOWARDZERO): Likewise.
66751 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66753         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66755 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66757         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66758         commands.  Quote $PWD.
66759         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66760         -x" by "export".
66761         (remove_newlines): Remove.
66763 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66765         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66766         * stdlib/stdlib.h (atof): Moved to ...
66767         * include/bits/stdlib-float.h: Here.  New file.
66768         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66769         * stdlib/bits/stdlib-float.h: New file.
66770         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66771         -mno-sse -mno-mmx.
66772         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66773         <xmmintrin.h>.
66775 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66777         * conform/conformtest.pl (@headers): Add fenv.h.
66778         * conform/data/fenv.h-data: New file.
66779         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66780         include of <math/fenv.h>.
66782         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66783         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66784         && !UNIX98].  Enables tests for XOPEN2K8.
66785         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66786         POSIX2008]: Likewise.
66788         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66789         (struct rusage): Do not expect type or its members.
66791         [BZ #3439]
66792         * math/math.h (FP_NAN): Define macro to integer constant usable in
66793         #if and use that to give value to enum constant.
66794         (FP_INFINITE): Likewise.
66795         (FP_ZERO): Likewise.
66796         (FP_SUBNORMAL): Likewise.
66797         (FP_NORMAL): Likewise.
66799 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66801         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66802         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66803         arguments.
66805 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66807         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66808         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66809         autoconf-time if not.
66810         * configure.in: Remove AC_PREREQ.
66812 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66814         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66815         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66816         of the internal implementation.
66818 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66820         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66821         except include of <misc/sys/syslog.h>.
66823 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66826         function returns with a NULL context exit with zero.
66828 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66830         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66832 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66834         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66835         (run_program_cmd): This.
66836         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66837         (tst_langinfo): New variable.  Use it.
66839 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66841         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66842         floating point opcodes.
66844 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66846         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66847         variable.
66849         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66851         * sysdeps/mach/hurd/powerpc: Remove directory.
66852         * sysdeps/mach/powerpc: Likewise.
66854 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66856         * scripts/check-local-headers.sh: Ignore c++ headers.
66858 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66860         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66861         __libc_cleanup_region_start argument.
66863 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66865         [BZ #14784]
66866         [BZ #14785]
66867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66868         x * y using scaling, not as x * y + z.
66869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66871         * math/libm-test.inc (fma_test): Add more tests.
66872         (fma_test_towardzero): Likewise.
66873         (fma_test_downward): Likewise.
66874         (fma_test_upward): Likewise.
66876 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66878         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66880 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66882         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66883         New variable.
66885 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66887         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66889 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66892         Fix sort order.
66893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66894         Likewise.
66896 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66899         Fix the order of the list for glibc 2.17.
66900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66901         Likewise.
66903 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66907 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66909         [BZ #14610]
66910         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66911         for low part of x being zero before using __atanl (y).
66912         * math/libm-test.inc (atan2_test): Add another test.
66914         * manual/install.texi (Configuring and compiling): Document
66915         general use of test-wrapper and test-wrapper-env.
66916         * INSTALL: Regenerated.
66918         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66919         (__fma): Do not extract and scale down low bits on after-rounding
66920         systems when result rounded to normal precision would have normal
66921         exponent.
66922         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66923         (__fmal): Do not extract and scale down low bits on after-rounding
66924         systems when result rounded to normal precision would have normal
66925         exponent.
66926         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66927         (__fmal): Do not extract and scale down low bits on after-rounding
66928         systems when result rounded to normal precision would have normal
66929         exponent.
66930         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66931         macro.
66932         (fma_test): Add more tests.
66933         (fma_test_towardzero): Likewise.
66934         (fma_test_downward): Likewise.
66935         (fma_test_upward): Likewise.
66937 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66939         * sysdeps/i386/tininess.h: Renamed to ...
66940         * sysdeps/x86/tininess.h: This.
66941         * sysdeps/x86_64/tininess.h: Removed.
66943 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66945         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66946         input.  Use $(build-program-cmd).
66947         ($(objpfx)tst-array1-static.out): Likewise.
66948         ($(objpfx)tst-array2.out): Likewise.
66949         ($(objpfx)tst-array3.out): Likewise.
66950         ($(objpfx)tst-array4.out): Likewise.
66951         ($(objpfx)tst-array5.out): Likewise.
66952         ($(objpfx)tst-array5-static.out): Likewise.
66954 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66956         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66957         if defined.
66959         * nss/nsswitch.h (nss_interface_function): Provide new
66960         macro for use with NSS functions.
66961         * grp/initgroups.c: Use new macro.
66962         * nss/getXXbyYY.c: Likewise.
66963         * nss/getXXbyYY_r.c: Likewise.
66964         * nss/getXXent.c: Likewise.
66965         * nss/getXXent_r.c: Likewise.
66966         * sysdeps/posix/getaddrinfo.c: Likewise.
66968 2012-10-30  Andreas Jaeger  <aj@suse.de>
66970         * po/ru.po: Update Russion translation from translation project.
66972 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66974         [BZ #14152]
66975         [BZ #14783]
66976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66977         result and shift together with sticky bit instead of replicating
66978         round-to-nearest rounding.
66979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66981         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66982         missing underflow exceptions.
66983         (fma_test_towardzero): Add more tests.
66984         (fma_test_downward): Likewise.
66985         (fma_test_upward): Likewise.
66987         [BZ #14047]
66988         * sysdeps/generic/tininess.h: New file.
66989         * sysdeps/i386/tininess.h: Likewise.
66990         * sysdeps/sh/tininess.h: Likewise.
66991         * sysdeps/x86_64/tininess.h: Likewise.
66992         * stdlib/tst-strtod-underflow.c: Likewise.
66993         * stdlib/tst-tininess.c: Likewise.
66994         * stdlib/strtod_l.c: Include <tininess.h>.
66995         (round_and_return): Do not set errno for exact underflow cases.
66996         Force an underflow exception when setting errno for underflow.
66997         Determine underflow based on rounding to normal precision if
66998         TININESS_AFTER_ROUNDING.
66999         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67000         ERANGE for exact underflow cases.
67001         * stdlib/Makefile (tests): Add tst-tininess and
67002         tst-strtod-underflow.
67003         ($(objpfx)tst-tininess): Use $(link-libm).
67004         ($(objpfx)tst-strtod-underflow): Likewise.
67006 2012-10-30  Andreas Jaeger  <aj@suse.de>
67008         [BZ#14767]
67009         * elf/Makefile (tests): Remove conditional for have-initfini-array
67010         since this is now always required and the variable does not exist
67011         anymore.
67012         (tests-static): Likewise.
67013         (modules-names): Likewise.
67015         * po/eo.po: Add Esperanto translation from translation project.
67017         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67018         merged with constructor/destructor.
67019         (init_array): Likewise.
67020         * elf/tst-array2dep.c (fini_array): Likewise.
67021         (init_array): Likewise.
67023 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67025         * manual/message.texi: Delete @cartouche tags.
67027 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67029         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67030         EOPNOTSUPP.
67031         * sysdeps/mach/hurd/fsync.c: Likewise.
67033         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67034         [_POSIX_REALTIME_SIGNALS]: Change condition to
67035         [_POSIX_REALTIME_SIGNALS > 0].
67037 2012-10-27  Andreas Jaeger  <aj@suse.de>
67039         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67040         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67042         [__WORDSIZE != 64]: Likewise.
67044 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67046         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67047         *  iconvdata/tst-tables.sh: Likewise.
67049 2012-10-25  David S. Miller  <davem@davemloft.net>
67051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67052         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67053         of strtoull.
67055         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67056         ifunc-impl-list.c
67057         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67058         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67059         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67060         file.
67062 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67065         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67066         __getdirentries.
67068 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67069             Jim Blandy  <jimb@codesourcery.com>
67071         * scripts/cross-test-ssh.sh: New file.
67072         * manual/install.texi (Configuring and compiling): Document use of
67073         cross-test-ssh.sh.
67074         * INSTALL: Regenerated.
67076 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67078         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67079         EOPNOTSUPP.
67081 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67083         * Makeconfig (run-program-prefix): Fix comment.
67085 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67086             Jim Blandy  <jimb@codesourcery.com>
67088         * Makeconfig (test-wrapper): New variable,
67089         (test-wrapper-env): Likewise.
67090         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67091         (run-built-tests): Define to yes.
67092         (run-program-prefix): Use $(test-wrapper).
67093         (built-program-cmd): Likewise.
67094         * Rules (make-test-out): Use $(test-wrapper-env) and
67095         $(host-built-program-cmd).
67096         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67097         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67098         tst-pathopt.sh.
67099         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67100         $(test-wrapper-env) to tst-rtld-load-self.sh.
67101         ($(objpfx)order2.out): Use $(test-wrapper).
67102         ($(objpfx)tst-initorder.out): Likewise.
67103         ($(objpfx)tst-initorder2.out): Likewise.
67104         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67105         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67106         (test_wrapper_env): New variable.  Use it to run ld.so.
67107         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67108         Use it to run ld.so.
67109         (test_wrapper_env): Likewise.
67110         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67111         $(test-wrapper) to run-iconv-test.sh.
67112         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67113         (ICONV): Use $test_wrapper.
67114         * posix/Makefile ($(objpfx)globtest.out): Pass
67115         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67116         globtest.sh, not $(run-program-prefix).
67117         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67118         (test_wrapper): Likewise.
67119         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67120         set together with run_via_rtld_prefix.
67121         (run_program_prefix): Define in terms of test_wrapper and
67122         run_via_rtld_prefix.
67124 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67126         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67127         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67128         Targets removed.
67130         [BZ #14743]
67131         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67132         Declare __clock_getres, __clock_gettime, __clock_settime,
67133         __clock_nanosleep, and __clock_getcpuclockid.
67134         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67135         Remove librt_hidden_def (clock_gettime).
67136         * sysdeps/unix/clock_gettime.c: Likewise.
67137         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67139         * rt/clock_getres.c: Define __clock_getres as an alias.
67140         * sysdeps/posix/clock_getres.c: Likewise.
67141         * rt/clock_settime.c: Define __clock_settime as an alias.
67142         * sysdeps/unix/clock_settime.c: Likewise.
67143         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67144         * sysdeps/unix/clock_nanosleep.c: Likewise.
67145         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67146         * rt/clock-compat.c: New file.
67147         * rt/Makefile (librt-routines): Add clock-compat and move
67148         $(clock-routines) to ...
67149         (routines): ... here, new variable.
67150         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67151         Don't add get_clockfreq here.
67152         * rt/Versions (libc: GLIBC_2.17): New version set.
67153         Add clock_* symbols here.
67154         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67155         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67156         (GLIBC_2.17): Add clock_* symbols.
67157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67161         Likewise.
67162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67163         Likewise.
67164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67168         * NEWS: Mention the move.
67170         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67171         Use __open, __read, __close rather than their public counterparts.
67172         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67173         (__get_clockfreq_via_cpuinfo): Likewise.
67174         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67175         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67177         * config.h.in (HAVE_IFUNC): New #undef.
67178         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67179         was successful.
67180         * configure: Regenerated.
67182 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67184         * configure.in: Move READELF check to start of file.
67185         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67186         libc_cv_asm_gnu_indirect_function in the process.
67187         * configure: Regenerated.
67189 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67191         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67192         send the output to /dev/null.
67193         (libc_cv_cc_with_libunwind): Likewise.
67194         (libc_cv_as_noexecstack): Likewise.
67195         * configure: Regenerate.
67197 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67199         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67201         * posix/globtest.sh (TMPDIR): Do not set.
67202         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67203         (testout): Likewise.
67205 2012-10-24  Andreas Jaeger  <aj@suse.de>
67207         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67208         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67209         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67210         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67211         posix_fadvise64, posix_fallocate64.
67213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67214         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67215         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67216         Likewise.
67217         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67218         Likewise.
67219         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67222         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67223         <bits/fcntl-linux.h>.
67224         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67226         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67227         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67228         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67229         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67230         [__WORDSIZE != 64]: Likewise.
67232 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67234         * Makeconfig (run-built-tests): New variable.
67235         * Rules [$(cross-compiling) = yes]: Change condition to
67236         [$(run-built-tests) = no].
67237         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67238         to [$(run-built-tests) = yes].
67239         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67240         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67241         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67242         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67243         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67244         * io/Makefile [$(cross-compiling) = no]: Likewise.
67245         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67246         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67247         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67248         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67249         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67250         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67251         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67252         * string/Makefile [$(cross-compiling) = no]: Likewise.
67254         * posix/Makefile ($(objpfx)globtest.out): Pass
67255         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67256         $(rtld-installed-name).
67257         * posix/globtest.sh (elf_objpfx): Remove variable.
67258         (rtld_installed_name): Likewise.
67259         (library_path): Likewise.
67260         (run_program_prefix): New variable.  Use for running globtest
67261         binary.
67263 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67264             Joseph Myers  <joseph@codesourcery.com>
67266         * Makeconfig (host-built-program-cmd): New variable.
67267         * elf/Makefile (tst-stackguard1-ARGS): Use
67268         $(host-built-program-cmd).
67269         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67270         (tst-spawn-ARGS): Likewise.
67271         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67273 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67274             Jim Blandy  <jimb@codesourcery.com>
67276         * Makeconfig (run-via-rtld-prefix): New variable.
67277         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67278         (built-program-cmd): Likewise.
67280 2012-10-22  Andreas Jaeger  <aj@suse.de>
67282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67283         __O_RSYNC if it exists, otherwise to O_SYNC.
67285 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67286             Joseph Myers  <joseph@codesourcery.com>
67288         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67289         /dev/null.
67290         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67291         from /dev/null
67292         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67293         /dev/null.
67295 2012-10-22  Andreas Jaeger  <aj@suse.de>
67297         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67298         Define always.
67299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67302         bits/fcntl-linux.h.
67304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67305         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67307         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67308         to __O_LARGEFILE.
67309         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67310         to __O_LARGEFILE.
67312 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67313             Joseph Myers  <joseph@codesourcery.com>
67315         * config.make.in (NM): New variable.
67317 2012-10-21  Andreas Jaeger  <aj@suse.de>
67319         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67320         definitions and declarations that are provided by
67321         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67323 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67325         [BZ #14683]
67326         * elf/Makefile (tests-static): Add tst-leaks1-static.
67327         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67328         ($(objpfx)tst-leaks1-static): New rule.
67329         ($(objpfx)tst-leaks1-static-mem): Likewise.
67330         (tst-leaks1-static-ENV): New macro.
67331         * elf/dl-open.c (dl_open_worker): Check the main application
67332         only if SHARED is defined.
67333         * elf/tst-leaks1-static.c: New file.
67335 2012-10-20  Andreas Jaeger  <aj@suse.de>
67337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67338         generic values for Linux.
67339         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67340         and declarations that are provided by <bits/fcntl-linux.h> and
67341         include <bits/fcntl-linux.h>.
67342         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67345 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67347         * io/fcntl.h: Move include of <bits/types.h> to the top and
67348         include it unconditionally.
67350 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67352         * wcsmbs/Makefile (tests-ifunc): New variable.
67353         (tests): Add $(tests-ifunc).
67354         * wcsmbs/test-wcschr-ifunc.c: New file.
67355         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67356         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67357         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67358         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67359         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67361         * string/Makefile (tests-ifunc): New variable.
67362         (tests): Add $(tests-ifunc).
67363         * string/test-memccpy.c (TEST_NAME): New macro.
67364         * string/test-memchr.c (TEST_NAME): Likewise.
67365         * string/test-memcmp.c (TEST_NAME): Likewise.
67366         * string/test-memcpy.c (TEST_NAME): Likewise.
67367         * string/test-memmem.c (TEST_NAME): Likewise.
67368         * string/test-memmove.c (TEST_NAME): Likewise.
67369         * string/test-memset.c (TEST_NAME): Likewise.
67370         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67371         * string/test-stpcpy.c (TEST_NAME): Likewise.
67372         * string/test-stpncpy.c (TEST_NAME): Likewise.
67373         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67374         * string/test-strcasestr.c (TEST_NAME): Likewise.
67375         * string/test-strcat.c (TEST_NAME): Likewise.
67376         * string/test-strchr.c (TEST_NAME): Likewise.
67377         * string/test-strcmp.c(TEST_NAME): Likewise.
67378         * string/test-strcpy.c (TEST_NAME): Likewise.
67379         * string/test-strcspn.c (TEST_NAME): Likewise.
67380         * string/test-strlen.c (TEST_NAME): Likewise.
67381         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67382         * string/test-strncmp.c (TEST_NAME): Likewise.
67383         * string/test-strncpy.c (TEST_NAME): Likewise.
67384         * string/test-strnlen.c (TEST_NAME): Likewise.
67385         * string/test-strpbrk.c (TEST_NAME): Likewise.
67386         * string/test-strrchr.c (TEST_NAME): Likewise.
67387         * string/test-strspn.c (TEST_NAME): Likewise.
67388         * string/test-strstr.c (TEST_NAME): Likewise.
67389         * string/test-bcopy-ifunc.c: New file.
67390         * string/test-bzero-ifunc.c: Likewise.
67391         * string/test-memccpy-ifunc.c: Likewise.
67392         * string/test-memchr-ifunc.c: Likewise.
67393         * string/test-memcmp-ifunc.c: Likewise.
67394         * string/test-memcpy-ifunc.c: Likewise.
67395         * string/test-memmem-ifunc.c: Likewise.
67396         * string/test-memmove-ifunc.c: Likewise.
67397         * string/test-mempcpy-ifunc.c: Likewise.
67398         * string/test-memset-ifunc.c: Likewise.
67399         * string/test-rawmemchr-ifunc.c: Likewise.
67400         * string/test-stpcpy-ifunc.c: Likewise.
67401         * string/test-stpncpy-ifunc.c: Likewise.
67402         * string/test-strcasecmp-ifunc.c: Likewise.
67403         * string/test-strcasestr-ifunc.c: Likewise.
67404         * string/test-strcat-ifunc.c: Likewise.
67405         * string/test-strchr-ifunc.c: Likewise.
67406         * string/test-strchrnul-ifunc.c: Likewise.
67407         * string/test-strcmp-ifunc.c: Likewise.
67408         * string/test-strcpy-ifunc.c: Likewise.
67409         * string/test-strcspn-ifunc.c: Likewise.
67410         * string/test-strlen-ifunc.c: Likewise.
67411         * string/test-strncasecmp-ifunc.c: Likewise.
67412         * string/test-strncat-ifunc.c: Likewise.
67413         * string/test-strncmp-ifunc.c: Likewise.
67414         * string/test-strncpy-ifunc.c: Likewise.
67415         * string/test-strnlen-ifunc.c: Likewise.
67416         * string/test-strpbrk-ifunc.c: Likewise.
67417         * string/test-strrchr-ifunc.c: Likewise.
67418         * string/test-strspn-ifunc.c: Likewise.
67419         * string/test-strstr-ifunc.c: Likewise.
67421         * debug/Makefile (tests-ifunc): New variable.
67422         (tests): Add $(tests-ifunc).
67423         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67424         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67425         * debug/test-stpcpy_chk-ifunc.c: New file.
67426         * debug/test-strcpy_chk-ifunc.c: Likewise.
67428 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67430         [BZ #13601]
67431         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67432         header is not read in.
67434 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67436         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67437         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67438         directly.  Pass built executable to script as
67439         $(built-program-cmd).
67440         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67441         $testprogram without using LD_LIBRARY_PATH and $ldso.
67443         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67444         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67445         $(rtld-installed-name).
67446         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67447         (rtld_installed_name): Likewise.
67448         (library_path): Likewise.
67449         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67450         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67451         $(run-program-prefix) to tst-tables.sh.
67452         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67453         it to run tst-table-from and tst-table-to.
67454         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67455         Pass it to tst-table.sh.
67456         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67457         $(run-program-prefix) to tst-gettext.sh.
67458         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67459         tst-translit.sh.
67460         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67461         tst-gettext2.sh.
67462         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67463         to run tst-gettext.
67464         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67465         to run tst-gettext2.
67466         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67467         to run tst-translit.
67468         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67469         $(run-program-prefix) to tst-mtrace.sh.
67470         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67471         to run tst-mtrace.
67472         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67473         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67474         $(rtld-installed-name).
67475         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67476         (rtld_installed_name): Likewise.
67477         (run_program_prefix): New variable.  Use it to run wordexp-test.
67479         * Makeconfig (ARCH): Remove all definitions.
67480         (machine): Likewise.
67481         [ARCH]: Remove conditional code.
67482         [!objdir]: Give error.
67483         [!objdir] (objpfx): Remove.
67484         [!objdir] (common-objpfx): Likewise.
67485         [!objdir] (common-objdir): Likewise.
67486         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67487         AC_CONFIG_FILES call.
67488         * configure: Regenerated.
67490         [BZ #13888]
67491         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67492         or TMPDIR.
67493         (testout): Likewise.
67495         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67496         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67497         $(rtld-installed-name).
67498         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67499         (rtld_installed_name): Likewise.
67500         (runit): Remove function.
67501         (run_getconf): New variable,  Use it for running getconf binary.
67503 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67505         [BZ #14716]
67506         * string/test-memmem.c (check_result): New function.
67507         (do_one_test): Use it.
67508         (check1): New function.
67509         (test_main): Use it.
67511 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67513         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67515 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67517         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67518         (_G_LSEEK64): Likewise.
67519         (_G_MMAP64): Likewise.
67520         (_G_FSTAT64): Likewise.
67521         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67522         (_G_LSEEK64): Likewise.
67523         (_G_MMAP64): Likewise.
67524         (_G_FSTAT64): Likewise.
67525         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67526         unconditional.  Call __mmap64 directly.
67527         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67528         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67529         __lseek64 directly.
67530         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67531         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67532         __mmap64 directly.
67533         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67534         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67535         __lseek64 directly.
67536         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67537         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67538         __lseek64 directly.
67539         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67540         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67541         __lseek64 directly.
67542         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67543         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67544         __fxstat64 directly.
67545         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67546         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67547         unconditional.
67548         (freopen64) [!_G_OPEN64]: Remove conditional code.
67549         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67550         unconditional.
67551         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67552         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67553         unconditional.
67554         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67555         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67556         unconditional.
67557         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67558         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67559         unconditional.
67560         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67561         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67562         unconditional.
67563         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67564         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67565         unconditional.
67566         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67567         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67568         unconditional.
67569         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67571 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67573         [BZ #12140]
67574         * manual/memory.texi (Malloc Tunable Parameters): Add note
67575         about free list pointers overwriting some perturb bytes.
67576         Wording suggested by Roland McGrath.
67578 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67580         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67581         (lgamma_test): Likewise.
67582         (tgamma_test): Likewise.
67584 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67586         [BZ #14700]
67587         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67588         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67590 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67592         * NEWS: Mention BZ #14716.
67593         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67594         when removing AVAILABLE1_USES_J macro.
67596 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67598         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67599         (__bswap_64): __uint64_t for unsigned 64-bit int.
67601 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67603         * include/string.h (memmem): Declare libc hidden alias.
67604         * string/memmem.c (memmem): Define libc hidden alias.
67605         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67606         __read, __close instead of open, read, close.
67608 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67611         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67612         global and hidden.
67613         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67614         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67615         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67616         Likewise.
67617         (__rawmemchr_sse2): Likewise.
67618         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67619         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67620         (__strchr_sse2): Likewise.
67621         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67622         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67623         (__strcasecmp_sse2): Likewise.
67624         (__strncasecmp_sse2): Likewise.
67625         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67626         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67627         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67628         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67629         (__strrchr_sse2): Likewise.
67630         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67631         ifunc-impl-list.c.
67632         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67633         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67634         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67635         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67636         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67637         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67638         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67639         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67640         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67641         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67642         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67644         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67645         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67646         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67647         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67648         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67649         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67650         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67651         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67652         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67653         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67654         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67655         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67656         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67657         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67658         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67659         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67660         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67661         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67663         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67664         global and hidden.
67665         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67666         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67667         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67668         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67669         Likewise.
67670         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67671         Likewise.
67672         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67673         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67674         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67675         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67676         ifunc-impl-list.c.
67677         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67678         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67679         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67680         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67681         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67682         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67683         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67684         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67685         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67686         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67687         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67688         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67689         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67690         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67691         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67692         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67693         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67694         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67695         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67696         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67697         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67698         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67699         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67700         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67701         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67702         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67703         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67704         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67705         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67706         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67707         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67708         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67709         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67710         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67711         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67712         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67713         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67714         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67715         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67716         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67717         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67719         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67720         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67721         * include/ifunc-impl-list.h: New file.
67722         * misc/ifunc-impl-list.c: Likewise.
67723         * misc/Makefile (routines): Add ifunc-impl-list.
67724         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67725         * string/test-string.h: Include <ifunc-impl-list.h>.
67726         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67727         TEST_NAME]: New variables.
67728         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67729         are defined.
67730         (test_init): Call __libc_ifunc_impl_list to initialize
67731         func_list if TEST_IFUNC and TEST_NAME are defined.
67733         * string/Makefile (strop-tests): Add bcopy and bzero.
67734         * string/test-bcopy.c: New file.
67735         * string/test-bzero.c: Likewise.
67736         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67737         defined.
67738         * string/test-memset.c: Support bzero test if TEST_BZERO is
67739         defined.
67740         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67741         __libc_memmove.
67742         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67743         __libc_memset.
67744         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67745         of memset.
67747 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67749         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67750         * configure: Regenerated.
67752         * Makeconfig (+link-static-before-libc): Don't include
67753         $(link-static-libc).
67755         * libio/libio.h (_IO_pos_t): Remove.
67757 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67759         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67760         McGrath.
67762 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67764         * crypt/crypt-entry.c: Include fips-private.h.
67765         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67766         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67767         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67768         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67770 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67772         * crypt/crypt-private.h: Include stdbool.h.
67773         (_ufc_setup_salt_r): Return bool.
67774         * crypt/crypt-entry.c: Include errno.h.
67775         (__crypt_r): Return NULL with EINVAL for bad salt.
67776         * crypt/crypt_util.c (bad_for_salt): New.
67777         (_ufc_setup_salt_r): Check that salt is long enough and within
67778         the specified alphabet.
67779         * crypt/badsalttest.c: New file.
67780         * crypt/Makefile (tests): Add it.
67781         ($(objpfx)badsalttest): New.
67783 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67785         * NEWS: Add entry for BZ #14602.
67787 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67789         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67790         type-generic.
67791         * math/libm-test.inc: Update comment listing what functions and
67792         macros are tested.
67793         (isgreater_test): New function.
67794         (isgreaterequal_test): Likewise.
67795         (isless_test): Likewise.
67796         (islessequal_test): Likewise.
67797         (islessgreater_test): Likewise.
67798         (isunordered_test): Likewise.
67799         (main): Call the new functions.
67801 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67803         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67804         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67805         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67806         * sysdeps/i386/configure: Regenerated.
67807         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67808         * sysdeps/mach/configure: Regenerated.
67809         * sysdeps/mach/hurd/configure: Regenerated.
67810         * sysdeps/powerpc/configure: Regenerated.
67811         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67812         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67813         * sysdeps/s390/s390-32/configure: Regenerated.
67814         * sysdeps/s390/s390-64/configure: Regenerated.
67815         * sysdeps/sh/configure: Regenerated.
67816         * sysdeps/sparc/configure: Regenerated.
67817         * sysdeps/unix/sysv/linux/configure: Regenerated.
67818         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67819         * sysdeps/x86_64/configure: Regenerated.
67821         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67822         defined.  Don't check if MAP is NULL.
67824 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67826         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67827         (_G_stat64): Likewise.
67828         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67829         (_G_stat64): Likewise.
67830         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67831         instead of struct _G_stat64.
67832         * libio/fileops.c (mmap_remap_check): Likewise.
67833         (decide_maybe_mmap): Likewise.
67834         (_IO_new_file_seekoff): Likewise.
67835         (_IO_file_stat): Likewise.
67836         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67837         _G_off64_t.
67838         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67839         instead of struct _G_stat64.
67840         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67842 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67844         [BZ #14602]
67845         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67846         Replace with ...
67847         (CHECK_EOL): New macro.
67848         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67849         CHECK_EOL.
67850         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67851         Replace with CHECK_EOL.
67852         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67853         Replace with CHECK_EOL.
67855 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67857         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67858         type-generic.
67859         * math/libm-test.inc: Update comment listing what functions and
67860         macros are tested.
67861         (finite_test): New function.
67862         (isinf_test): Likewise.
67863         (isnan_test): Likewise.
67864         (fpclassify_test): Test subnormal input.
67865         (isfinite_test): Likewise.
67866         (isnormal_test): Likewise.
67867         (main): Call the new functions.
67869 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67871         [BZ #14660]
67872         * Makerules (%.dynsym): Force C locale when running
67873         $(OBJDUMP) --dynamic-syms.
67875 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67877         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67878         <stdint.h>.
67880 2012-10-06  David S. Miller  <davem@davemloft.net>
67882         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67883         upper 32-bits of the length value in %o2 since we use branch-on-register
67884         tests which consider the entire 64-bit register.
67886 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67888         * string/test-strstr.c (check2): Add a test for page boundary.
67890 2012-10-05  David S. Miller  <davem@davemloft.net>
67892         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67893         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67894         file.
67895         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67896         sysdep_routines.
67897         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67898         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67899         and bzero when HWCAP_SPARC_CRYPTO is present.
67901 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67903         [BZ #14602]
67904         * string/test-strstr.c (check2): New function.
67905         (test_main): Call check2.
67907         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67908         and bug-strchr1.
67909         * string/bug-strcasestr1.c (do_test): Moved to ...
67910         * string/test-strcasestr.c (check1): Here.  New function.
67911         (do_one_test): Break out result checking code into ...
67912         (check_result): This.  New function.
67913         (do_one_test): Call check_result.
67914         (test_main): Call check1.
67915         * string/bug-strchr1.c (do_test): Moved to ...
67916         * string/test-strchr.c (check1): Here.  New function.
67917         (do_one_test): Break out result checking code into ...
67918         (check_result): This.  New function.
67919         (do_one_test): Call check_result.
67920         (test_main): Call check1.
67921         * string/bug-strstr1.c (main): Moved to ...
67922         * string/test-strstr.c (check1): Here.  New function.
67923         (do_one_test): Break out result checking code into ...
67924         (check_result): This.  New function.
67925         (do_one_test): Call check_result.
67926         (test_main): Call check1.
67927         * string/bug-strcasestr1.c: Removed.
67928         * string/bug-strchr1.c: Likewise.
67929         * string/bug-strstr1.c: Likewise.
67931         * elf/Makefile (dl-routines): Add hwcaps.
67932         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67933         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67934         (_dl_important_hwcaps): Moved to ...
67935         * elf/dl-hwcaps.c: Here.  New file.
67936         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67938         [BZ #14557]
67939         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67940         if IS_IN_rtld isn't defined.
67942         * elf/dl-support.c (_dl_sysinfo_map): New.
67943         Include "get-dynamic-info.h" and "setup-vdso.h".
67944         (_dl_non_dynamic_init): Call setup_vdso.
67945         * elf/dynamic-link.h: Don't include <assert.h>.
67946         (elf_get_dynamic_info): Moved to ...
67947         * elf/get-dynamic-info.h: Here.  New file.
67948         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67949         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67950         * elf/setup-vdso.h: Here.  New file.
67951         * elf/rtld.c: Include "setup-vdso.h".
67952         (dl_main): Call setup_vdso.
67954 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67956         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67957         creal in comment listing functions tested.  List finite, isinf,
67958         isnan, isless, islessequal, isgreater, isgreaterequal,
67959         islessgreater, isunordered, lgamma_r and pow10 as functions and
67960         macros not tested.  Mention which functions not tested are aliases
67961         for other functions.  Fix typo.  Note that signs of NaNs are not
67962         tested.
67964         * scripts/config.guess: Update from config.git.
67965         * scripts/config.sub: Likewise.
67967 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67969         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67970         * misc/madvise.c (madvise): Renamed to __madvise.
67971         Make madvise a weak alias.
67972         * include/sys/mman.h: Declare __madvise.
67973         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67974         * sysdeps/unix/syscalls.list
67975         (madvise): Make __madvise the strong name, and madvise a weak alias.
67976         * sysdeps/unix/sysv/linux/syscalls.list
67977         (madvise, mmap): Remove redundant entries.
67978         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67979         * malloc/malloc.c (mtrim): Likewise.
67980         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67982 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67984         * sysdeps/mach/hurd/dl-cache.c: File removed.
67985         * config.h.in (USE_LDCONFIG): New #undef.
67986         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67987         * configure: Regenerated.
67988         * elf/Makefile (dl-routines): Add dl-cache only under
67989         [$(use-ldconfig) = yes].
67990         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67991         cache on [USE_LDCONFIG].
67992         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67993         [USE_LDCONFIG].
67994         * elf/rtld.c (dl_main): Likewise.
67996 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67998         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67999         _SC_LEVEL4_CACHE_LINESIZE.
68001 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68003         * sysdeps/unix/bsd/confstr.h: File removed.
68005 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68007         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68008         sys/sdt-config.h.
68010 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68012         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68013         Make 'mapoff' field ElfW(Off) rather than off_t.
68015 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68017         * nscd/Makefile: Remove nscd-cflags and all its users.
68018         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68019         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68021         [BZ #10631]
68022         * malloc.c (malloc_printerr): Clarify error message.
68024 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68026         [BZ #14648]
68027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68028         Set bit_FMA_Usable if FMA is supported.
68029         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68030         macro.
68031         (bit_FMA4_Usable): Updated.
68032         (index_FMA_Usable): New macro.
68033         (CPUID_FMA): Likewise.
68034         (HAS_FMA): Defined with bit_FMA_Usable.
68036 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68038         * bits/types.h (__swblk_t): Type removed.
68039         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68040         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68042         (__SWBLK_T_TYPE): Likewise.
68043         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68044         (__SWBLK_T_TYPE): Likewise.
68045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68046         (__SWBLK_T_TYPE): Likewise.
68047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68048         (__SWBLK_T_TYPE): Likewise.
68050 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68051             Honza Horak <hhorak@redhat.com>
68053         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68054         (xdr_mapname): Use YPMAXMAP as maxsize.
68055         (xdr_peername): Use YPMAXPEER as maxsize.
68056         (xdr_keydat): Use YPAXRECORD as maxsize.
68057         (xdr_valdat): Use YPMAXRECORD as maxsize.
68059 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68061         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68063         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68064         * csu/init-first.c: ... here.
68065         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68066         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68067         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68068         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68069         * sysdeps/i386/init-first.c: File removed.
68070         * sysdeps/sh/init-first.c: File removed.
68072 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68074         [BZ #14645]
68075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68076         if x * y might underflow to zero and z is zero.
68077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68079         * math/libm-test.inc (min_subnorm_value): New variable.
68080         (fma_test): Add more tests.
68081         (fma_test_towardzero): Likewise.
68082         (fma_test_downward): Likewise.
68083         (fma_test_upward): Likewise.
68084         (initialize): Set min_subnorm_value.
68086 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68088         [BZ #14638]
68089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68090         0 + 0.
68091         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68092         mode for addition resulting in exact zero.
68093         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68095         exact 0 + 0.
68096         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68098         * math/libm-test.inc (fma_test): Add more tests.
68099         (fma_test_towardzero): New function.
68100         (fma_test_downward): Likewise.
68101         (fma_test_upward): Likewise.
68102         (main): Call the new functions.
68104 2012-09-28  David S. Miller  <davem@davemloft.net>
68106         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68108 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68110         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68111         instead of SIGALRM.
68113         * sysdeps/gnu/_G_config.h: Moved to ...
68114         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68115         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68116         * sysdeps/generic/_G_config.h: ... here.
68118         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68120         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68122         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68123         Conditionalize target on [libnss_test1.so-version].
68125         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68127         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68128         (elfobjdir): Move out of conditionals.
68130         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68131         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68132         (__nss_lookup_function): Conditionalize label remove_from_tree on
68133         [!DO_STATIC_NSS || SHARED], matching its only use.
68135 2012-09-28  David S. Miller  <davem@davemloft.net>
68137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68138         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68139         file.
68140         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68141         sysdep_routines.
68142         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68144         when HWCAP_SPARC_CRYPTO is present.
68146 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68148         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68150 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68152         [BZ #6530]
68153         * stdio-common/vfprintf.c (process_string_arg): Revert
68154         2000-07-22 change.
68156 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68158         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68159         for testcase.
68160         * stdio-common/tst-sprintf.c: Include <locale.h>
68161         (main): Test sprintf's handling of incomplete multibyte
68162         characters.
68164 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68166         * elf/dl-runtime.c (VERSYMIDX): Removed.
68167         * elf/dl-version.c (VERSYMIDX): Likewise.
68168         * elf/do-rel.h (VERSYMIDX): Likewise.
68169         (VALIDX): Likewise.
68170         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68171         * elf/rtld.c (VALIDX): Likewise.
68172         (ADDRIDX): Likewise.
68173         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68174         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68175         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68176         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68177         (VALIDX): Likewise.
68178         (ADDRIDX): Likewise.
68180 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68182         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68184 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68186         [BZ #11438]
68187         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68188         to global scope.
68189         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68190         addresses are in the same scope as 192.0.2/24.
68191         * posix/gai.conf: Document new scope table defaults.
68193 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68195         [BZ #5298]
68196         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68197         for ftell.  Compute offsets from write pointers instead.
68198         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68200 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68202         [BZ #14543]
68203         * libio/Makefile (tests): New test case tst-fseek.
68204         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68205         combination works in wide mode.
68206         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68207         state when the external buffer state changes.
68209 2012-09-27  David S. Miller  <davem@davemloft.net>
68211         [BZ #14376]
68212         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68213         pass reloc->r_addend in as the 'high' argument to
68214         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68218 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68220         * rt/tst-aio2.c: Include <pthread.h>.
68221         * rt/tst-aio3.c: Likewise.
68223 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68225         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68227 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68229         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68230         contents on [SHARED].
68232 2012-09-26  Marek Polacek  <polacek@redhat.com>
68234         [BZ #14530]
68235         [BZ #13741]
68236         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68237         for C++ and GCC <4.3 as well as for non GCC compilers.
68239 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68243 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68245         * Makefile.in (all, install): Declare with .PHONY.
68246         Reported by Michael Hope <michael.hope@linaro.org>.
68248 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68250         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68251         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68252         system header.
68253         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68254         Likewise.
68255         (sydep_routines): Add the new and the internal functions.
68256         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68257         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68259         (GLIBC_2.17): Add the new function.
68260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68261         (GLIBC_2.17): Likewise.
68262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68263         (GLIBC_2.17): Likewise.
68264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68265         (GLIBC_2.17): Likewise.
68266         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68268 2012-09-25  Alan Modra  <amodra@gmail.com>
68270         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68271         Add release barrier before setting once_control to say
68272         initialisation is done.  Add hints on lwarx.  Use macro in
68273         place of isync.
68274         (clear_once_control): Add release barrier.
68276 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68278         [BZ #13629]
68279         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68280         specially.
68281         * math/s_clog10.c (__clog10): Likewise.
68282         * math/s_clog10f.c (__clog10f): Likewise.
68283         * math/s_clog10l.c (__clog10l): Likewise.
68284         * math/s_clogf.c (__clogf): Likewise.
68285         * math/s_clogl.c (__clogl): Likewise.
68286         * math/Makefile (libm-calls): Add x2y2m1.
68287         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68288         (__x2y2m1): Likewise.
68289         (__x2y2m1l): Likewise.
68290         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68291         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68292         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68293         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68294         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68295         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68296         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68297         * sysdeps/i386/fpu/libm-test-ulps: Update.
68298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68300         [BZ #14621]
68301         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68302         int as type of variable DEPTH.
68303         (glob): Use size_t instead of int as type of variables NEWCOUNT
68304         and OLD_PATHC.
68306 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68308         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68309         Add s_sincosf-sse2.
68310         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68311         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68312         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68313         macros for using routine as __sincosf_ia32.
68314         Use macro for function declaration and weak_alias.
68315         * sysdeps/i386/fpu/libm-test-ulps: Update.
68317         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68320         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68321         subnormal argument.
68322         * math/s_cexpf.c (__cexpf): Likewise.
68323         * math/s_csinf.c (__csinf): Likewise.
68324         * math/s_csinhf.c (__csinhf): Likewise.
68325         * math/s_ctanf.c (__ctanf): Likewise.
68326         * math/s_ctanhf.c (__ctanhf): Likewise.
68327         * math/s_ccosh.c (__ccoshf): Likewise.
68328         * math/s_cexp.c (__cexpl): Likewise.
68329         * math/s_csin.c (__csin): Likewise.
68330         * math/s_csinh.c (__csinh): Likewise.
68331         * math/s_ctan.c (__ctan): Likewise.
68332         * math/s_ctanh.c (ctanh): Likewise.
68333         * math/s_ccoshl.c (__ccoshl): Likewise.
68334         * math/s_cexpl.c (__cexpl): Likewise.
68335         * math/s_csinl.c (__csinl): Likewise.
68336         * math/s_csinhl.c (__csinhl): Likewise.
68337         * math/s_ctanl.c (__ctanl): Likewise.
68338         * math/s_ctanhl.c (__ctanhl): Likewise.
68340 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68342         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68343         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68344         (_IO_off_t): Define to __off_t, not _G_off_t.
68345         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68346         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68347         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68348         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68349         type of __dummy and __dummy2 fields.
68350         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68351         (_G_ssize_t): Likewise.
68352         (_G_off_t): Likewise.
68353         (_G_pid_t): Likewise.
68354         (_G_uid_t): Likewise.
68355         (_G_wchar_t): Likewise.
68356         (_G_wint_t): Likewise.
68357         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68358         (_G_ssize_t): Likewise.
68359         (_G_off_t): Likewise.
68360         (_G_pid_t): Likewise.
68361         (_G_uid_t): Likewise.
68362         (_G_wchar_t): Likewise.
68363         (_G_wint_t): Likewise.
68364         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68365         (_G_ssize_t): Likewise.
68366         (_G_off_t): Likewise.
68367         (_G_pid_t): Likewise.
68368         (_G_uid_t): Likewise.
68369         (_G_wchar_t): Likewise.
68370         (_G_wint_t): Likewise.
68372 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68374         * malloc/arena.c: Include malloc-sysdep.h.
68375         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68376         is sufficient to shrink the heap or an unmap is needed.
68377         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68378         new function check_may_shrink_heap.
68379         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68380         new function check_may_shrink_heap.
68382 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68384         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68385         comments.
68387 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68389         * catgets/test-gencat.sh: Add "set -e".
68390         * elf/tst-pathopt.sh: Likewise.
68391         * grp/tst_fgetgrent.sh: Likewise.
68392         * iconvdata/run-iconv-test.sh: Likewise.
68393         * intl/tst-gettext.sh: Likewise.
68394         * intl/tst-gettext2.sh: Likewise.
68395         * intl/tst-gettext4.sh: Likewise.
68396         * intl/tst-gettext6.sh: Likewise.
68397         * intl/tst-translit.sh: Likewise.
68398         * io/ftwtest-sh: Likewise.
68399         * libio/test-freopen.sh: Likewise.
68400         * malloc/tst-mtrace.sh: Likewise.
68401         * posix/globtest.sh: Likewise.
68402         * posix/tst-getconf.sh: Likewise.
68403         * posix/wordexp-tst.sh: Likewise.
68404         * stdio-common/tst-printf.sh: Likewise.
68405         * stdio-common/tst-unbputc.sh: Likewise.
68406         * stdlib/tst-fmtmsg.sh: Likewise.
68407         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68408         * catgets/Makefile: Do not specify -e option when running
68409         testsuite shell scripts.
68410         * elf/Makefile: Likewise.
68411         * grp/Makefile: Likewise.
68412         * iconvdata/Makefile: Likewise.
68413         * intl/Makefile: Likewise.
68414         * io/Makefile: Likewise.
68415         * libio/Makefile: Likewise.
68416         * malloc/Makefile: Likewise.
68417         * posix/Makefile: Likewise.
68418         * stdio-common/Makefile: Likewise.
68419         * stdlib/Makefile: Likewise.
68420         * sysdeps/x86_64/Makefile: Likewise.
68422         * io/ftwtest-sh: Add copyright header.
68423         * posix/globtest.sh: Likewise.
68424         * posix/tst-getconf.sh: Likewise.
68425         * posix/wordexp-tst.sh: Likewise.
68426         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68428 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68430         [BZ #13679]
68431         * Makeconfig (+link): Defined as $(+link-static) if
68432         $(build-shared) isn't yes.
68433         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68434         isn't yes.
68435         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68437         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68439         [BZ #14562]
68440         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68441         new chunk size with MALLOC_ALIGN_MASK.
68443 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68445         [BZ #5044]
68446         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68447         <rounding-mode.h>.
68448         (__printf_fphex): Determine rounding using get_rounding_mode and
68449         round_away.
68450         * stdio-common/tst-printf-round.c (struct hex_test): New
68451         structure.
68452         (hex_tests): New variable.
68453         (test_hex_in_one_mode): New function.
68454         (do_test): Also run tests for hex float output.
68456 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68458         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68459         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68460         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68461         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68462         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68463         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68464         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68465         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68467 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68469         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68470         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68471         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68472         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68474 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68476         [BZ #14579]
68477         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68478         mode only.
68479         * elf/tst-rtld-load-self.sh: New test.
68480         * elf/Makefile: Run it.
68482 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68484         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68485         (tst-writev-ENV): Remove.
68486         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68488 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68490         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68492 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68494         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68495         unconditional.
68496         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68497         Likewise.
68498         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68499         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68500         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68501         Likewise.
68503 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68505         [BZ #14587]
68506         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68507         * config.make.in (have-cpp-asm-debuginfo): Removed.
68508         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68509         * configure: Regenerated.
68511 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68513         [BZ #5044]
68514         * stdio-common/printf_fp.c: Include <stdbool.h> and
68515         <rounding-mode.h>.
68516         (___printf_fp): Determine rounding using get_rounding_mode and
68517         round_away.
68518         * stdio-common/tst-printf-round.c: New file.
68519         * stdio-common/Makefile (tests): Add tst-printf-round.
68520         (link-libm): New variable.
68521         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68523 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68525         [BZ #14576]
68526         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68527         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68528         Likewise.
68529         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68530         Likewise.
68532 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68534         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68535         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68536         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68537         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68539 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68541         [BZ #14518]
68542         * include/rounding-mode.h: New file.
68543         * sysdeps/generic/get-rounding-mode.h: Likewise.
68544         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68545         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68546         (MAX_VALUE): New macro.
68547         (MIN_VALUE): Likewise.
68548         (overflow_value): New function.
68549         (underflow_value): Likewise.
68550         (round_and_return): Use overflow_value and underflow_value to
68551         determine return values in overflow and underflow cases.  Use
68552         round_away to determine rounding depending on rounding mode.
68553         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68554         determine return values in overflow and underflow cases.
68555         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68556         (struct test_results): New structure.
68557         (struct test): Use struct test_results to store expected results
68558         for all rounding modes.
68559         (TEST): Include expected results for all rounding modes.
68560         (test_in_one_mode): New function.
68561         (do_test): Use test_in_one_mode to compute and check results.
68562         Check results for all rounding modes.
68563         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68564         $(link-libm).
68566 2012-12-09  Allan McRae  <allan@archlinux.org>
68568         * sysdeps/i386/fpu/libm-test-ulps: Update
68570 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68572         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68573         (_G_int32_t): Likewise.
68574         (_G_uint16_t): Likewise.
68575         (_G_uint32_t): Likewise.
68576         (_G_HAVE_BOOL): Likewise.
68577         (_G_HAVE_ATEXIT): Likewise.
68578         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68579         (_G_HAVE_IO_FILE_OPEN): Likewise.
68580         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68581         (_G_int32_t): Likewise.
68582         (_G_uint16_t): Likewise.
68583         (_G_uint32_t): Likewise.
68584         (_G_HAVE_BOOL): Likewise.
68585         (_G_HAVE_ATEXIT): Likewise.
68586         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68587         (_G_HAVE_IO_FILE_OPEN): Likewise.
68588         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68589         (_G_int32_t): Likewise.
68590         (_G_uint16_t): Likewise.
68591         (_G_uint32_t): Likewise.
68592         (_G_HAVE_BOOL): Likewise.
68593         (_G_HAVE_ATEXIT): Likewise.
68594         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68595         (_G_HAVE_IO_FILE_OPEN): Likewise.
68597 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68599         * csu/libc-tls.c: Update copyright years.
68601 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68603         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68604         [!_G_USING_THUNKS]: Remove conditional code.
68605         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68606         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68608         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68609         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68610         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68611         (_G_VTABLE_LABEL_PREFIX): Likewise.
68612         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68613         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68614         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68615         (_G_VTABLE_LABEL_PREFIX): Likewise.
68616         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68617         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68618         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68619         (_G_VTABLE_LABEL_PREFIX): Likewise.
68620         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68622 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68624         * libio/Makefile: Include ../Makeconfig before tests.
68625         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68626         only if $(build-shared) is yes.
68628         * iconv/gconv_db.c: Update copyright years.
68630 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68632         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68633         unwind info if defined PIC. Fix special cases description.
68634         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68636         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68637         DP_HI_MASK entry.
68638         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68640 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68642         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68644         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68645         is NULL.
68647         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68648         (LDLIBS-tst-chk4): This.
68649         (LDFLAGS-tst-chk5): Renamed to ...
68650         (LDLIBS-tst-chk5): This.
68651         (LDFLAGS-tst-chk6): Renamed to ...
68652         (LDLIBS-tst-chk6): This.
68653         (LDFLAGS-tst-lfschk4): Renamed to ...
68654         (LDLIBS-tst-lfschk4): This.
68655         (LDFLAGS-tst-lfschk5): Renamed to ...
68656         (LDLIBS-tst-lfschk5): This.
68657         (LDFLAGS-tst-lfschk6): Renamed to ...
68658         (LDLIBS-tst-lfschk6): This.
68660         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68661         on $(common-objpfx)soversions.mk.
68663 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68665         [BZ #10014]
68666         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68667         example host name.
68669 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68671         * malloc/arena.c (arena_get_retry): New function that gets
68672         another arena for the caller to try its request on.
68673         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68674         current arena cannot fulfill the request.
68675         (__libc_memalign): Likewise.
68676         (__libc_memalign): Likewise.
68677         (__libc_pvalloc): Likewise.
68678         (__libc_calloc): Likewise.
68680 2012-09-05  John Tobey  <john.tobey@gmail.com>
68682         [BZ #13542]
68683         * manual/arith.texi (Operations on Complex): Fix description
68684         of carg branch cut.
68686 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68688         [BZ #10014]
68689         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68690         host name.
68692         [BZ #10038]
68693         * manual/memory.texi (Memory): Make order of menu items match
68694         order of sections.
68696 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68698         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68699         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68700         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68702 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68704         * csu/libc-tls.c (static_dtv): Renamed to ...
68705         (_dl_static_dtv): This.  Make it global.
68706         (_dl_initial_dtv): Removed.
68707         (__libc_setup_tls): Updated.
68708         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68709         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68710         DL_INITIAL_DTV.
68712 2012-09-06  Petr Machata  <pmachata@redhat.com>
68714         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68715         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68716         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68717         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68719 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68721         [BZ #14545]
68722         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68723         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68724         freeing dtv[-1].
68726 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68728         [BZ #14544]
68729         * Makeconfig (link-static-before-libc): Replace $(+prector)
68730         with $(+prectorT).
68731         (link-static-after-libc): Replace $(+postctor) with
68732         $(+postctorT).
68733         (link-bounded): Replace $(+prector)/$(+postctor) with
68734         $(+prectorT)/$(+postctorT).
68735         (+prectorT): New macro.
68736         (+postctorT): Likewise.
68738 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68740         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68741         (round_str): Handle values above the maximum for IBM long double
68742         as inexact.
68743         * stdlib/tst-strtod-round.c (tests): Regenerated.
68745 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68747         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68748         assembler flag.
68749         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68750         zarch_nohighgprs around the zarch optimized routines.
68751         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68752         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68754         for zarch.
68756 2012-09-05  David S. Miller  <davem@davemloft.net>
68758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68760         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68761         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68762         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68763         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68764         entries.
68766 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68768         * malloc/arena.c: Fold copyright years.
68769         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68771 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68773         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68777         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68779 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68781         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68782         change internal state upon failure.
68784 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68786         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68787         * malloc/memusage.c (mmap): Likewise.
68788         (mmap64, mremap): Likewise.  Adjust name in comment.
68790 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68792         * libio/fileops.c: Fix typos in comments.
68793         * libio/oldfileops.c: Likewise.
68794         * libio/wfileops.c: Likewise.
68796 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68798         [BZ #1349]
68799         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68800         (tst-malloc-usable-ENV): Set environment for test case.
68801         * malloc/hooks.c (malloc_check_get_size): New function to get
68802         requested size.
68803         * malloc/malloc.c (musable): Use malloc_check_get_size.
68804         * malloc/tst-malloc-usable.c: New test case.
68806 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68808         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68810 2012-09-05  Allan McRae  <allan@archlinux.org>
68812         [BZ #13966]
68813         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68814         determine header location.
68815         * configure: Regenerated.
68817 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68819         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68820         float format.
68821         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68822         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68823         format.
68824         (test): Regenerate.
68826 2012-09-04  David S. Miller  <davem@davemloft.net>
68828         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68829         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68830         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68832 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68834         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68835         failures.
68837         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68839 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68841         [BZ #9914]
68842         * libio/iogetdelim.c: Include <limits.h>.
68843         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68844         + len + 1 would overflow.
68846 2012-09-03  Andreas Jaeger  <aj@suse.de>
68848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68849         * sysdeps/i386/fpu/libm-test-ulps: Update.
68851 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68853         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68854         Add s_sinf-sse2, s_conf-sse2.
68856         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68857         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68858         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68859         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68861         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68862         for using routine as __sinf_ia32.
68863         Use macro for function declaration and weak_alias.
68864         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68865         for using routine as __cosf_ia32.
68866         Use macro for function declaration and weak_alias.
68868         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68869         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68871         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68872         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68875         * math/libm-test.inc (cos_test): Add more test cases.
68876         (sin_test): Likewise.
68877         (sincos_test): Likewise.
68879 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68881         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68882         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68883         hidden.
68884         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68886 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68888         [BZ #14538]
68889         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68890         first element of the GOT.
68891         (elf_machine_load_address): Return the difference between
68892         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68894 2012-09-01  Allan McRae  <allan@archlinux.org>
68896         [BZ #13412]
68897         * configure.in (AWK): Require gawk version 3.0 or later.
68898         * configure: Regenerated.
68900 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68902         * sysdeps/unix/sysv/linux/kernel-features.h
68903         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68904         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68905         [__NR_clock_getres]: Make code unconditional.
68906         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68907         (clock_getcpuclockid): Remove code left unreachable by removal of
68908         conditionals.
68909         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68910         code unconditional.
68911         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68912         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68913         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68914         Make code unconditional.
68915         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68916         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68917         * sysdeps/unix/sysv/linux/clock_settime.c
68918         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68919         conditional code.
68920         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68921         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68923 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68925         [BZ #14476]
68926         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68927         scripts/test-installation.pl.
68929         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68930         and $ld_so_version if it is set.
68932 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68934         [BZ #14516]
68935         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68936         failure if reading from procfs failed.
68937         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68939 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68941         * sysdeps/unix/sysv/linux/kernel-features.h
68942         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68943         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68944         Remove conditional code.
68945         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68946         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68947         Remove conditional code.
68948         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68949         * sysdeps/unix/sysv/linux/i386/fxstat.c
68950         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68951         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68952         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68953         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68954         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68955         * sysdeps/unix/sysv/linux/i386/lxstat.c
68956         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68957         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68958         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68959         Remove conditional code.
68960         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68961         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68962         Remove conditional code.
68963         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68964         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68965         <kernel-features.h>.
68966         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68967         Remove.
68968         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68969         Remove conditional code.
68970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68971         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68972         Remove conditional.
68974 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68976         [BZ #5400]
68977         * NEWS: Add fixed bug number.
68979 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68981         [BZ #14519]
68982         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68983         underflowing exponent in case of negative sign.
68984         * stdlib/tst-strtod-round-data: Add more tests.
68985         * stdlib/tst-strtod-round.c (tests): Regenerated.
68987         [BZ #3479]
68988         * stdlib/strtod_l.c (NDIG): Remove.
68989         (HEXNDIG): Likewise.
68990         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68991         smallest representable value.
68992         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68993         lie within an exact representation of 1/2 ulp of the result.
68994         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68995         unconditionally.
68996         (TENS_P9_IDX): Define unconditionally.
68997         (TENS_P9_SIZE): Likewise.
68998         (TENS_P10_IDX): Likewise.
68999         (TENS_P10_SIZE): Likewise.
69000         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69001         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69002         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69003         entries for 10^2^13 and 10^2^14.
69004         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69005         (TENS_P13_IDX): Define.
69006         (TENS_P13_SIZE): Likewise.
69007         (TENS_P14_IDX): Likewise.
69008         (TENS_P14_SIZE): Likewise.
69009         (_fpioconst_pow10): Change array size to
69010         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69011         unconditional.
69012         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69013         1024]: Add entries for 10^2^13 and 10^2^14.
69014         [LAST_POW10 > _LAST_POW10]: Remove #error.
69015         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69016         (_fpioconst_pow10): Change array size to
69017         FPIOCONST_POW10_ARRAY_SIZE.
69018         * stdlib/gen-fpioconst.c: New file.
69019         * stdlib/gen-tst-strtod-round.c: Likewise.
69020         * stdlib/tst-strtod-round-data: Likewise.
69021         * stdlib/tst-strtod-round.c: Likewise.
69022         * stdlib/Makefile (tests): Add tst-strtod-round.
69024         [BZ #14459]
69025         * stdlib/strtod_l.c: Include <stdint.h>.
69026         (NDEBUG): Do not define.
69027         (round_and_return): Change EXPONENT parameter to type intmax_t.
69028         Rearrange calculations to avoid internal overflow possibilities.
69029         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69030         Rearrange calculations to avoid internal overflow possibilities.
69031         Assert that number fits inside MPNSIZE limbs.
69032         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69033         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69034         calculations and add assertions to avoid internal overflow
69035         possibilities.  Add casts to avoid signed/unsigned operations.
69036         * stdlib/tst-strtod-overflow.c: New file.
69037         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69039 2012-08-25  Marek Polacek  <polacek@redhat.com>
69041         * time/time.h: Fix some typos in comments.
69043 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69045         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69046         * posix/tst-rfc3484-2.c: Likewise.
69047         * posix/tst-rfc3484-3.c: Likewise.
69049 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69051         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69052         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69054 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69056         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69057         #include of fxstatat64.c.
69059 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69061         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69062         * shadow/getspent_r.c: Likewise.
69063         * shadow/getspnam.c: Likewise.
69064         * shadow/getspnam_r.c: Likewise.
69065         * gshadow/getsgent.c: Likewise.
69066         * gshadow/getsgent_r.c: Likewise.
69067         * gshadow/getsgnam.c: Likewise.
69068         * gshadow/getsgnam_r.c: Likewise.
69069         * inet/getnetbyad.c: Likewise.
69070         * inet/getnetbyad_r.c: Likewise.
69071         * inet/getnetbynm.c: Likewise.
69072         * inet/getnetbynm_r.c: Likewise.
69073         * inet/getnetent.c: Likewise.
69074         * inet/getnetent_r.c: Likewise.
69075         * inet/getproto.c: Likewise.
69076         * inet/getproto_r.c: Likewise.
69077         * inet/getprtent.c: Likewise.
69078         * inet/getprtent_r.c: Likewise.
69079         * inet/getprtname.c: Likewise.
69080         * inet/getprtname_r.c: Likewise.
69081         * inet/getrpcbyname.c: Likewise.
69082         * inet/getrpcbyname_r.c: Likewise.
69083         * inet/getrpcbynumber.c: Likewise.
69084         * inet/getrpcbynumber_r.c: Likewise.
69085         * inet/getrpcent.c: Likewise.
69086         * inet/getrpcent_r.c: Likewise.
69087         * inet/getaliasent.c: Likewise.
69088         * inet/getaliasent_r.c: Likewise.
69089         * inet/getaliasname.c: Likewise.
69090         * inet/getaliasname_r.c: Likewise.
69091         * nscd/getgrgid_r.c: Likewise.
69092         * nscd/getgrnam_r.c: Likewise.
69093         * nscd/gethstbyad_r.c: Likewise.
69094         * nscd/gethstbynm3_r.c: Likewise.
69095         * nscd/getpwnam_r.c: Likewise.
69096         * nscd/getpwuid_r.c: Likewise.
69097         * nscd/getsrvbynm_r.c: Likewise.
69098         * nscd/getsrvbypt_r.c: Likewise.
69099         * nscd/gai.c: Likewise.
69101         * configure.in (build_nscd): New substituted variable, set
69102         by --disable-build-nscd and defaults to $use_nscd.
69103         * configure: Regenerated.
69104         * config.make.in (build-nscd): New substituted variable.
69105         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69106         Change conditional to require [$(build-nscd) = yes] as well.
69107         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69109         [BZ# 13696]
69110         * configure.in (use_nscd): New substituted variable, set by
69111         --disable-nscd.  If enabled, define USE_NSCD.
69112         * configure: Regenerated.
69113         * config.h.in: Add USE_NSCD.
69114         * config.make.in (use-nscd): New substituted variable.
69115         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69116         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69117         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69118         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69119         (CFLAGS-getgrnam_r.c): Likewise.
69120         (CFLAGS-initgroups.c): Likewise.
69121         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69122         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69123         Variables removed.
69124         * inet/getnetgrent_r.c
69125         (nscd_setnetgrent): New function, broken out of ...
69126         (setnetgrent): ... here.  Call it.
69127         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69128         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69129         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69130         * nscd/Makefile (routines, aux): Move definitions after include of
69131         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69132         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69133         Conditionalize on [USE_NSCD].
69134         (is_nscd, nscd_init_cb): Likewise.
69135         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69136         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69137         * nss/nss_db/db-init.c: Likewise.
69138         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69139         [USE_NSCD].
69140         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69141         (make_request): Use it.
69142         (cache_valid_p): New function.
69143         (__check_pf): Use it.
69144         * NEWS: Add item for --disable-nscd.
69146 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69148         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69149         to support sed >= 4.2.1-20-ga9bf076.
69150         * configure: Regenerated.
69152 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69154         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69155         Conditionalize whole body on [IREL].
69157 2012-08-22  Jeff Law <law@redhat.com>
69159         [BZ #14505]
69160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69161         if the family is PF_UNSPEC.
69163 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69165         * Makerules (lib-version): Rename from V.
69166         (install-lib-nosubdir): Change V to lib-version.
69168 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69170         [BZ #14252]
69171         * powerpc32/power6/wcschr.c: New file.
69172         * powerpc32/power6/wcscpy.c: New file.
69173         * powerpc32/power6/wcsrchr.c: New file.
69174         * powerpc64/power6/wcschr.c: New file.
69175         * powerpc64/power6/wcscpy.c: New file.
69176         * powerpc64/power6/wcsrchr.c: New file.
69178 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69180         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69181         (two_way_short_needle): Use it.
69182         * string/strstr.c (AVAILABLE1_USES_J): Define.
69183         * string/strcasestr.c: Likewise.
69185         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69186         array references.
69187         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69189         [BZ #11607]
69190         * NEWS: Add an entry.
69191         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69192         define their defaults.
69193         (two_way_short_needle): Detect end-of-string on-the-fly.
69194         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69195         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69196         * string/bug-strcasestr1.c: New test.
69197         * string/Makefile: Run it.
69199 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69201         [BZ #11607]
69202         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69203         the first character.
69205 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69207         * csu/elf-init.c (__libc_csu_irel): Function removed.
69208         * csu/libc-start.c (apply_irel): New function.
69209         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69211 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69213         * sysdeps/unix/sysv/linux/kernel-features.h
69214         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69215         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69216         <kernel-features.h>.
69217         [__NR_fadvise64_64]: Make code unconditional.
69218         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69219         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69220         !__NR_fadvise64_64)]: Likewise.
69221         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69222         !__NR_fadvise64_64))]: Likewise.
69223         [__NR_fadvise64]: Make code unconditional.
69224         [!__NR_fadvise64]: Remove conditional code.
69225         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69226         <kernel-features.h>.
69227         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69228         unconditional.
69229         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69230         conditional code.
69231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69232         not include <kernel-features.h>.
69233         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69234         unconditional.
69235         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69236         conditional code.
69237         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69238         include <kernel-features.h>.
69239         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69240         unconditional.
69241         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69242         conditional code.
69244 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69246         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69247         slight instruction rearrangements per scrollpipe analysis.
69248         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69250 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69252         * manual/syslog.texi (syslog; vsyslog, closelog):
69253         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69254         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69256         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69257         DSOCAPS to match condition on defining it.
69259 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69261         * sysdeps/unix/sysv/linux/kernel-features.h
69262         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69264         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69265         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69267         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69268         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69270         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69271         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69273         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69274         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69276         * sysdeps/unix/sysv/linux/kernel-features.h
69277         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69278         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69279         unconditional.
69280         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69281         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69282         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69283         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69284         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69285         Make code unconditional.
69286         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69287         (__mmap64) [!__NR_mmap2]: Likewise.
69288         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69289         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69290         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69291         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69292         [__NR_mmap2]: Make code unconditional.
69293         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69294         (__mmap64) [!__NR_mmap2]: Likewise.
69296 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69298         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69300 2012-08-18  Andreas Jaeger  <aj@suse.de>
69302         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69304 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69306         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69307         * include/unistd.h (__have_sock_cloexec): Likewise.
69308         (__have_pipe2): Likewise.
69309         (__have_dup3): Likewise.
69311 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69313         [BZ #9685]
69314         * include/unistd.h (__have_pipe2): Change define into an extern int.
69315         (__have_dup3): Likewise.
69316         * socket/have_sock_cloexec.c: Include fcntl.h.
69317         (__have_pipe2): New variable.
69318         (__have_dup3): Likewise.
69320 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69322         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69324 2012-08-17  Marek Polacek  <polacek@redhat.com>
69326         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69327         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69329 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69331         * configure.in: Add AC_SUBST for sysheaders.
69332         * configure: Regenerated.
69333         * config.make.in (sysheaders): New substituted variable.
69335         * sysdeps/unix/mkfifo.c: Moved ...
69336         * sysdeps/posix/mkfifo.c: ... here.
69337         * sysdeps/unix/mkfifoat.c: Moved ...
69338         * sysdeps/posix/mkfifoat.c: ... here.
69340         * sysdeps/unix/utime.c: Moved ...
69341         * sysdeps/posix/utime.c: ... here.
69343         * sysdeps/unix/time.c: Moved ...
69344         * sysdeps/posix/time.c: ... here.
69345         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69346         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69348         * sysdeps/unix/nice.c: Moved ...
69349         * sysdeps/posix/nice.c: ... here.
69351         * sysdeps/unix/alarm.c: Moved ...
69352         * sysdeps/posix/alarm.c: ... here.
69354         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69356 2012-08-17  Jeff Law <law@redhat.com>
69358         * intl/Makefile (codeset_mo): New variable.
69359         ($(codeset_mo)): New target.
69360         (tst-codeset.out): Depend on that.  Remove explicit rule.
69361         (tst-gettext3.out, tst-gettext5.out): Likewise.
69362         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69363         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69364         * intl/tst-codeset.sh: Remove.
69365         * intl/tst-gettext3.sh: Likewise.
69366         * intl/tst-gettext5.sh: Likewise.
69368 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69370         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69371         * sysdeps/unix/syscalls.list: ... here.
69373         * sysdeps/posix/getaddrinfo.c
69374         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69375         (gaiconf_init, gaiconf_reload): Use them.
69376         [!_STATBUF_ST_NSEC]
69377         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69378         Define using time_t rather than struct timespec.
69380         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69381         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69382         Macros removed.
69383         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69384         [!NO_THREADS].
69385         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69386         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69387         Likewise.
69389         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69390         __libc_cleanup_push argument.
69392         * bits/param.h: New file.
69393         * misc/sys/param.h: New file.
69394         * include/sys/param.h: New file.
69395         * misc/Makefile (headers): Add bits/param.h.
69396         * sysdeps/generic/sys/param.h: File removed.
69397         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69398         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69399         * sysdeps/mach/hurd/bits/param.h: New file.
69400         * sysdeps/mach/hurd/sys/param.h: File removed.
69402         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69403         last change.
69405         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69406         [_IO_MTSAFE_IO].
69407         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69408         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69409         New macros.
69411         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69412         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69413         rather than -D_IO_MTSAFE_IO conditionally.
69414         * stdio-common/Makefile (CPPFLAGS): Likewise.
69415         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69416         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69417         Use $(libio-mtsafe).
69418         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69419         of -D_IO_MTSAFE_IO.
69420         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69421         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69422         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69423         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69424         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69425         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69426         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69427         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69428         (CFLAGS-fread_u_chk.c): Likewise.
69429         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69430         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69431         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69432         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69433         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69434         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69435         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69436         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69437         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69439         * libio/Makefile: Test [$(libc-reentrant) = yes]
69440         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69442         * Makeconfig
69443         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69444         * sysdeps/pthread/configure: File removed.
69445         * sysdeps/pthread/Makeconfig: New file.
69446         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69447         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69449 2012-08-16  Gary Benson  <gbenson@redhat.com>
69451         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69452         unmapping the first object in a namespace.
69454 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69456         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69457         (__internal_setnetgrent): ... this.  Add internal_function to
69458         definition.  Add libc_hidden_def.
69459         (setnetgrent): Update caller.
69460         (internal_endnetgrent): Renamed to ...
69461         (__internal_endnetgrent): ... this.  Add internal_function to
69462         definition.  Add libc_hidden_def.
69463         (endnetgrent): Update caller.
69464         (internal_getnetgrent_r): Renamed to ...
69465         (__internal_getnetgrent_r): ... this.  Add internal_function to
69466         definition.  Add libc_hidden_def.
69467         (__getnetgrent_r): Update caller.
69468         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69470 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69472         * stdlib/longlong.h: Update from GCC.
69474 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69476         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69477         on _QL, which is set by umul_ppmm but never used.
69478         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69479         variables, which are set by GMP macros but never used.
69480         * stdio-common/_itowa.c (_itowa): Likewise.
69481         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69482         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69484 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69486         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69487         struct La_sh_regs is not constant.
69488         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69489         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69490         and struct La_sparc64_regs are not constant.
69492 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69494         * sysdeps/unix/sysv/linux/kernel-features.h
69495         (__ASSUME_POSIX_TIMERS): Remove.
69496         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69497         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69498         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69499         Make code unconditional.
69500         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69501         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69502         Make code unconditional.
69503         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69504         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69505         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69506         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69507         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69508         Make code unconditional.
69509         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69510         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69511         (__libc_missing_posix_timers): Remove.
69513 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69515         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69516         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69518         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69520         * elf/dl-sym.c: Include <stdlib.h>.
69522         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69523         constants, which avoids warnings in 32-bit builds.
69525         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69526         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69528         * misc/lseek.c: File moved to ...
69529         * io/lseek.c: ... here.
69531         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69533         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69534         shifting LEN more than 31 bits at once.
69536 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69538         [BZ #14195]
69539         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69540         segmentation fault for a case of two empty input strings.
69541         * string/test-strncasecmp.c (check1): Renamed to...
69542         (bz12205): ...this.
69543         (bz14195): Add new testcase for two empty input strings and N > 0.
69544         (test_main): Call new testcase, adapt for renamed function.
69546 2012-08-15  Andreas Jaeger  <aj@suse.de>
69548         [BZ #14090]
69549         * crypt/md5test2.c: New test, based on test supplied by Serge
69550         Belyshev <belyshev@depni.sinp.msu.ru>.
69551         * crypt/Makefile (xtests): Add md5test-giant..
69552         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69554 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69556         [BZ #14090]
69557         * crypt/md5.c (md5_process_block): Don't assume the buffer
69558         length is less than 2**32.
69559         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69560         length is less than 2**64.
69562 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69564         * string/str-two-way.h: Include <sys/param.h>.
69565         (MAX): Macro removed.
69567         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69568         Move #define and #undef of memmove to just before and after
69569         including <string.h>.
69571         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69572         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69573         and after including <string.h>.  Move declarations of
69574         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69575         to before #include "string/memmove.c".
69577         * include/dirent.h: Declare __getdirentries.
69579         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69580         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69582 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69584         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69585         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69586         * sysdeps/i386/configure: Regenerated.
69587         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69588         STABS_CURRENT_FILE, and STABS_FUN.
69589         (END): Remove call to STABS_FUN_END.
69590         (STABS_CURRENT_FILE1): Delete.
69591         (STABS_CURRENT_FILE): Likewise.
69592         (STABS_FUN): Likewise.
69593         (STABS_FUN_END): Likewise.
69594         (STABS_FUN2): Likewise.
69595         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69596         * sysdeps/x86_64/configure: Regenerated.
69598 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69600         * elf/dl-open.c: Include <atomic.h>.
69601         * elf/dl-lookup.c: Likewise.
69603 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69605         * sysdeps/unix/sysv/linux/kernel-features.h
69606         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69607         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69608         unconditionally.
69609         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69610         unconditionally.
69611         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69612         condition on __ASSUME_CLONE_THREAD_FLAGS.
69614 2012-08-14  Andreas Jaeger  <aj@suse.de>
69616         * sysdeps/i386/fpu/libm-test-ulps: Update.
69618 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69620         * include/atomic.h (atomic_exchange_and_add): Split into ...
69621         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69622         New atomic macros.
69624 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69628 2012-08-13  Jeff Law <law@redhat.com>
69630         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69631         null byte in the output string.
69633 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69635         * sysdeps/unix/sysv/linux/kernel-features.h
69636         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69637         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69638         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69639         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69640         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69641         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69642         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69644 2012-08-09  Jeff Law <law@redhat.com>
69646         [BZ #13939]
69647         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69648         When avoid_arena is set, don't retry in the that arena.  Pick the
69649         next one, whatever it might be.
69650         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69651         (arena_lock): Pass in new parameter to arena_get2.
69652         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69653         arena_get2.
69654         (__libc_malloc): Unify retrying after main arena failure with
69655         __libc_memalign version.
69656         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69658 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69660         [BZ #14166]
69661         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69662         to __redirect_strstr.
69663         (__strstr_sse42): Use typeof __redirect_strstr.
69664         (__strstr_ia32): Likewise.
69665         (__libc_strstr): New prototype.
69666         (strstr): Renamed to ...
69667         (__libc_strstr): This.
69668         (strstr): New strong alias of __libc_strstr.
69669         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69670         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69671         __redirect_time.
69672         Include <time.h>.
69673         (__libc_time): New prototype.
69674         (time_ifunc): Replace time with __libc_time.
69675         (time): New strong alias and hidden definition of __libc_time.
69676         (__GI_time): Remove strong alias.
69677         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69678         Include <stddef.h>.
69679         (memmove): Redefined to __redirect_memmove.
69680         (__memmove_sse2): Use typeof __redirect_memmove.
69681         (__memmove_ssse3): Likewise.
69682         (__memmove_ssse3_back): Likewise.
69683         (__libc_memmove): New prototype.
69684         (memmove): Renamed to ...
69685         (__libc_memmove): This.
69686         (memmove): New strong alias of __libc_memmove.
69688 2012-08-08  Mark Salter  <msalter@redhat.com>
69690         * elf/elf.h
69691         (R_MN10300_TLS_GD): Define.
69692         (R_MN10300_TLS_LD): Likewise.
69693         (R_MN10300_TLS_LDO): Likewise.
69694         (R_MN10300_TLS_GOTIE): Likewise.
69695         (R_MN10300_TLS_IE): Likewise.
69696         (R_MN10300_TLS_LE): Likewise.
69697         (R_MN10300_TLS_DTPMOD): Likewise.
69698         (R_MN10300_TLS_DTPOFF): Likewise.
69699         (R_MN10300_TLS_TPOFF): Likewise.
69700         (R_MN10300_SYM_DIFF): Likewise.
69701         (R_MN10300_ALIGN): Likewise.
69702         (R_MN10300_NUM): Update.
69704 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69706         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69707         Remove.
69709 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69711         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69713         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69714         sysdeps/unix -> sysdeps/posix move.
69715         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69717 2012-08-07      Allan McRae     <allan@archlinux.org>
69719         [BZ #14303]
69720         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69721         (SUNOS_CPP): Likewise.
69722         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69723         not found.
69724         (open_input): Call CPP using execvp.
69726 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69728         * sysdeps/unix/sysv/linux/kernel-features.h
69729         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69730         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69731         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69732         (__ASSUME_WAITID_SYSCALL): Likewise.
69733         * sysdeps/unix/sysv/linux/dl-execstack.c
69734         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69735         code unconditional.
69736         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69737         conditional code.
69738         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69739         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69740         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69741         code.
69742         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69743         unconditional.
69744         [__ASSUME_WAITID_SYSCALL]: Likewise.
69745         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69747 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69749         * sysdeps/unix/closedir.c: Renamed to ...
69750         * sysdeps/posix/closedir.c: ... here.
69751         * sysdeps/unix/dirfd.c: Renamed to ...
69752         * sysdeps/posix/dirfd.c: ... here.
69753         * sysdeps/unix/dirstream.h: Renamed to ...
69754         * sysdeps/posix/dirstream.h: ... here.
69755         * sysdeps/unix/fdopendir.c: Renamed to ...
69756         * sysdeps/posix/fdopendir.c: ... here.
69757         * sysdeps/unix/opendir.c: Renamed to ...
69758         * sysdeps/posix/opendir.c: ... here.
69759         * sysdeps/unix/readdir.c: Renamed to ...
69760         * sysdeps/posix/readdir.c: ... here.
69761         * sysdeps/unix/readdir_r.c: Renamed to ...
69762         * sysdeps/posix/readdir_r.c: ... here.
69763         * sysdeps/unix/rewinddir.c: Renamed to ...
69764         * sysdeps/posix/rewinddir.c: ... here.
69765         * sysdeps/unix/seekdir.c: Renamed to ...
69766         * sysdeps/posix/seekdir.c: ... here.
69767         * sysdeps/unix/telldir.c: Renamed to ...
69768         * sysdeps/posix/telldir.c: ... here.
69769         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69770         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69771         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69772         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69774         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69775         * bits/fcntl.h: ... here.
69777         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69778         not 0.
69779         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69780         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69781         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69782         (struct flock): Move l_start, l_len to the beginning.
69783         Use __pid_t for l_pid.
69784         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69785         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69786         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69787         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69788         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69789         [__USE_LARGEFILE64] (struct flock64): New type.
69790         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69792         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69793         * bits/dirent.h: ... here.
69795         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69796         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69798 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69800         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69801         Change from 2.6.0 to 2.6.16.
69802         * sysdeps/unix/sysv/linux/configure: Regenerated.
69803         * sysdeps/unix/sysv/linux/kernel-features.h
69804         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69805         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69806         version.
69807         (__ASSUME_UTIMES): Likewise.
69808         (__ASSUME_CLONE_STOPPED): Remove.
69809         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69810         architectures, not kernel version.
69811         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69812         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69813         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69814         (__ASSUME_WAITID_SYSCALL): Likewise.
69815         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69816         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69817         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69818         refer to older versions.
69820 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69822         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69823         Define alphasort64 as an alias.
69824         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69825         Define versionsort64 as an alias.
69826         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69827         Define scandir64 as an alias.
69828         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69829         Define scandirat64 as an alias.
69830         * dirent/alphasort64.c (alphasort64):
69831         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69832         * dirent/versionsort64.c: Likewise.
69833         * dirent/scandir64.c: Likewise.
69834         * dirent/scandirat64.c: Likewise.
69835         * sysdeps/wordsize-64/alphasort.c: File removed.
69836         * sysdeps/wordsize-64/alphasort64.c: File removed.
69837         * sysdeps/wordsize-64/scandir.c: File removed.
69838         * sysdeps/wordsize-64/scandir64.c: File removed.
69839         * sysdeps/wordsize-64/scandirat.c: File removed.
69840         * sysdeps/wordsize-64/scandirat64.c: File removed.
69841         * sysdeps/wordsize-64/versionsort.c: File removed.
69842         * sysdeps/wordsize-64/versionsort64.c: File removed.
69843         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69844         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69845         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69846         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69847         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69848         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69849         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69850         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69852         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69853         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69854         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69855         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69856         [defined __arch64__ || defined __sparcv9]
69857         (__INO_T_MATCHES_INO64_T): New macro.
69858         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69859         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69860         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69861         * sysdeps/unix/sysv/linux/bits/dirent.h
69862         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69863         (_DIRENT_MATCHES_DIRENT64): New macro.
69865         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69866         Define lockf64 as an alias.
69867         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69868         Define fseeko64 as an alias.
69869         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69870         Define ftello64 as an alias.
69871         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69872         Define _IO_fgetpos64 and fgetpos64 as aliases.
69873         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69874         Define _IO_fsetpos64 and fsetpos64 as aliases.
69875         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69876         Conditionalize body on this.
69877         * libio/fseeko64.c: Likewise.
69878         * libio/ftello64.c: Likewise.
69879         * libio/iofgetpos64.c: Likewise.
69880         * libio/iofsetpos64.c: Likewise.
69881         * sysdeps/wordsize-64/lockf.c: File removed.
69882         * sysdeps/wordsize-64/lockf64.c: File removed.
69883         * sysdeps/wordsize-64/fseeko.c: File removed.
69884         * sysdeps/wordsize-64/fseeko64.c: File removed.
69885         * sysdeps/wordsize-64/ftello.c: File removed.
69886         * sysdeps/wordsize-64/ftello64.c: File removed.
69887         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69888         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69889         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69890         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69891         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69892         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69893         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69894         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69895         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69896         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69897         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69898         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69899         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69900         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69902         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69903         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69904         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69905         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69906         [defined __arch64__ || defined __sparcv9]
69907         (__OFF_T_MATCHES_OFF64_T): New macro.
69908         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69909         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69910         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69911         (__OFF_T_MATCHES_OFF64_T): New macro.
69913 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69915         * stdlib/secure-getenv.c (__secure_getenv): Replace
69916         GLIBC_2_16 with GLIBC_2_17.
69918 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69920         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69921         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69923 2012-08-03  David S. Miller  <davem@davemloft.net>
69925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69927 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69929         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69930         Remove.
69931         (__ASSUME_CORRECT_SI_PID): Likewise.
69932         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69933         (__ASSUME_TMPFS_NAME): Likewise.
69934         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69935         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69936         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69937         (HAVE_AUX_SECURE): Make definition unconditional.
69938         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69939         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69941 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69943         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69944         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69945         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69946         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69947         __eloop_threshold instead of SYMLOOP_MAX.
69949         * sysdeps/generic/eloop-threshold.h: New file.
69950         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69951         of MAXSYMLINKS.
69952         * elf/chroot_canon.c (chroot_canon): Likewise.
69954 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69956         [BZ #13717]
69957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69958         Change to 2.6.0 everywhere.
69959         * sysdeps/unix/sysv/linux/configure: Regenerated.
69960         * sysdeps/unix/sysv/linux/kernel-features.h
69961         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69962         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69963         kernel versions.
69964         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69965         (__ASSUME_FUTEX_REQUEUE): Remove.
69966         (__ASSUME_STATFS64): Define unconditionally.
69967         (__ASSUME_AT_SECURE): Likewise.
69968         (__ASSUME_CORRECT_SI_PID): Likewise.
69969         (__ASSUME_TGKILL): Define without depending on kernel version for
69970         i386.
69971         (__ASSUME_UTIMES): Likewise.
69972         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69973         kernel version.
69974         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69975         (__ASSUME_TMPFS_NAME): Likewise.
69976         * README: Update reference to Linux kernel versions.
69978 2012-08-02  Marek Polacek  <polacek@redhat.com>
69980         [BZ# 14150]
69981         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69982         libc_cv_asm_type_prefix with %.
69983         * configure: Regenerated.
69984         * include/libc-symbols.h: Remove comment about
69985         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69986         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69987         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69988         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69989         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69990         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69991         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69992         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69993         * elf/tst-unique2mod1.c: Likewise.
69994         * elf/tst-unique1mod2.c: Likewise.
69995         * elf/tst-unique1mod1.c: Likewise.
69996         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69997         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69998         Replace ASM_TYPE_DIRECTIVE with .type.
69999         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70000         * sysdeps/i386/sysdep.h: Likewise.
70001         * sysdeps/x86_64/sysdep.h: Likewise.
70002         * sysdeps/sh/sysdep.h: Likewise.
70003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70004         Do not define ASM_TYPE_DIRECTIVE.
70005         * sysdeps/powerpc/sysdep.h: Likewise.
70006         * sysdeps/powerpc/powerpc32/sysdep.h:
70007         Replace ASM_TYPE_DIRECTIVE with .type.
70008         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70009         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70010         * sysdeps/i386/fpu/e_powf.S: Likewise.
70011         * sysdeps/i386/fpu/e_expl.S: Likewise.
70012         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70013         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70014         * sysdeps/i386/fpu/e_pow.S: Likewise.
70015         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70016         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70017         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70018         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70019         * sysdeps/i386/fpu/e_log2.S: Likewise.
70020         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70021         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70022         * sysdeps/i386/fpu/e_powl.S: Likewise.
70023         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70024         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70025         * sysdeps/i386/fpu/e_logl.S: Likewise.
70026         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70027         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70028         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70029         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70030         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70031         * sysdeps/i386/fpu/e_log.S: Likewise.
70032         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70033         * sysdeps/i386/fpu/e_logf.S: Likewise.
70034         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70035         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70036         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70037         * sysdeps/i386/fpu/e_log10.S: Likewise.
70038         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70039         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70040         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70041         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70042         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70043         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70044         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70045         * sysdeps/i386/i686/strtok.S: Likewise.
70046         * sysdeps/i386/i386-mcount.S: Likewise.
70047         * sysdeps/i386/strtok.S: Likewise.
70048         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70049         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70050         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70051         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70052         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70053         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70054         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70055         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70056         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70057         * sysdeps/x86_64/_mcount.S: Likewise.
70058         * sysdeps/x86_64/strtok.S: Likewise.
70059         * sysdeps/sh/_mcount.S: Likewise.
70061 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70063         * libio/iofopen.c: Include <fcntl.h>.
70064         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70065         (_IO_fopen64, fopen64): Define as aliases.
70066         * libio/iofopen64.c: Include <fcntl.h>.
70067         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70068         Conditionalize body on this.
70069         * sysdeps/wordsize-64/iofopen.c: File removed.
70070         * sysdeps/wordsize-64/iofopen64.c: File removed.
70072 2012-08-01  Marek Polacek  <polacek@redhat.com>
70074         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70075         Use dlfcn directly instead of a variable.
70076         (binfmt-subdir): Do not define.
70077         (dlfcn): Likewise.
70079 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70081         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70082         Remove all definitions.
70083         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70084         <kernel-features.h>.
70085         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70086         (miss_F_GETOWN_EX): Remove all definitions.
70087         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70088         macro definition.
70089         [!__ASSUME_FCNTL64]: Remove conditional code.
70090         [__ASSUME_FCNTL64]: Make code unconditional.
70091         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70092         <kernel-features.h>.
70093         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70094         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70095         (lockf64) [__NR_fcntl64]: Make code unconditional.
70096         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70098         * sysdeps/unix/sysv/linux/kernel-features.h
70099         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70100         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70101         Make code unconditional.
70102         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70103         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70105         [__NR_vfork]: Make code unconditional.
70106         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70107         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70109         [__NR_vfork]: Make code unconditional.
70110         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70111         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70113 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70115         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70116         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70118         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70119         Define mkstemp64 as an alias.
70120         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70121         Define mkstemps64 as an alias.
70122         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70123         Define mkostemp64 as an alias.
70124         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70125         Define mkostemps64 as an alias.
70126         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70127         Conditionalize body on this.
70128         * misc/mkostemp64.c: Likewise.
70129         * misc/mkostemps64.c: Likewise.
70130         * misc/mkstemps64.c: Likewise.
70131         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70132         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70133         * sysdeps/wordsize-64/mkostemp.c: File removed.
70134         * sysdeps/wordsize-64/mkstemp.c: File removed.
70135         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70136         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70137         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70138         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70140         [BZ #14138]
70141         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70142         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70143         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70144         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70146         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70147         compat_symbol macros from <shlib-compat.h> rather than the underlying
70148         default_symbol_version and symbol_version macros, so that DEFAULT
70149         lines in shlib-versions are respected.
70150         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70152 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70154         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70155         Declare with warn_unused_result.
70156         (setgid, setregid, setegid, setresgid): Likewise.
70157         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70158         Likewise.
70159         * WUR-REPORT: Remove set*id functions.
70161 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70163         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70165 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70167         [BZ #10191]
70168         * include/sys/socket.h (__libc_accept, __libc_accept4):
70169         Add attribute_hidden.
70170         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70172         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70173         use of PTR_MANGLE.
70174         * inet/getnetgrent_r.c (setup): Likewise.
70176         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70178 2012-07-31  David S. Miller  <davem@davemloft.net>
70180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70182 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70184         [BZ #13629]
70185         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70186         value between 1.0 and 2.0 and smaller part has absolute value less
70187         than 1.0.
70188         * math/s_clog10.c (__clog10): Likewise.
70189         * math/s_clog10f.c (__clog10f): Likewise.
70190         * math/s_clog10l.c (__clog10l): Likewise.
70191         * math/s_clogf.c (__clogf): Likewise.
70192         * math/s_clogl.c (__clogl): Likewise.
70193         * math/libm-test.inc (clog_test): Add more tests.
70194         (clog10_test): Likewise.
70195         * sysdeps/i386/fpu/libm-test-ulps: Update.
70196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70198 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70200         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70201         Exit with zero in case no suitable GID is found, and write a
70202         message to standard error.
70204 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70206         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70207         rather than to 1.
70208         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70209         (MAXPATHLEN): Removed.
70210         (NOGROUP, NODEV): New macros.
70211         (setbit, clrbit, isset, isclr): New macros.
70212         (howmany, roundup, powerof2): New macros.
70213         (DEV_BSIZE): New macro.
70215         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70216         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70218         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70219         definition on [!__NO_LONG_DOUBLE_MATH].
70221         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70222         PTR_MANGLE and PTR_DEMANGLE.
70224         * socket/accept4.c (accept4): Rename to __libc_accept4.
70225         Define accept4 as a weak alias.
70227         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70228         on [_DIRENT_HAVE_D_TYPE].
70229         * io/ftw.c (ftw_dir): Likewise.
70231         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70233         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70235         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70236         Use the BSD numbers rather than the arbitrary ones we had.
70237         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70238         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70239         (SIGXCPU, SIGXFSZ): New macros.
70240         (_NSIG): Now 32.
70242         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70243         initializer on [_LIBC_REENTRANT].
70245         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70246         definitions inside [_POSIX_MAPPED_FILES].
70248         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70250         * dirent/opendir.c: Include <fcntl.h>.
70252         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70253         (__libc_getspecific): Likewise.
70254         (__libc_key_create): Likewise.
70256         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70257         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70258         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70259         (tmpfile64): Define as alias.
70260         * sysdeps/wordsize-64/tmpfile.c: File removed.
70261         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70262         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70263         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70265         * stdio-common/vfscanf.c: Include <stdbool.h>.
70266         * nss/makedb.c: Likewise.
70267         * stdio-common/_i18n_number.h: Likewise.
70268         * argp/argp-help.c: Likewise.
70269         * posix/wordexp.c: Likewise.
70270         * sysdeps/posix/spawni.c: Likewise.
70271         * nss/nss_files/files-initgroups.c: Likewise.
70272         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70273         * nss/nss_files/files-initgroups.c: Likewise.
70274         * nss/nss_db/db-netgrp.c: Likewise.
70275         * nss/nss_db/db-initgroups.c: Likewise.
70276         * io/fchmodat.c: Include <sys/stat.h>.
70278         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70279         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70281         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70282         [HAVE_MMAP].
70284         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70285         Add multiple inclusion protection.
70287 2012-07-27  David S. Miller  <davem@davemloft.net>
70289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70291 2012-07-27  Gary Benson  <gbenson@redhat.com>
70293         [BZ #14298]
70294         * elf/rtld.c: Include <stap-probe.h>.
70295         (dl_main): Added static probes "init_start" and "init_complete".
70296         * elf/dl-load.c: Include <stap-probe.h>.
70297         (lose): Take new parameter "nsid".
70298         Added static probe "map_failed".
70299         (_dl_map_object_from_fd): Pass namespace id to lose.
70300         Added static probe "map_start".
70301         (open_verify): Pass namespace id to lose.
70302         * elf/dl-open.c: Include <stap-probe.h>.
70303         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70304         and "reloc_complete".
70305         * elf/dl-close.c: Include <stap-probe.h>.
70306         (_dl_close_worker): Added static probes "unmap_start" and
70307         "unmap_complete".
70308         * elf/rtld-debugger-interface.txt: New file documenting the above.
70310 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70312         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70313         rather than a string variable.
70314         * sunrpc/rpc_main.c (h_output): Likewise.
70315         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70317 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70319         * inet/check_native.c: New file.
70321 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70323         [BZ #13629]
70324         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70325         if larger part has absolute value 1.0.
70326         * math/s_clog10.c (__clog10): Likewise.
70327         * math/s_clog10f.c (__clog10f): Likewise.
70328         * math/s_clog10l.c (__clog10l): Likewise.
70329         * math/s_clogf.c (__clogf): Likewise.
70330         * math/s_clogl.c (__clogl): Likewise.
70331         * math/libm-test.inc (clog_test): Add more tests.
70332         (clog10_test): Likewise.
70333         * sysdeps/i386/fpu/libm-test-ulps: Update.
70334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70336         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70337         (pltexit): Likewise.
70338         (La_regs): Likewise.
70339         (La_retval): Likewise.
70340         (int_retval): Likewise.
70341         Update #error for removed macros to refer only to definitions in
70342         tst-audit.h.
70343         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70344         macro.
70345         (pltexit): Likewise.
70346         (La_regs): Likewise.
70347         (La_retval): Likewise.
70348         (int_retval): Likewise.
70349         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70350         macro.
70351         (pltexit): Likewise.
70352         (La_regs): Likewise.
70353         (La_retval): Likewise.
70354         (int_retval): Likewise.
70355         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70356         macro.
70357         (pltexit): Likewise.
70358         (La_regs): Likewise.
70359         (La_retval): Likewise.
70360         (int_retval): Likewise.
70361         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70362         macro.
70363         (pltexit): Likewise.
70364         (La_regs): Likewise.
70365         (La_retval): Likewise.
70366         (int_retval): Likewise.
70367         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70368         macro.
70369         (pltexit): Likewise.
70370         (La_regs): Likewise.
70371         (La_retval): Likewise.
70372         (int_retval): Likewise.
70373         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70374         macro.
70375         (pltexit): Likewise.
70376         (La_regs): Likewise.
70377         (La_retval): Likewise.
70378         (int_retval): Likewise.
70379         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70380         macro definitions in tst-audit.h.
70381         * sysdeps/i386/tst-audit.h: New file.
70382         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70383         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70384         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70385         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70386         * sysdeps/sh/tst-audit.h: Likewise.
70387         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70388         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70389         * sysdeps/x86_64/tst-audit.h: Likewise.
70391 2012-07-26  Andreas Jaeger  <aj@suse.de>
70393         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70394         ptrace.
70396         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70397         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70398         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70399         PTRACE_O_MASK.
70400         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70401         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70402         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70404         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70405         value.
70407         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70408         _sigsys.
70409         (si_call_addr, si_syscall, si_arch): Define new macro.
70410         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70411         _sigsys.
70412         (si_call_addr, si_syscall, si_arch): Define new marcro.
70413         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70414         _sigsys.
70415         (si_call_addr, si_syscall, si_arch): Define new macro.
70416         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70417         _sigsys.
70418         (si_call_addr, si_syscall, si_arch): Define new macro.
70420 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70422         [BZ #13717]
70423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70424         Change to 2.4.21 where previously 2.4.1.
70425         * sysdeps/unix/sysv/linux/configure: Regenerated.
70426         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70427         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70428         Linux kernel version.
70429         (__ASSUME_STD_AUXV): Remove.
70430         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70431         kernel version.
70432         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70433         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70434         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70435         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70436         (__ASSUME_NETLINK_SUPPORT): Likewise.
70437         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70438         (__no_netlink_support): Remove conditional definition.
70439         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70440         Remove.
70441         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70442         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70443         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70444         (if_nameindex_ioctl): Remove.
70445         (if_nameindex_netlink): Do not handle __no_netlink_support.
70446         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70447         code.
70448         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70449         Remove conditional code.
70450         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70451         code.
70452         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70453         unconditional.
70454         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70455         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70456         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70457         Remove.
70458         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70459         [!__ASSUME_STD_AUXV]: Remove conditional code.
70460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70461         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70462         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70464         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70465         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70466         code.
70467         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70469         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70470         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70471         conditional code.
70472         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70474         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70475         code.
70476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70477         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70478         conditional code.
70479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70480         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70481         code unconditional.
70482         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70483         conditional code.
70484         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70485         unconditional.
70486         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70487         conditional code.
70488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70489         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70490         unconditional.
70491         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70492         conditional code.
70493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70494         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70495         code unconditional.
70496         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70497         conditional code.
70498         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70499         unconditional.
70500         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70501         conditional code.
70502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70503         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70504         code unconditional.
70505         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70506         conditional code.
70507         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70508         unconditional.
70509         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70510         conditional code.
70512 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70514         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70515         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70516         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70517         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70518         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70519         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70520         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70521         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70522         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70523         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70524         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70525         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70526         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70527         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70528         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70529         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70530         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70531         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70532         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70534         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70535         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70536         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70538 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70540         * Versions.def: Add GLIBC_2.17.
70541         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70542         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70543         Introduce __libc_secure_getenv.
70544         * stdlib/Versions (2.17): Add secure_getenv
70545         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70546         * stdlib/secure-getenv.c: Rename __secure_getenv to
70547         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70548         symbol __secure_getenv for GLIBC_2.0.
70549         * stdlib/tst-secure-getenv.c: New.
70550         * stdlib/Makefile (tests): Add testcase.
70551         * manual/startup.texi (Environment Access): Document
70552         secure_getenv.
70553         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70554         __libc_secure_getenv.
70555         * inet/ruserpass.c (ruserpass): Likewise.
70556         * malloc/mtrace.c (mtrace): Likewise.
70557         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70558         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70559         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70560         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70561         HAVE_SECURE_GETENV.
70562         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70563         __secure_getenv to __libc_secure_getenv.
70564         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70566         Likewise.
70567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70568         Likewise.
70569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70571         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70577 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70579         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70580         (struct La_i86_retval): Likewise.
70581         (struct La_x86_64_regs): Likewise.
70582         (struct La_x86_64_retval): Likewise.
70583         (struct La_x32_regs): Likewise.
70584         (struct La_x32_retval): Likewise.
70585         (struct La_ppc32_regs): Likewise.
70586         (struct La_ppc32_retval): Likewise.
70587         (struct La_ppc64_regs): Likewise.
70588         (struct La_ppc64_retval): Likewise.
70589         (struct La_sh_regs): Likewise.
70590         (struct La_sh_retval): Likewise.
70591         (struct La_s390_32_regs): Likewise.
70592         (struct La_s390_32_retval): Likewise.
70593         (struct La_s390_64_regs): Likewise.
70594         (struct La_s390_64_retval): Likewise.
70595         (struct La_sparc32_regs): Likewise.
70596         (struct La_sparc32_retval): Likewise.
70597         (struct La_sparc64_regs): Likewise.
70598         (struct La_sparc64_retval): Likewise.
70599         (struct audit_ifaces): Remove architecture-specific pltenter and
70600         pltexit members.
70601         * sysdeps/i386/ldsodefs.h: New file.
70602         * sysdeps/powerpc/ldsodefs.h: Likewise.
70603         * sysdeps/s390/ldsodefs.h: Likewise.
70604         * sysdeps/sh/ldsodefs.h: Likewise.
70605         * sysdeps/sparc/ldsodefs.h: Likewise.
70606         * sysdeps/x86_64/ldsodefs.h: Likewise.
70608 2012-07-25  Marek Polacek  <polacek@redhat.com>
70610         [BZ #6808]
70611         * math/libm-test.inc (yn_test): Add another test.
70612         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70613         to ERANGE when the result is +-Inf.
70614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70615         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70616         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70617         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70619 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70621         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70622         equal to 0.
70623         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70624         clock_t.
70625         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70627 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70629         * configure.in <sysdeps resolving>: Correct printing
70630         Implies_before.
70631         * configure: Regenerate.
70633 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70635         * math/w_ilogb.c: Include <limits.h>.
70636         * math/w_ilogbl.c: Likewise.
70638 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70640         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70641         va_copy.  Document allowing for unavailable va_copy only as
70642         pre-C99 compatibility.
70643         * manual/string.texi (Copying and Concatenation): Use va_copy
70644         instead of __va_copy in concat example.
70646 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70648         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70649         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70650         it if not null.
70652         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70653         with O_NOLINK passed to __file_name_lookup.
70655         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70656         with O_NOLINK passed to __file_name_lookup.
70658         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70659         negative N or less than NGIDS.
70661         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70662         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70663         enough.  Use memcpy instead of strncpy.
70665 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70667         * elf/Makefile (check-data): Remove.
70668         (localplt.data): New vpath directive.
70669         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70670         instead of $(check-data).
70671         * scripts/data/localplt-generic.data: Move to ...
70672         * sysdeps/generic/localplt.data: ... here.
70673         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70674         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70675         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70677         ... here.
70678         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70680         ... here.
70681         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70683         ... here.
70684         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70686         ... here.
70687         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70689         ... here.
70690         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70692         ... here.
70694 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70696         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70697         PPC32 and PPC64 files.
70698         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70699         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70701 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70703         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70704         __makecontext_ret to ...
70705         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70706         ... here and call exit if uc_link is NULL.  New file.
70707         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70708         __makecontext_ret.S.
70709         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70710         __makecontext_ret to ...
70711         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70712         ... here and call exit if uc_link is NULL.  New file.
70713         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70714         __makecontext_ret.S.
70716 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70718         * elf/elf.h (R_390_IRELATIVE): New definition.
70719         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70720         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70721         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70722         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70723         (elf_machine_lazy_rel): Likewise.
70724         * sysdeps/s390/dl-irel.h: New file.
70725         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70726         * sysdeps/s390/s390-64/memset.S: New asm code.
70727         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70728         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70729         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70730         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70731         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70732         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70733         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70734         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70735         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70736         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70737         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70738         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70739         * sysdeps/s390/s390-32/memset.S: New asm code.
70740         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70742 2012-07-17  Marek Polacek  <polacek@redhat.com>
70744         [BZ #14349]
70745         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70746         * sysdeps/s390/s390-64/configure.in: Likewise.
70747         * sysdeps/sparc/configure.in: Likewise.
70748         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70749         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70750         * sysdeps/i386/configure.in: Likewise.
70751         * sysdeps/x86_64/configure.in: Likewise.
70752         * sysdeps/sh/configure.in: Likewise.
70753         * sysdeps/s390/s390-32/configure: Regenerated.
70754         * sysdeps/s390/s390-64/configure: Likewise.
70755         * sysdeps/x86_64/configure: Likewise.
70756         * sysdeps/sh/configure: Likewise.
70757         * sysdeps/powerpc/powerpc64/configure: Likewise.
70758         * sysdeps/powerpc/powerpc32/configure: Likewise.
70759         * sysdeps/sparc/configure: Likewise.
70760         * sysdeps/i386/configure: Likewise.
70762         * elf/dl-open.c: Comment fixes.
70764 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70766         * Makefile [CXX] (check-data): Remove.
70767         [CXX] (c++-types.data): New vpath directive.
70768         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70769         vpath.  Do not allow for C++ type data being missing.
70770         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70771         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70772         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70773         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70774         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70775         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70776         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70778         ... here.
70779         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70781         ... here.
70782         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70784         ... here.
70785         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70787         ... here.
70788         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70790         ... here.
70791         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70793         ... here.
70794         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70796         ... here.
70797         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70800         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70801         definitions to architecture-specific files.
70802         (TLS_IE): Likewise.
70803         (TLS_LD): Likewise.
70804         (TLS_GD): Likewise.
70805         * sysdeps/i386/tls-macros.h: New file.
70806         * sysdeps/powerpc/tls-macros.h: Likewise.
70807         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70808         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70809         * sysdeps/sh/tls-macros.h: Likewise.
70810         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70811         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70812         * sysdeps/x86_64/tls-macros.h: Likewise.
70814 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70817         zero value for regular exit case.
70819         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70820         (__start_context): Preserve zero value for regular exit case.
70822 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70823             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70825         * manual/setjmp.texi (setcontext): Clarify normal process
70826         termination when uc_link is the null pointer.
70827         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70828         exit call.
70830 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70832         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70833         preprocessor.  Test for each exception mask separately.
70835 2012-07-16  Andreas Jaeger  <aj@suse.de>
70837         * po/ru.po: Update from translation team.
70839 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70841         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70842         equal to 0.
70843         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70844         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70845         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70846         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70847         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70849 2012-07-13  Andreas Jaeger  <aj@suse.de>
70851         * po/fr.po: Update from translation team.
70853 2012-07-12  Marek Polacek  <polacek@redhat.com>
70855         [BZ #14173]
70856         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70857         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70858         loop condition.
70860 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70862         [BZ #13717]
70863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70864         Change to 2.4.1 where previously 2.4.0.
70865         * sysdeps/unix/sysv/linux/configure: Regenerated.
70866         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70867         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70868         version.
70869         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70870         (__ASSUME_AT_CLKTCK): Remove.
70871         (__ASSUME_AT_PAGESIZE): Likewise.
70872         (__ASSUME_AT_XID): Likewise.
70873         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70874         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70875         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70876         unconditionally.
70877         (HAVE_AUX_PAGESIZE): Likewise.
70878         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70879         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70880         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70882 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70884         [BZ #14307]
70885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70886         the temporary buffer used to invoke __gethostbyname2_r,
70887         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70888         host_data / struct gaih_addrtuple.
70889         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70890         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70891         header file nss/nsswitch.h.
70892         * nss/nsswitch.h (global scope): Add definition of implementation
70893         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70894         resolv/nss_dns/dns-host.c).
70896 2012-07-11  Andreas Jaeger  <aj@suse.de>
70898         * po/fr.po: Update from translation team.
70900         * po/sv.po: Update from translation team
70901         * po/fr.po: Another update from translation team.
70903 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70905         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70906         for subnormals or multiply small sinh result by itself.
70907         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70910 2012-07-11  David S. Miller  <davem@davemloft.net>
70912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70914 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70916         [BZ #14347]
70917         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70918         (INTERNAL_MARK): Shift it here.
70920 2012-07-10  Marek Polacek  <polacek@redhat.com>
70922         [BZ #14151]
70923         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70924         libc_cv_asm_global_directive with .globl.
70925         * configure: Regenerated.
70926         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70927         with .globl.
70928         * sysdeps/i386/configure: Regenerated.
70929         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70930         with .globl.
70931         * sysdeps/x86_64/configure: Regenerated.
70932         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70933         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70934         * elf/tst-unique2mod2.c: Likewise.
70935         * elf/tst-unique2mod1.c: Likewise.
70936         * elf/tst-unique1mod2.c: Likewise.
70937         * elf/tst-unique1mod1.c: Likewise.
70938         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70939         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70940         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70941         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70942         * sysdeps/mach/sysdep.h: Likewise.
70943         * sysdeps/i386/sysdep.h: Likewise.
70944         * sysdeps/i386/i386-mcount.S: Likewise.
70945         * sysdeps/x86_64/_mcount.S: Likewise.
70946         * sysdeps/x86_64/sysdep.h: Likewise.
70947         * sysdeps/sh/_mcount.S: Likewise.
70948         * sysdeps/sh/sysdep.h: Likewise.
70949         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70950         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70951         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70952         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70953         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70954         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70955         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70956         * locale/localeinfo.h: Likewise.
70957         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70958         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70960 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70962         [BZ #14336]
70963         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70964         system".
70965         * manual/message.texi (The Uniforum approach): Likewise.
70966         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70967         (glibc iconv Implementation): Likewise.
70969 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70971         [BZ #14337]
70972         * math/s_clog.c (__clog): Avoid scaling a value down where that
70973         could result in underflow.
70974         * math/s_clog10.c (__clog10): Likewise.
70975         * math/s_clog10f.c (__clog10f): Likewise.
70976         * math/s_clog10l.c (__clog10l): Likewise.
70977         * math/s_clogf.c (__clogf): Likewise.
70978         * math/s_clogl.c (__clogl): Likewise.
70979         * math/libm-test.inc (clog_test): Add more tests.
70980         (clog10_test): Likewise.
70981         * sysdeps/i386/fpu/libm-test-ulps: Update.
70982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70984 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70986         [BZ #14283]
70987         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70988         by 7 not 8 to examine high bit of fractional part.
70990         [BZ #14042]
70991         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70992         for call to __mcount_internal.
70993         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70994         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70995         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70997 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70999         [BZ #14154]
71000         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71001         approximation for values within 0x1p-13f of an odd multiple of
71002         pi/4.
71003         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71004         exception.  Add more tests.
71005         * sysdeps/i386/fpu/libm-test-ulps: Update.
71007         [BZ #6778]
71008         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71009         inputs and return -1 for them.  Do not check for +Inf in case not
71010         reachable for +Inf.
71011         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71012         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71013         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71014         and return -1 for them.  Do not check for +Inf in case not
71015         reachable for +Inf.
71016         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71017         define.
71018         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71019         and return -1 for them.  Do not check for +Inf in case not
71020         reachable for +Inf.
71021         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71022         spurious underflow.
71023         * sysdeps/i386/fpu/libm-test-ulps: Update.
71024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71026 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71028         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71030 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71032         [BZ #14157]
71033         [BZ #14331]
71034         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71035         could result in spurious underflow.  Scale down values above
71036         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71037         * math/s_csqrtf.c (__csqrtf): Likewise.
71038         * math/s_csqrtl.c (__csqrtl): Likewise.
71039         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71040         spurious underflow.
71041         * sysdeps/i386/fpu/libm-test-ulps: Update.
71042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71044 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71046         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71047         xopen-msg.sed.
71048         * catgets/xopen-msg.awk: New file.
71049         * catgets/xopen-msg.sed: Removed.
71051         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71052         po2text.sed.
71053         * intl/po2test.awk: New file.
71054         * intl/po2test.sed: Removed.
71056 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71058         [BZ #14328]
71059         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71060         or multiply small sinh result by itself.
71061         * math/s_ctanf.c (__ctanf): Likewise.
71062         * math/s_ctanh.c (__ctanh): Likewise.
71063         * math/s_ctanhf.c (__ctanhf): Likewise.
71064         * math/s_ctanhl.c (__ctanhl): Likewise.
71065         * math/s_ctanl.c (__ctanl): Likewise.
71066         * math/libm-test.inc (ctan_test_tonearest): New function.
71067         (ctan_test_towardzero): Likewise.
71068         (ctan_test_downward): Likewise.
71069         (ctan_test_upward): Likewise.
71070         (ctanh_test_tonearest): Likewise.
71071         (ctanh_test_towardzero): Likewise.
71072         (ctanh_test_downward): Likewise.
71073         (ctanh_test_upward): Likewise.
71074         (main): Call these new functions.
71075         * sysdeps/i386/fpu/libm-test-ulps: Update.
71076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71078 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71080         * .gitignore: Delete /ports entry.
71082 2012-07-03  Andreas Jaeger  <aj@suse.de>
71084         * po/bg.po: Update from translation team.
71085         * po/cs.po: Likewise.
71086         * po/de.po: Likewise.
71087         * po/hr.po: Likewise.
71088         * po/nl.pl: Likewise.
71089         * po/pl.po: Likewise.
71090         * po/vi.po: Likewise.
71092 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71094         * Makeconfig [!+link] (+link-before-libc): New variable.
71095         [!+link] (+link-after-libc): Likewise.
71096         [!+link] (+link-tests): Likewise.
71097         [!+link] (+link): Define in terms of $(+link-before-libc) and
71098         $(+link-after-libc).
71099         [!+link-static] (+link-static-before-libc): New variable.
71100         [!+link-static] (+link-static-after-libc): Likewise.
71101         [!+link-static] (+link-static-tests): Likewise.
71102         [!+link-static] (+link-static): Define in terms of
71103         $(+link-static-before-libc) and $(+link-static-after-libc).
71104         [build-shared] (link-libc-before-gnulib): New variable.
71105         [build-shared] (link-libc-tests): Likewise.
71106         [build-shared] (link-libc): Define in terms of
71107         $(link-libc-before-gnulib).
71108         [!build-shared] (link-libc-tests): New variable.
71109         (link-libc-static-tests): New variable.
71110         [!gnulib] (gnulib-arch): New variable.
71111         [!gnulib] (gnulib-tests): Likewise.
71112         [!gnulib] (static-gnulib-arch): Likewise.
71113         [!gnulib] (static-gnulib-tests): Likewise.
71114         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71115         Define with "=" instead of ":=".
71116         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71117         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71118         * Rules (binaries-all-notests): New variable.
71119         (binaries-all-tests): Likewise.
71120         (binaries-static-notests): Likewise.
71121         (binaries-static-tests): Likewise.
71122         (binaries-all): Define using $(binaries-all-notests) and
71123         $(binaries-all-tests).
71124         (binaries-static): Define using $(binaries-static-notests) and
71125         $(binaries-static-tests).
71126         (binaries-shared-tests): New variable.
71127         (binaries-shared-notests): Likewise.
71128         (binaries-shared): Remove variable.
71129         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71130         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71131         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71132         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71133         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71134         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71135         * elf/Makefile (sln-modules): New variable.
71136         (extra-objs): Add $(sln-modules:=.o).
71137         (ldconfig-modules): Add static-stubs.
71138         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71139         * elf/static-stubs.c: New file.
71141         [BZ #14283]
71142         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71143         by 7 not 8 to examine high bit of fractional part.  Use volatile
71144         variables when splitting into final array of floats if
71145         __FLT_EVAL_METHOD__ != 0.
71146         * math/libm-test.inc (cos_test): Add another test.
71147         (sin_test): Likewise.
71148         * sysdeps/i386/fpu/libm-test-ulps: Update.
71150         [BZ #14273]
71151         * math/libm-test.inc (cosh_test): Add more tests.
71153         * version.h (RELEASE): Set to "development".
71154         (VERSION): Set to "2.16.90".
71156 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71158         * NEWS: Update copyright. Remove last-updated date.
71159         Mention math library bug fixes and timezone data changes.
71160         * README: Mention GNU/Hurd, x32, and HPPA support status.
71162 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71164         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71166 2012-06-27  Andreas Jaeger  <aj@suse.de>
71168         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71170 2012-06-25  Andreas Jaeger  <aj@suse.de>
71172         * sysdeps/s390/fpu/libm-test-ulps: Update.
71174 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71175             Thomas Schwinge  <thomas@codesourcery.com>
71177         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71178         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71179         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71180         fanotify_mark.
71182 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71184         * sysdeps/mach/start.c: Remove file.
71185         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71186         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71187         * sysdeps/sh/init-first.c: Likewise.
71189         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71190         registers for frame unwinding purposes, add CFI directives.
71191         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71192         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71193         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71194         Likewise.
71196         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71197         __fortify_fail returning.
71198         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71200         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71201         sysdeps/sh/____longjmp_chk.S.
71202         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71203         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71204         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71205         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71207         * sysdeps/sh/abort-instr.h: New file.
71208         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71209         process in case exit returns.
71211         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71212         initialize the GOT register before use.
71214         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71215         calculation of ARGC > 4.
71217         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71218         meaningful names to some local labels.
71220 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71221             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71223         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71224         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71225         (__arch_compare_and_exchange_val_16_acq): Likewise.
71226         (__arch_compare_and_exchange_val_32_acq): Likewise.
71227         (atomic_exchange_and_add): Fix gUSA sequence.
71228         (atomic_add): Likewise.
71229         (atomic_add_negative): Likewise.
71230         (atomic_add_zero): Likewise.
71231         (atomic_bit_test_set): Likewise.
71233 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71235         [BZ #13579]
71236         * include/link.h (struct link_map): Add l_free_initfini.
71237         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71238         l_initfini.
71239         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71240         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71241         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71242         set.
71244 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71246         * configure.in: Use AC_LANG_SOURCE.
71247         * configure: Regenerate.
71249 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71251         * configure.in (libc_cv_localstatedir): New substituted variable.
71252         * configure: Regenerated.
71253         * config.make.in (localstatedir): New variable, substituted from
71254         libc_cv_localstatedir.
71255         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71256         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71257         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71258         * sysdeps/gnu/configure: Regenerated.
71260 2012-06-21  Jeff Law  <law@redhat.com>
71262         [BZ #14277]
71263         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71264         free.  Simplify list management for _LIBC case.
71266 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71268         [BZ #14273]
71269         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71270         Clear sign bit of 64-bit integer value before comparing against
71271         overflow value.
71273         * sysdeps/mach/configure: Regenerated.
71275 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71277         [BZ #14278]
71278         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71280 2012-06-21  Jeff Law  <law@redhat.com>
71282         [BZ #13882]
71283         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71284         uint16_t for elements in the "seen" array to avoid char overflows.
71285         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71286         * elf/dl-open.c (dl_open_worker): Likewise.
71288 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71290         * scripts/list-sources.sh: Scan PORTS for translations.
71291         * po/libc.pot: Regenerated.
71293 2012-06-21  Andreas Jaeger  <aj@suse.de>
71295         [BZ #12194]
71296         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71297         warning.
71298         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71299         * bits/byteswap-16.h (__bswap_16): Likewise.
71300         * bits/byteswap.h (__bswap_constant_16): Likewise.
71302 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71304         [BZ #14117]
71305         * sysdeps/i386/fpu_control.h: Removed.
71306         * sysdeps/x86_64/fpu_control.h: Moved to ...
71307         * sysdeps/x86/fpu_control.h: Here.
71309         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71310         (_FPU_SETCW): Likewise.
71312 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71314         [BZ #14117]
71315         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71316         * sysdeps/x86/fpu/bits/mathinline.h: This.
71317         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71319         [BZ #14050]
71320         [BZ #14117]
71321         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71322         functions if __x86_64__ is defined.
71324 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71326         * string/endian.h: Add !__ASSEMBLER__ condition for including
71327         conversion interfaces.
71329 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71331         [BZ #14241]
71332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71333         of ABS(x) in calculating zero to negative powers other than odd
71334         integers.
71335         * math/libm-test.inc (pow_test): Add more tests.
71337 2012-06-15  Andreas Jaeger  <aj@suse.de>
71339         * manual/contrib.texi (Contributors): Update entry of Liubov
71340         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71341         Machado Filho.
71343 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71345         * string/string.h: Add __wur to GNU version of strerror_r.
71347 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71349         [BZ #14229]
71350         * string/Makefile (tests): Add tst-strtok_r.
71351         * string/tst-strtok_r.c: New file.
71352         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71353         RAX_LP/RDX_LP on SAVE_PTR.
71355 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71357         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71359 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71361         * libm_test.inc (csqrt_test): Allow more spurious underflow
71362         exceptions.
71363         (j0_test): Likewise.
71364         (j1_test): Likewise.
71365         (y0_test): Likewise.
71366         (y1_test): Likewise.
71368 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71370         * po/Makefile (libc.pot): Use UTF-8 charset.
71372 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71374         [BZ #14210]
71375         Suppress sign-conversion warning from FD_SET.
71376         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71377         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71378         not unsigned long int.
71379         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71381 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71383         [BZ #14050]
71384         [BZ #14117]
71385         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71386         __extern_always_inline instead of __extern_inline.
71387         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71388         (__signbit): Likewise.
71389         (__signbitl): Support C++ namespace.
71390         (lrintf): New inline function.
71391         (lrint): Likewise.
71392         (llrintf): Likewise.
71393         (llrint): Likewise.
71394         (fmaxf): Likewise.
71395         (fmax): Likewise.
71396         (fminf): Likewise.
71397         (fmin): Likewise.
71398         (rint): Likewise.
71399         (rintf): Likewise.
71400         (ceil): Likewise.
71401         (ceilf): Likewise.
71402         (floor): Likewise.
71403         (floorf): Likewise.
71404         (nearbyint): Likewise.
71405         (nearbyintf): Likewise.
71407 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71409         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71410         non-default versions.
71412 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71414         [BZ #14218]
71415         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71417 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71419         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71420         (FE_UPWARD, FE_DOWNWARD): Don't define.
71421         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71422         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71424         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71425         reading it.
71426         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71427         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71429 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71431         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71432         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71433         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71434         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71436 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71438         [BZ #14117]
71439         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71440         * sysdeps/i386/fpu/Implies: New file.
71441         * sysdeps/x86_64/fpu/Implies: Likewise.
71442         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71443         * sysdeps/x86/fpu/bits/fenv.h: This.
71445         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71446         __SSE_MATH__.
71448 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71450         [BZ #14134]
71451         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71452         character 0xffff that matches the last element of the
71453         conversion table.
71455 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71458         fmodl commit.
71460 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71462         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71463         values higher than 25.6283.
71465 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71467         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71468         subnormal exponent extraction and add some __builtin_expect.
71469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71470         Fix for subnormal mantissa calculation.
71472 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71474         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71475         cpu2 is -1 and errno is not ENOSYS.
71477 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71479         [BZ #14117]
71480         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71481         * sysdeps/x86/bits/string.h: This.
71482         * sysdeps/x86_64/bits/string.h: Removed.
71484         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71485         if not compiling for x86-64, but compiling for >= i486.
71487         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71488         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71490         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71491         New macro from Linux kernel 3.4.0.
71492         (FP_XSTATE_MAGIC2): Likewise.
71493         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71494         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71495         (struct _fpx_sw_bytes): New struct.
71496         (struct _xsave_hdr): Likewise.
71497         (struct _ymmh_state): Likewise.
71498         (struct _xstate): Likewise.
71500         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71501         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71502         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71503         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71504         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71505         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71507         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71508         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71509         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71510         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71511         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71512         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71514 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71516         [BZ #13743]
71517         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71518         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71519         (sysdep_headers): Include sys/platform/ppc.h.
71520         * sysdeps/powerpc/test-gettimebase.c: Test for
71521         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71522         * manual/Makefile (appendices): Include platform.texi.
71523         * manual/contrib.texi (Contributors): Update @node pointers.
71524         * manual/maint.texi (Maintenance): Likewise.
71525         (Platform): New node.
71526         * manual/platform.texi: New file.  Document the new features.
71528 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71529             Jakub Jelinek  <jakub@redhat.com>
71531         [BZ #14188]
71532         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71533         where __builtin_expect is unavailable.
71535 2012-06-03  David S. Miller  <davem@davemloft.net>
71537         * stdlib/longlong.h: Updated from GCC.
71539 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71541         [BZ #14042]
71542         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71543         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71544         __mcount_internal.
71545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71546         (GLIBC_2.16): Likewise.
71548 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71550         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71552 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71555         (default-abi): New variable.
71556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71557         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71558         variable.
71559         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71560         Likewise.
71561         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71562         Likewise.
71563         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71564         Likewise.
71566         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71567         definition.  Document in comment.
71569 2012-06-01  David S. Miller  <davem@davemloft.net>
71571         * stdlib/longlong.h: Updated from GCC.
71573 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71575         [BZ #14117]
71576         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71577         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71578         sys/debugreg.h sys/io.h here.
71579         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71580         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71581         sys/io.h.
71582         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71583         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71584         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71585         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71586         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71587         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71589         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71590         Define only if __x86_64__ is defined.
71592 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71594         [BZ #14048]
71595         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71596         Use int64_t for variable i.
71597         * math/libm-test.inc (fmod_test): Add more tests.
71599         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71600         z computation is not scheduled after fetestexcept.
71601         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71602         Use math_force_eval instead of asm to ensure calculation scheduled
71603         before exception test.
71604         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71605         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71607 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71610         computation is not scheduled after fetestexcept.
71612 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71614         [BZ #14117]
71615         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71616         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71618 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71620         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71621         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71623 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71625         [BZ #14117]
71626         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71627         <bits/wordsize.h>.
71628         (__WCHAR_MIN): Support __WORDSIZE == 64.
71629         (__WCHAR_MAX): Likewise.
71631         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71632         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71634         [BZ #14183]
71635         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71636         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71638         [BZ #14117]
71639         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71640         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71642         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71643         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71645         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71646         Defined to 1 if __x86_64__ isn't defined.
71647         (_STAT_VER_LINUX_OLD): New.
71648         (st_atime): Remove duplicate.
71649         (st_mtime): Likewise.
71650         (st_ctime): Likewise.
71652 2012-05-31  David S. Miller  <davem@davemloft.net>
71654         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71655         entries.
71657 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71659         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71660         gen-libm-test.pl.
71662         [BZ #14132]
71663         * elf/dl-reloc.c: Include <_itoa.h>.
71664         (_dl_reloc_bad_type): Remove use of INTUSE.
71665         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71666         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71667         * stdio-common/psiginfo.c (psiginfo): Likewise.
71668         * stdio-common/psignal.c (psignal): Likewise.
71669         * string/strsignal.c (strsignal): Likewise.
71670         * include/signal.h (_sys_siglist): Declare hidden proto.
71671         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71672         INTVARDEF with libc_hidden_data_def.
71673         * stdio-common/itoa-udigits.c: Likewise.
71674         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71675         (_itoa_lower_digits_internal): Remove declaration.
71676         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71677         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71678         (_sys_sigabbrev_internal): Remove aliases.
71679         (_sys_siglist): Define hidden alias.
71681 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71684         bits/sysctl.h.
71686 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71688         [BZ #14117]
71689         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71690         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71692         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71693         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71694         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71695         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71696         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71697         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71699         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71700         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71701         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71703         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71704         with __addr.
71705         (insw): Likewise.
71706         (insl): Likewise.
71707         (outsb): Likewise.
71708         (outsw): Likewise.
71709         (outsl): Likewise.
71711         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71712         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71713         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71715         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71716         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71717         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71718         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71719         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71720         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71722         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71723         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71725         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71726         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71728         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71729         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71730         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71732         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71733         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71734         to ...
71735         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71737         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71738         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71739         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71741         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71742         for x86-64.
71743         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71745 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71747         * math/math.h (M_El): Use two more decimal places.
71748         (M_LOG2El): Likewise.
71749         (M_LOG10El): Likewise.
71750         (M_LN2l): Likewise.
71751         (M_LN10l): Likewise.
71752         (M_PIl): Likewise.
71753         (M_PI_2l): Likewise.
71754         (M_PI_4l): Likewise.
71755         (M_1_PIl): Likewise.
71756         (M_2_PIl): Likewise.
71757         (M_2_SQRTPIl): Likewise.
71758         (M_SQRT2l): Likewise.
71759         (M_SQRT1_2l): Likewise.
71761 2012-05-31  David S. Miller  <davem@davemloft.net>
71763         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71764         values between float registers.
71765         * sysdeps/sparc/sparc64/memset.S: Likewise.
71766         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71768 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71770         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71771         -D_FORTIFY_SOURCE=1.
71772         (CPPFLAGS-tst-longjmp_chk.c): Define.
71773         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71774         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71775         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71776         CFLAGS-tst-wchar-h.c.
71778 2012-05-31  Marek Polacek  <polacek@redhat.com>
71780         [BZ #14132]
71781         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71782         __endmntent_internal): Remove declaration.
71783         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71784         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71785         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71787 2012-05-30  David S. Miller  <davem@davemloft.net>
71789         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71790         (___Q_simulate_exceptions): Use real FP ops rather than writing
71791         into the %fsr.
71792         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71793         Likewise.
71795 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71797         [BZ #14117]
71798         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71799         * sysdeps/x86/bits/xtitypes.h: This.
71801         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71802         * sysdeps/x86/bits/wordsize.h: This.
71804         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71805         * sysdeps/x86/bits/huge_vall.h: This.
71807         * sysdeps/i386/bits/select.h: Removed.
71808         * sysdeps/x86_64/bits/select.h: Renamed to ...
71809         * sysdeps/x86/bits/select.h: This.
71811         * sysdeps/i386/bits/setjmp.h: Removed.
71812         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71813         * sysdeps/x86/bits/setjmp.h: This.
71815         * sysdeps/i386/bits/mathdef.h: Removed.
71816         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71817         * sysdeps/x86/bits/mathdef.h: This.
71819 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71821         [BZ #14132]
71822         * include/sys/socket.h (__connect_internal)
71823         (__libc_sa_len_internal): Remove declaration.
71824         (__connect, __libc_sa_len): Declare hidden_proto.
71825         (SA_LEN): Remove use of INTUSE.
71826         * socket/connect.c: Add libc_hidden_def.
71827         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71828         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71829         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71830         alias.
71831         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71832         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71833         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71834         of adding _internal alias.
71836 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71838         [BZ #14117]
71839         * sysdeps/i386/bits/link.h: Removed.
71840         * sysdeps/i386/bits/linkmap.h: Likewise.
71841         * sysdeps/x86_64/bits/link.h: Renamed to ...
71842         * sysdeps/x86/bits/link.h: This.
71843         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71844         * sysdeps/x86/bits/linkmap.h: This.
71846         * sysdeps/i386/bits/endian.h: Removed.
71847         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71848         * sysdeps/x86/bits/endian.h: This.
71850         * sysdeps/i386/bits/byteswap.h: Removed.
71851         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71852         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71853         * sysdeps/x86/bits/byteswap.h: This.
71854         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71855         * sysdeps/x86/bits/byteswap-16.h: This.
71856         * sysdeps/i386/Implies: Add x86.
71857         * sysdeps/x86_64/Implies: Likewise.
71859 2012-05-30  David S. Miller  <davem@davemloft.net>
71861         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71862         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71863         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71864         (FP_TRAPPING_EXCEPTIONS): Define.
71865         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71866         (FP_TRAPPING_EXCEPTIONS): Define.
71867         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71868         subnormals only when inexact has been signalled or underflow
71869         exceptions are enabled.
71870         (_FP_PACK_CANONICAL): Likewise.
71872 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71874         [BZ #14183]
71875         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71876         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71878 2012-05-30  Richard Henderson  <rth@twiddle.net>
71880         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71881         with #ifndef NOT_IN_libc.
71883         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71884         marked to avoid plt entry.
71886 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71888         [BZ #14112]
71889         * Makeconfig (default-abi): New macro.
71890         (abi-includes): Likewise.
71891         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71892         $(abi-$(default-abi)-lib-soname) for soname if defined.
71893         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71894         abi-variants.
71895         * Makefile (installed-stubs): Likewise.
71896         * include/stubs-biarch.h: Removed.
71897         * scripts/lib-names.awk: Only handle one library at a time.
71898         * scripts/soversions.awk: Remove WORDSIZE support.
71899         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71900         entries.
71901         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71902         Removed.
71903         (syscall-list-default-condition): Likewise.
71904         (syscall-list-default-condition): Likewise.
71905         (syscall-list-includes): Likewise.
71906         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71907         syscall-list-* with abi-*.  Handle undefined abi-variants.
71908         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71909         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71910         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71911         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71912         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71913         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71914         Removed.
71915         (syscall-list-32-options): Likewise.
71916         (syscall-list-32-condition): Likewise.
71917         (syscall-list-64-options): Likewise.
71918         (syscall-list-64-condition): Likewise.
71919         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71920         macro.
71921         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71922         Renamed to ...
71923         (abi-*): This.
71924         (abi-64-ld-soname): New macro.
71925         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71926         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71927         Renamed to ...
71928         (abi-*): This.
71929         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71930         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71932 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71934         * sysdeps/unix/sysv/linux/kernel-features.h
71935         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71936         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71937         include <kernel-features.h>.
71938         [!__NR_ftruncate64]: Remove conditional code.
71939         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71940         [__NR_ftruncate64]: Make code unconditional.
71941         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71942         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71943         include <kernel-features.h>.
71944         [!__NR_ftruncate64]: Remove conditional code.
71945         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71946         [__NR_ftruncate64]: Make code unconditional.
71947         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71949         include <kernel-features.h>.
71950         [!__NR_ftruncate64]: Remove conditional code.
71951         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71952         [__NR_ftruncate64]: Make code unconditional.
71953         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71955         include <kernel-features.h>.
71956         [!__NR_ftruncate64]: Remove conditional code.
71957         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71958         [__NR_ftruncate64]: Make code unconditional.
71959         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71961         * configure.in (libc_cv_fpie): Weaken to a compile test using
71962         LIBC_TRY_CC_OPTION.
71963         * configure: Regenerated.
71965 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71971         Refreshed.
71972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71978         Refreshed.
71980 2012-05-27  David S. Miller  <davem@davemloft.net>
71982         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71983         (___Q_zero): New.
71984         (__Q_simulate_exceptions): Return void.  Change to simulate
71985         exceptions by writing into the %fsr.
71986         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71987         (__Qp_handle_exceptions): Likewise.
71988         (numbers): Delete.
71989         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71990         __Qp_handle_exceptions.
71991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71992         __Qp_handle_exceptions.
71993         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71994         as unused and give dummy FP_RND_NEAREST initializer.
71995         (FP_INHIBIT_RESULTS): Define.
71996         (___Q_simulate_exceptions): Update declaration.
71997         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71998         formatting.
71999         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72000         as unused and give dummy FP_RND_NEAREST initializer.
72001         (__Qp_handle_exceptions): Update declaration.
72002         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72003         formatting.
72005 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72007         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72008         the temporary FPU control word.
72009         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72010         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72011         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72012         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72013         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72014         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72015         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72016         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72017         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72018         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72019         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72021 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72023         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72024         fields.
72026 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72028         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72029         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72030         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72031         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72032         Likewise.
72033         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72034         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72035         Likewise.
72037 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72039         * po/h.po: Update from translation team.
72041 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72043         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72045         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72046         handling of denormals.
72047         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72048         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72049         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72050         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72051         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72054         Likewise.
72056 2012-05-26  Marek Polacek  <polacek@redhat.com>
72058         [BZ #14152]
72059         * math/libm-test.inc (fma_test): Don't always expect underflow
72060         exception.
72062 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72064         [BZ #12416]
72065         * elf/tst-execstack.c: Include stackinfo.h.
72066         (do_test): Adjust test case to ensure that pthread_getattr_np
72067         behaviour remains the same after marking stack executable.
72069 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72071         * sysdeps/unix/sysv/linux/kernel-features.h
72072         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72073         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72074         kernel-features.h.
72075         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72076         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72077         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72078         kernel-features.h.
72079         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72080         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72082 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72084         * configure.in: Define the default includes to being none.
72085         * configure: Regenerated.
72087 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72089         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72090         * sysdeps/x86_64/setjmp.S: Likewise.
72091         * sysdeps/i386/bsd-setjmp.S: Likewise.
72092         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72093         * sysdeps/i386/setjmp.S: Likewise.
72094         * sysdeps/i386/__longjmp.S: Likewise.
72095         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72096         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72098         * include/stap-probe.h: New file.
72099         * configure.in: Handle --enable-systemtap.
72100         * configure: Regenerated.
72101         * config.h.in (USE_STAP_PROBE): New #undef.
72102         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72103         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72104         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72106 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72108         [BZ #13717]
72109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72110         to 2.4.0 where earlier.
72111         * sysdeps/unix/sysv/linux/configure: Regenerated.
72112         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72113         <kernel-features.h>.
72114         [__ASSUME_32BITUIDS]: Make code unconditional.
72115         [!__ASSUME_32BITUIDS]: Remove conditional code.
72116         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72117         <kernel-features.h>.
72118         [__ASSUME_32BITUIDS]: Make code unconditional.
72119         [!__ASSUME_32BITUIDS]: Remove conditional code.
72120         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72121         [__ASSUME_32BITUIDS]: Make code unconditional.
72122         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72123         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
72124         <kernel-features.h>.
72125         [__ASSUME_32BITUIDS]: Make code unconditional.
72126         [!__ASSUME_32BITUIDS]: Remove conditional code.
72127         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
72128         <kernel-features.h>.
72129         [__ASSUME_32BITUIDS]: Make code unconditional.
72130         [!__ASSUME_32BITUIDS]: Remove conditional code.
72131         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
72132         <kernel-features.h>.
72133         [__ASSUME_32BITUIDS]: Make code unconditional.
72134         [!__ASSUME_32BITUIDS]: Remove conditional code.
72135         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
72136         <kernel-features.h>.
72137         [__ASSUME_32BITUIDS]: Make code unconditional.
72138         [!__ASSUME_32BITUIDS]: Remove conditional code.
72139         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
72140         <kernel-features.h>.
72141         [__ASSUME_32BITUIDS]: Make code unconditional.
72142         [!__ASSUME_32BITUIDS]: Remove conditional code.
72143         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
72144         <kernel-features.h>.
72145         [__ASSUME_32BITUIDS]: Make code unconditional.
72146         [!__ASSUME_32BITUIDS]: Remove conditional code.
72147         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
72148         <kernel-features.h>.
72149         [__ASSUME_32BITUIDS]: Make code unconditional.
72150         [!__ASSUME_32BITUIDS]: Remove conditional code.
72151         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
72152         <kernel-features.h>.
72153         [__ASSUME_32BITUIDS]: Make code unconditional.
72154         [!__ASSUME_32BITUIDS]: Remove conditional code.
72155         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
72156         <kernel-features.h>.
72157         [__ASSUME_32BITUIDS]: Make code unconditional.
72158         [!__ASSUME_32BITUIDS]: Remove conditional code.
72159         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
72160         <kernel-features.h>.
72161         [__ASSUME_32BITUIDS]: Make code unconditional.
72162         [!__ASSUME_32BITUIDS]: Remove conditional code.
72163         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
72164         <kernel-features.h>.
72165         [__NR_setresgid] (__setresgid): Do not declare.
72166         [__ASSUME_32BITUIDS]: Make code unconditional.
72167         [!__ASSUME_32BITUIDS]: Remove conditional code.
72168         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72169         <kernel-features.h>.
72170         [__NR_setresuid] (__setresuid): Do not declare.
72171         [__ASSUME_32BITUIDS]: Make code unconditional.
72172         [!__ASSUME_32BITUIDS]: Remove conditional code.
72173         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
72174         <kernel-features.h>.
72175         [__ASSUME_32BITUIDS]: Make code unconditional.
72176         [!__ASSUME_32BITUIDS]: Remove conditional code.
72177         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
72178         <kernel-features.h>.
72179         [__ASSUME_32BITUIDS]: Make code unconditional.
72180         [!__ASSUME_32BITUIDS]: Remove conditional code.
72181         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
72182         <kernel-features.h>.
72183         [__ASSUME_32BITUIDS]: Make code unconditional.
72184         [!__ASSUME_32BITUIDS]: Remove conditional code.
72185         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
72186         <kernel-features.h>.
72187         [__ASSUME_32BITUIDS]: Make code unconditional.
72188         [!__ASSUME_32BITUIDS]: Remove conditional code.
72189         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
72190         <kernel-features.h>.
72191         [__ASSUME_32BITUIDS]: Make code unconditional.
72192         [!__ASSUME_32BITUIDS]: Remove conditional code.
72193         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
72194         <kernel-features.h>.
72195         [__ASSUME_32BITUIDS]: Make code unconditional.
72196         [!__ASSUME_32BITUIDS]: Remove conditional code.
72197         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
72198         <kernel-features.h>.
72199         [__ASSUME_32BITUIDS]: Make code unconditional.
72200         [!__ASSUME_32BITUIDS]: Remove conditional code.
72201         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
72202         <kernel-features.h>.
72203         [__ASSUME_32BITUIDS]: Make code unconditional.
72204         [!__ASSUME_32BITUIDS]: Remove conditional code.
72205         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
72206         <kernel-features.h>.
72207         [__ASSUME_32BITUIDS]: Make code unconditional.
72208         [!__ASSUME_32BITUIDS]: Remove conditional code.
72209         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72210         <kernel-features.h>.
72211         [__ASSUME_32BITUIDS]: Make code unconditional.
72212         [!__ASSUME_32BITUIDS]: Remove conditional code.
72213         * sysdeps/unix/sysv/linux/kernel-features.h
72214         (__ASSUME_SETRESUID_SYSCALL): Remove.
72215         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72216         (__ASSUME_32BITUIDS): Likewise.
72217         (__ASSUME_LDT_WORKS): Likewise.
72218         (__ASSUME_O_DIRECTORY): Likewise.
72219         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72220         architecture but not kernel version.
72221         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72222         (__ASSUME_MMAP2_SYSCALL): Likewise.
72223         (__ASSUME_STAT64_SYSCALL): Likewise.
72224         (__ASSUME_IPC64): Likewise.
72225         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72226         <kernel-features.h>.
72227         [__ASSUME_32BITUIDS]: Make code unconditional.
72228         [!__ASSUME_32BITUIDS]: Remove conditional code.
72229         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72230         <kernel-features.h>.
72231         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72232         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72233         132096]: Remove conditional code.
72234         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72235         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72236         <kernel-features.h>.
72237         [__ASSUME_32BITUIDS]: Make code unconditional.
72238         [!__ASSUME_32BITUIDS]: Remove conditional code.
72239         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72240         <kernel-features.h>.
72241         [__ASSUME_32BITUIDS]: Make code unconditional.
72242         [!__ASSUME_32BITUIDS]: Remove conditional code.
72243         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72244         <kernel-features.h>.
72245         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72246         unconditional.
72247         (__setresgid): Do not declare.
72248         [__ASSUME_32BITUIDS]: Make code unconditional.
72249         [!__ASSUME_32BITUIDS]: Remove conditional code.
72250         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72251         <kernel-features.h>.
72252         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72253         unconditional.
72254         (__setresuid): Do not declare.
72255         [__ASSUME_32BITUIDS]: Make code unconditional.
72256         [!__ASSUME_32BITUIDS]: Remove conditional code.
72257         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72258         <kernel-features.h>.
72259         [__ASSUME_32BITUIDS]: Make code unconditional.
72260         [!__ASSUME_32BITUIDS]: Remove conditional code.
72261         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72262         <kernel-features.h>.
72263         [__ASSUME_32BITUIDS]: Make code unconditional.
72264         [!__ASSUME_32BITUIDS]: Remove conditional code.
72266 2012-05-25  Richard Henderson  <rth@twiddle.net>
72268         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72269         dl_hwcap to ifunc resolver.
72270         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72271         elf_ifunc_invoke.
72272         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72273         dl_hwcap to ifunc resolver.
72274         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72276 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72278         [BZ #14153]
72279         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72280         for |x| <= 2**-26, not 2**-57.
72281         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72282         exception.
72284 2012-05-24  Jeff Law  <law@redhat.com>
72286         * stdio-common/Makefile (tests): Add bug25.
72287         * stdio-common/bug25.c: New test.
72289 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72291         [BZ #13576]
72292         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72293         multiple of MALLOC_ALIGNMENT in size.
72294         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72296 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72298         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72299         Require >= 256.
72300         (FILENAME_MAX): Use macro-int-constant.
72301         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72302         (_IOFBF): Use macro-int-constant.
72303         (_IOLBF): Likewise.
72304         (_IONBF): Likewise.
72305         (SEEK_CUR): Likewise.
72306         (SEEK_END): Likewise.
72307         (SEEK_SET): Likewise.
72308         (TMP_MAX): Likewise.
72309         (EOF): Use macro-int-constant.  Require < 0.
72310         (NULL): Use macro-constant.  Require == 0.
72311         (stdin): Require type to be FILE *.
72312         (stdout): Likewise.
72313         (stderr): Likewise.
72314         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72315         macro-int-constant.
72316         (EXIT_SUCCESS): Likewise.
72317         (NULL): Use macro-constant.  Require == 0.
72318         (RAND_MAX): Use macro-int-constant.
72319         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72320         [C99-based standards] (strtof): Require function.
72321         [C99-based standards] (strtold): Likewise.
72322         [C99-based standards] (strtoll): Likewise.
72323         [C99-based standards] (strtoull): Likewise.
72324         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72325         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72326         [ISO || ISO99 || ISO11] (math.h): Likewise.
72327         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72328         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72329         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72331 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72333         [BZ #14132]
72334         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72335         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72336         * intl/dgettext.c (DCGETTEXT): Likewise.
72337         * intl/gettext.c (DCGETTEXT): Likewise.
72338         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72339         * posix/regex_internal.h (gettext): Likewise.
72340         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72341         Remove declaration.
72342         * include/argz.h (__argz_count_internal)
72343         (__argz_stringify_internal): Remove declaration.
72344         (__argz_count, __argz_stringify): Declare hidden proto.
72345         * intl/dcgettext.c: Remove use of INTDEF.
72346         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72347         * string/argz-stringify.c: Likewise.
72348         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72349         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72350         Declare hidden proto.
72351         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72352         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72353         Declare hidden proto.
72354         * include/stdio.h (__asprintf_internal): Don't declare.
72355         (__asprintf): Don't define as macro.  Declare hidden proto.
72356         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72357         (__fsetlocking): Declare hidden proto.
72358         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72359         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72360         hidden proto.
72361         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72362         (_IO_setlinebuf): Remove use of INTUSE.
72363         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72364         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72365         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72366         Remove declaration.
72367         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72368         (_IO_do_flush): Remove use of INTUSE.
72369         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72370         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72371         (_IO_adjust_column, _IO_least_wmarker)
72372         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72373         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72374         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72375         (_IO_default_doallocate, _IO_wdefault_doallocate)
72376         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72377         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72378         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72379         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72380         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72381         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72382         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72383         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72384         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72385         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72386         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72387         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72388         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72389         proto.
72390         (_IO_flush_all_internal, _IO_adjust_column_internal)
72391         (_IO_default_uflow_internal, _IO_default_finish_internal)
72392         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72393         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72394         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72395         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72396         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72397         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72398         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72399         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72400         (_IO_file_close_internal, _IO_file_close_it_internal)
72401         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72402         (_IO_file_init_internal, _IO_file_attach_internal)
72403         (_IO_file_fopen_internal, _IO_file_read_internal)
72404         (_IO_file_sync_internal, _IO_file_seek_internal)
72405         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72406         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72407         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72408         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72409         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72410         (_IO_list_all_internal, _IO_link_in_internal)
72411         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72412         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72413         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72414         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72415         (_IO_do_write_internal, _IO_padn_internal)
72416         (_IO_getline_info_internal, _IO_getline_internal)
72417         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72418         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72419         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72420         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72421         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72422         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72423         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72424         with libc_hidden_ver, remove use of INTUSE.
72425         * libio/genops.c: Likewise.
72426         * libio/freopen.c: Likewise.
72427         * libio/freopen64.c: Likewise.
72428         * libio/iofclose.c: Likewise.
72429         * libio/iofdopen.c: Likewise.
72430         * libio/iofflush.c: Likewise.
72431         * libio/iofflush_u.c: Likewise.
72432         * libio/iofgets.c: Likewise.
72433         * libio/iofgets_u.c: Likewise.
72434         * libio/iofopen.c: Likewise.
72435         * libio/iofopncook.c: Likewise.
72436         * libio/iofread.c: Likewise.
72437         * libio/iofread_u.c: Likewise.
72438         * libio/ioftell.c: Likewise.
72439         * libio/iofwrite.c: Likewise.
72440         * libio/iogetline.c: Likewise.
72441         * libio/iogets.c: Likewise.
72442         * libio/iogetwline.c: Likewise.
72443         * libio/iopadn.c: Likewise.
72444         * libio/iopopen.c: Likewise.
72445         * libio/ioseekoff.c: Likewise.
72446         * libio/ioseekpos.c: Likewise.
72447         * libio/iosetbuffer.c: Likewise.
72448         * libio/iosetvbuf.c: Likewise.
72449         * libio/ioungetc.c: Likewise.
72450         * libio/ioungetwc.c: Likewise.
72451         * libio/iovdprintf.c: Likewise.
72452         * libio/iovsprintf.c: Likewise.
72453         * libio/iovsscanf.c: Likewise.
72454         * libio/memstream.c: Likewise.
72455         * libio/obprintf.c: Likewise.
72456         * libio/oldfileops.c: Likewise.
72457         * libio/oldiofclose.c: Likewise.
72458         * libio/oldiofdopen.c: Likewise.
72459         * libio/oldiofopen.c: Likewise.
72460         * libio/oldiopopen.c: Likewise.
72461         * libio/oldstdfiles.c: Likewise.
72462         * libio/putc.c: Likewise.
72463         * libio/setbuf.c: Likewise.
72464         * libio/setlinebuf.c: Likewise.
72465         * libio/stdfiles.c: Likewise.
72466         * libio/strops.c: Likewise.
72467         * libio/vasprintf.c: Likewise.
72468         * libio/vscanf.c: Likewise.
72469         * libio/vsnprintf.c: Likewise.
72470         * libio/vswprintf.c: Likewise.
72471         * libio/wfiledoalloc.c: Likewise.
72472         * libio/wfileops.c: Likewise.
72473         * libio/wgenops.c: Likewise.
72474         * libio/wmemstream.c: Likewise.
72475         * libio/wstrops.c: Likewise.
72476         * libio/__fpurge.c: Likewise.
72477         * libio/__fsetlocking.c: Likewise.
72478         * assert/assert.c: Likewise.
72479         * debug/fgets_chk.c: Likewise.
72480         * debug/fgets_u_chk.c: Likewise.
72481         * debug/fread_chk.c: Likewise.
72482         * debug/fread_u_chk.c: Likewise.
72483         * debug/gets_chk.c: Likewise.
72484         * debug/obprintf_chk.c: Likewise.
72485         * debug/vasprintf_chk.c: Likewise.
72486         * debug/vdprintf_chk.c: Likewise.
72487         * debug/vsnprintf_chk.c: Likewise.
72488         * debug/vsprintf_chk.c: Likewise.
72489         * malloc/mtrace.c: Likewise.
72490         * misc/error.c: Likewise.
72491         * misc/syslog.c: Likewise.
72492         * stdio-common/asprintf.c: Likewise.
72493         * stdio-common/fxprintf.c: Likewise.
72494         * stdio-common/getw.c: Likewise.
72495         * stdio-common/isoc99_fscanf.c: Likewise.
72496         * stdio-common/isoc99_scanf.c: Likewise.
72497         * stdio-common/isoc99_vfscanf.c: Likewise.
72498         * stdio-common/isoc99_vscanf.c: Likewise.
72499         * stdio-common/isoc99_vsscanf.c: Likewise.
72500         * stdio-common/printf-prs.c: Likewise.
72501         * stdio-common/printf_fp.c: Likewise.
72502         * stdio-common/printf_fphex.c: Likewise.
72503         * stdio-common/printf_size.c: Likewise.
72504         * stdio-common/putw.c: Likewise.
72505         * stdio-common/scanf.c: Likewise.
72506         * stdio-common/sprintf.c: Likewise.
72507         * stdio-common/tmpfile.c: Likewise.
72508         * stdio-common/vfprintf.c: Likewise.
72509         * stdio-common/vfscanf.c: Likewise.
72510         * stdlib/strfmon_l.c: Likewise.
72511         * sunrpc/openchild.c: Likewise.
72512         * sunrpc/xdr_stdio.c: Likewise.
72513         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72514         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72516 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72518         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72520         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72521         in the third column, to generate for the shared library an IFUNC
72522         that uses _dl_vdso_vsym.
72523         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72524         * Makeconfig (object-suffixes-noshared): New variable.
72526         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72527         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72528         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72529         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72531         [BZ #14132]
72532         * include/sys/time.h (__gettimeofday): Remove macro.
72533         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72534         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72535         Remove INTDEF.
72536         (__gettimeofday): Add libc_hidden_def.
72537         (gettimeofday): Add libc_hidden_weak.
72538         * sysdeps/mach/gettimeofday.c: Likewise.
72539         * sysdeps/posix/gettimeofday.c: Likewise.
72540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72541         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72543         (__gettimeofday_internal): Remove strong_alias.
72544         (__gettimeofday): Add libc_hidden_def.
72545         (gettimeofday): Add libc_hidden_weak.
72546         * sysdeps/unix/syscalls.list (gettimeofday):
72547         Remove __gettimeofday_internal alias.
72549 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72550             H.J. Lu  <hongjiu.lu@intel.com>
72552         [BZ #12495]
72553         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72554         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72555         (largebin_index_32_big): New.
72556         (largebin_index): Use it for 16-byte alignment.
72557         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72558         correction with front_misalign.
72560 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72564         Likewise.
72565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72566         Likewise.
72567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72568         Likewise.
72569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72570         Likewise.
72571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72572         Likewise.
72573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72574         Likewise.
72575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72576         Likewise.
72577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72578         Likewise.
72579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72580         Likewise.
72581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72582         Likewise.
72583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72584         Likewise.
72585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72586         Likewise.
72588         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72589         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72591 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72593         [BZ #10846]
72594         [BZ #14036]
72595         * math/libm-test.inc (exp_test): Add test from bug 14036.
72596         (pow_test): Add test from bug 10846.
72598         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72599         and other flags.
72600         (special_function): Do not include flags in test name.
72601         (parse_args): Likewise.
72602         * sysdeps/i386/fpu/libm-test-ulps: Update.
72603         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72604         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72605         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72608         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72609         exceptions.
72610         * math/libm-test.inc ("Philosophy"): Update comment about
72611         exception testing.
72612         (UNDERFLOW_EXCEPTION): New macro.
72613         (UNDERFLOW_EXCEPTION_OK): Likewise.
72614         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72615         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72616         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72617         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72618         (INVALID_EXCEPTION_OK): Update value.
72619         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72620         (OVERFLOW_EXCEPTION_OK): Likewise.
72621         (IGNORE_ZERO_INF_SIGN): Likewise.
72622         (test_exceptions): Handle underflow exceptions.
72623         (acos_test): Update for underflow exception expectations.
72624         (cexp_test): Likewise.
72625         (clog_test): Likewise.
72626         (clog10_test): Likewise.
72627         (csqrt_test): Likewise.
72628         (ctan_test): Likewise.
72629         (ctanh_test): Likewise.
72630         (exp_test): Likewise.
72631         (exp10_test): Likewise.
72632         (exp2_test): Likewise.
72633         (expm1_test): Likewise.
72634         (fma_test): Likewise.
72635         (j0_test): Likewise.
72636         (jn_test): Likewise.
72637         (nexttoward_test): Likewise.
72638         (pow_test): Likewise.
72639         (scalbn_test): Likewise.
72640         (scalbln_test): Likewise.
72641         (tan_test): Likewise.
72642         (y1_test): Likewise.
72643         * sysdeps/i386/fpu/libm-test-ulps: Update.
72644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72646 2012-05-23  David S. Miller  <davem@davemloft.net>
72648         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72649         (__libc_sigaction): Remove unused local variables.
72651 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72653         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72655 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72657         mktime: avoid signed integer overflow
72658         * time/mktime.c (__mktime_internal): Do not mishandle the case
72659         where diff == INT_MIN.
72661         mktime: simplify computation of average
72662         * time/mktime.c (ranged_convert): Use new time_t_avg function
72663         instead of rolling our own (probably-slower) code.
72665         mktime: do not assume signed right shift propagates sign bit
72666         * time/mktime.c (isdst_differ): New static function.
72667         (__mktime_internal): No need to normalize tm_isdst now.
72668         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72669         tm_isdst values.
72671         mktime: merge another wrapv change from gnulib
72672         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72673         from some compilers.
72675         mktime: remove incorrect attempt at unusual arithmetics
72676         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72677         The code didn't really work on such machines anyway.
72678         (TYPE_MINIMUM): Assume two's complement.
72679         (twos_complement_arithmetic): Verify that long_int and time_t
72680         are two's complement (or unsigned, in the latter case).
72682         mktime: check signed shifts on long_int and time_t, too
72683         * time/mktime.c (SHR): Check that shifts work as desired
72684         on the types long_int and time_t too, as SHR is used on
72685         such types.
72687         mktime: do not assume 'long' is wide enough
72688         * time/mktime.c (verify): Move decl up.
72689         (long_int): New type.
72690         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72691         to remove assumption in the code that 'long' is wide enough to
72692         store year values.  This assumption is not true on x32 and on
72693         some non-glibc platforms.
72695         mktime: merge wrapv change from gnulib
72696         * time/mktime.c (WRAPV): New macro.
72697         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72698         (guess_time_tm, __mktime_internal): Do not assume that signed
72699         integer overflow wraps around; modern compilers generate code
72700         where this assumption is no longer valid.
72702 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72704         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72705         Replace "jmp L(pseudo_end)" with "ret".
72706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72707         Likewise.
72709 2012-05-23  Andreas Jaeger  <aj@suse.de>
72711         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72712         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72714 2012-05-23  Andreas Jaeger  <aj@suse.de>
72715             Maximilian Attems  <max@stro.at>
72717         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72718         New macros.
72720 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72722         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72723         code so that pseudo_end is just ret and the stack pointer is
72724         correct also for static library in error case.
72726 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72728         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72729         move to syscalls.list.
72730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72735         * manual/install.texi (Running make install): Do not mention Linux
72736         kernel version for which pt_chown is not needed.
72737         (Linux): Do not mention problems with nscd with 2.0 kernels.
72738         * INSTALL: Regenerated.
72740 2012-05-23  Andreas Jaeger  <aj@suse.de>
72742         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72743         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72744         macro.
72745         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72746         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72747         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72748         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72749         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72750         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72751         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72752         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72753         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72754         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72755         * sysdeps/unix/sysv/linux/bits/in.h
72756         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72758 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72760         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72761         (PREPARE_VERSION): Just use assert instead, it will be elided
72762         under [NDEBUG] anyway.
72764 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72766         * sysdeps/unix/sysv/linux/Makefile: Include
72767         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72768         (sysdep_routines): Remove sysctl.
72769         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72770         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72771         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72772         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72773         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72775 2012-05-22  Andreas Jaeger  <aj@suse.de>
72777         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72778         that pseudo_end is just ret and the stack pointer is correct also
72779         for static library in error case.
72781 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72783         [BZ #14122]
72784         * nss/nsswitch.c (defconfig_entries): New variable.
72785         (__nss_database_lookup): Don't leak defconfig entries.
72786         (nss_parse_service_list): Don't leak on error paths.
72787         (free_database_entries): New function.
72788         (free_defconfig): New function.
72789         (free_mem): Move common code to free_database_entries.
72791 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72794         Add arch_prctl.
72795         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72797         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72798         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72800         New macro.
72801         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72802         (INTERNAL_SYSCALL_TYPES): Likewise.
72803         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72804         (LOAD_REGS_TYPES_[1-6]): Likewise.
72805         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72806         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72808 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72810         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72811         copysignl for GLIBC_2_0.
72812         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72813         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72815         logbl for GLIBC_2_0.
72816         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72817         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72819 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72821         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72822         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72824         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72825         Use "neg %eax".
72827         * time/mktime.c: Update copyright years.
72829 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72831         mktime: merge comment-quoting-style change from gnulib
72832         * time/mktime.c: Quote 'like this' in comments.
72833         The GNU coding standards suggest that we no longer quote `like this',
72834         as "`" and "'" are typically rendered asymmetrically nowadays.
72835         The typical gnulib style is to quote 'like this' when quoting
72836         code, and "like this" when quoting English.
72838         * time/mktime.c (compile-command): Add "-I.".
72840         mktime: merge mktime-internal.h change from gnulib
72841         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72843         mktime: merge time_r change from gnulib
72844         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72846         mktime: merge DEBUG change from gnulib
72847         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72848         case system <time.h> has a #define.
72850         mktime: merge <sys/types.h> change from gnulib
72851         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72852         since <time.t> is now guaranteed to define time_t.
72854         mktime: merge HAVE_CONFIG_H change from gnulib
72855         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72857 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72860         Use "neg %eax".
72862         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72863         __rlim_t cast.
72864         (struct rusage): Use anonymous union to pad each field to
72865         __syscall_slong_t.
72867 2012-05-21  David S. Miller  <davem@davemloft.net>
72869         * Makefules (o-iterator): Remove .s cases.
72870         (compile-command.s): Delete.
72871         (COMPILE.s): Delete.
72872         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72874 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72876         * configure.in (libc_cv_predef_stack_protector): Only consider
72877         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72878         * configure: Regenerated.
72880 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72883         New macro.  Use R*LP on int and pointer.
72884         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72885         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72886         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72887         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72889         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72890         [__WORDSIZE_TIME64_COMPAT32] instead of
72891         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72892         (struct utmp): Likewise.
72893         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72894         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72895         Renamed to ...
72896         (__WORDSIZE_TIME64_COMPAT32): This.
72897         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72898         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72899         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72900         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72901         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72902         (__WORDSIZE_TIME64_COMPAT32): New macro.
72904 2012-05-21  Andreas Jaeger  <aj@suse.de>
72906         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72907         only if [SHARED]. Add prototype for __wcschr_ia32.
72909 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72911         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72912         of %rbp unmolested in the jmp_buf while mangling the low bits.
72913         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72914         unmolested high bits of %rbp while demangling the low bits.
72915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72917 2012-05-21  Andreas Jaeger  <aj@suse.de>
72919         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72920         * sunrpc/svc_simple.c: Use it for registerrpc.
72921         * sunrpc/xcrypt.c: Use it for passwd2des.
72923         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72925 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72927         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72928         Don't define if [__SYSCALL_WORDSIZE != 32].
72929         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72930         New macro.
72932 2012-05-21  Bruno Haible  <bruno@clisp.org>
72933             Andreas Jaeger  <aj@suse.de>
72935         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72936         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72937         inptr and inend for must_buffer_ch.
72938         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72939         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72940         * stdio-common/Makefile (tests): Remove bug15.
72941         (bug15-ENV): Remove macro.
72942         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72943         anymore.
72945 2012-05-19  Andreas Jaeger  <aj@suse.de>
72946             Roland McGrath  <roland@hack.frob.com>
72948         * manual/contrib.texi: Completely rewritten. It contains now an
72949         alphabetical list of contributors and their contributions.
72951 2012-05-21  Richard Henderson  <rth@twiddle.net>
72953         * misc/getauxval.c (__getauxval): Use unsigned long int.
72954         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72955         (getauxval): Use unsigned long int.
72957 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72959         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72961 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72963         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72964         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72965         __alignof__ (long double).
72967 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72971 2012-05-20  Richard Henderson  <rth@twiddle.net>
72973         * misc/getauxval.c: New file.
72974         * misc/sys/auxv.h: New file.
72975         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72976         (routines): Add getauxval.
72977         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72978         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72979         * elf/dl-sysdep.c (_dl_auxv): Remove.
72980         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72981         * elf/dl-support.c (_dl_auxv): New variable.
72982         (_dl_aux_init): Initialize it.
72983         * manual/startup.texi (Auxiliary Vector): New node.
72984         * sysdeps/generic/bits/hwcap.h: New file.
72985         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72986         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72987         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72988         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72989         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72990         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72992         Update.
72993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72996         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73002 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73006 2012-05-19  David S. Miller  <davem@davemloft.net>
73008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73010 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73012         [BZ #14123]
73013         * math/s_ccosh.c: Include <float.h>
73014         (__ccosh): Avoid internal overflow calculating sinh and cosh
73015         values before multiplying by sin and cos values.
73016         * math/s_ccoshf.c: Likewise.
73017         * math/s_ccoshl.c: Likewise.
73018         * math/s_csin.c: Likewise.
73019         * math/s_csinf.c: Likewise.
73020         * math/s_csinl.c: Likewise.
73021         * math/s_csinh.c: Likewise.
73022         * math/s_csinhf.c: Likewise.
73023         * math/s_csinhl.c: Likewise.
73024         * math/libm-test.inc (ccos_test): Add more tests.
73025         (ccosh_test): Likewise.
73026         (csin_test): Likewise.
73027         (csinh_test): Likewise.
73028         * sysdeps/i386/fpu/libm-test-ulps: Update.
73029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73031 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73033         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73034         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73036         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73038 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73040         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73041         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73042         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73043         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73044         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73045         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73046         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73047         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73048         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73049         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73050         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73051         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73052         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73053         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73054         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73055         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73056         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73057         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73058         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73059         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73060         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73061         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73062         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73063         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73064         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73065         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73066         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73067         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73068         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73069         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73070         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73072 2012-05-18  Andreas Jaeger  <aj@suse.de>
73074         * csu/.gitignore: Delete.
73076 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73078         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73079         (timex): Use __syscall_slong_t.
73081 2012-05-18  Andreas Jaeger  <aj@suse.de>
73082             Carlos O'Donell  <carlos_odonell@mentor.com>
73084         * manual/install.texi (Configuring and compiling): Update
73085         description about files modified in the source directory.
73086         * INSTALL: Regenerated.
73088 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73090         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73091         value.  Use "or" to set return value to -1.
73092         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73093         negate return value.
73095 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73097         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73098         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73099         failure if the compiler has Graphite support disabled.
73100         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73101         Likewise.
73102         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73103         (CFLAGS-memmove.c): Likewise.
73104         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73105         Likewise.
73107 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73109         * sysdeps/x86_64/x32/_itoa.h: New file.
73111         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73112         getdents system call only if kernel and user dirents have the
73113         same d_ino and d_off.
73115         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73116         LLONG_MAX != LONG_MAX.
73117         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73118         (_fitoa_word): Likewise.
73120         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73121         years.
73122         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73123         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73124         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73126         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73127         include <bits/wordsize.h>.  Check __x86_64__ instead of
73128         __WORDSIZE.
73129         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73130         if __x86_64__ is defined.  Use anonymous union on fpstate.
73132         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73133         anonymous union.
73135 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73137         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73138         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73139         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73140         Refer to _rtld_local_ro instead of _rtld_global_ro.
73141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73142         Likewise.
73143         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73144         Likewise.
73145         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73146         Likewise.
73147         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73148         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73149         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73151         [BZ #10882]
73152         * sysdeps/powerpc/powerpc32/dl-machine.c
73153         (__elf_machine_runtime_setup) [PROF]: Don't reference
73154         _dl_prof_resolve.
73156 2012-05-18  Andreas Jaeger  <aj@suse.de>
73158         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73159         function only available for GCCs before 3.4 since GCC 3.4
73160         introduced a builtin.
73161         (lrint): Likewise.
73162         (llrintf): Likewise.
73163         (llrint): Likewise.
73164         (fmaxf): Likewise.
73165         (fmax): Likewise.
73166         (fminf): Likewise.
73167         (fmin): Likewise.
73168         (rint): Likewise.
73169         (rintf): Likewise.
73170         (nearbyint): Likewise.
73171         (nearbyintf): Likewise.
73172         (ceil): Likewise.
73173         (ceilf): Likewise.
73174         (floor): Likewise.
73175         (floorf): Likewise.
73177 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73179         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73180         on both fields and cast pointer to __syscall_ulong_t.
73182         * bits/types.h (__fsword_t): New type.
73183         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73184         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73185         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73186         (__FSWORD_T_TYPE): Likewise.
73187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73188         (__FSWORD_T_TYPE): Likewise.
73189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73190         (__FSWORD_T_TYPE): Likewise.
73191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73192         (__FSWORD_T_TYPE): Likewise.
73193         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73194         __SWORD_TYPE with __fsword_t.
73195         (statfs64): Likewise.
73197 2012-05-17  David S. Miller  <davem@davemloft.net>
73199         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73201 2012-05-17  Andreas Jaeger  <aj@suse.de>
73203         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73204         warning.
73206 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73208         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73210 2012-05-17  Andreas Jaeger  <aj@suse.de>
73212         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73213         when it is used.
73215 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73217         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73219 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73221         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73222         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73224 2012-05-17  Andreas Jaeger  <aj@suse.de>
73225             Carlos O'Donell  <carlos_odonell@mentor.com>
73227         [BZ #14059]
73228         * sysdeps/x86_64/multiarch/init-arch.h
73229         (bit_YMM_Usable): Rename to...
73230         (bit_AVX_Usable): ... this.
73231         (bit_FMA4_Usable): New macro.
73232         (bit_XMM_state): New macro.
73233         (bit_YMM_state): New macro.
73234         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73235         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73236         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73237         (CPUID_OSXSAVE): New macro.
73238         (CPUID_AVX): New macro.
73239         (CPUID_FMA4): New macro.
73240         (index_YMM_Usable): Rename to...
73241         (index_AVX_Usable): ... this.
73242         (HAS_AVX): Use HAS_ARCH_FEATURE.
73243         (HAS_FMA4): Likewise.
73244         (HAS_YMM_USABLE): Remove.
73245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73246         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73247         are present.
73248         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73249         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73250         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73251         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73252         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73254 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73256         * math/libm-test.c: Support platforms without multiple rounding modes.
73257         * math/bug-nextafter.c: Support platforms without FP exceptions.
73258         * math/bug-nexttoward.c: Likewise.
73259         * math/test-fenv.c: Likewise.
73260         * math/test-misc.c: Likewise.
73261         * stdlib/bug-getcontext.c: Likewise.
73263 2012-05-17  Andreas Jaeger  <aj@suse.de>
73265         * manual/examples/search.c (critter_cmp): Change signature to
73266         avoid warnings.
73267         * manual/string.texi (Collation Functions): Likewise.
73269 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73271         * bits/types.h: Fold copyright years.
73272         * bits/typesizes.h: Likewise.
73273         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73274         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73277         * time/time.h: Likewise.
73279 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73281         [BZ #208]
73282         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73283         in instead of returning them.  Return void.
73284         (__libc_mallinfo): Accumulate over all arenas.
73285         (__malloc_stats): Adjust for change in int_mallinfo interface.
73287 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73289         [BZ #10375]
73290         * configure.in (NM): Add AC_CHECK_TOOL for it.
73291         (libc_extra_cflags): New substituted variable.
73292         Check for -fstack-protector being used implicitly.
73293         * configure: Regenerated.
73294         * config.make.in (config-extra-cflags): New variable,
73295         gets @libc_extra_cflags@.
73296         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73298         [BZ #10375]
73299         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73300         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73301         * configure: Regenerated.
73302         * config.make.in (CPPUNDEFS): New substituted variable.
73303         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73304         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73305         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73307 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73309         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73310         (mq_attr): Use __syscall_slong_t.
73312 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73314         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73315         Check __x86_64__ instead of __WORDSIZE.
73316         (_STAT_VER_LINUX): Likewise.
73317         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73318         __syscall_ulong_t and __syscall_slong_t.
73319         (stat64): Likewise.
73321 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73323         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73325 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73327         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73329 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73331         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73332         __syscall_ulong_t.
73334         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73335         include <bits/wordsize.h>.  Check __x86_64__ instead of
73336         __WORDSIZE.
73337         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73338         defined.
73339         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73341         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73342         include <bits/wordsize.h>.  Check __x86_64__ instead of
73343         __WORDSIZE.
73344         (user_regs_struct): Use "__extension__ unsigned long long"
73345         instead of "unsigned long" if __x86_64__ is defined.
73346         (user): Likewise.  Pad after pointer field if __ILP32__ is
73347         defined.
73349 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73351         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73352         versions 5 to 9.
73353         * configure: Regenerated.
73354         * manual/install.texi (texinfo): Increase version requirement to
73355         4.5 or later.
73356         * INSTALL: Regenerated.
73358         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73360 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73362         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73364         * sysdeps/x86_64/x32/ffs.c: New file.
73366         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73367         __syscall_ulong_t.
73368         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73369         defined.  Use __syscall_ulong_t.
73370         (shminfo): Use __syscall_ulong_t.
73371         (shm_info): Likewise.
73373         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73374         __syscall_ulong_t.
73376         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73377         <bits/wordsize.h>.
73378         (msgqnum_t): Use __syscall_ulong_t.
73379         (msglen_t): Likewise.
73380         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73381         __syscall_ulong_t.
73383         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73384         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73386         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73388         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73389         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73391         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73392         __syscall_slong_t.
73394         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73395         include <bits/wordsize.h>.  Check __x86_64__ instead of
73396         __WORDSIZE.
73398         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73399         "unsigned long long int" if __x86_64__ is defined.
73400         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73402         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73403         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73404         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73406         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73407         <stdint.h>.
73408         (GET_PC): Cast to uintptr_t first.
73409         (GET_FRAME): Likewise.
73410         (GET_STACK): Likewise.
73412         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73413         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73414         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73415         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73416         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73417         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73418         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73419         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73420         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73421         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73422         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73423         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73424         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73425         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73426         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73427         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73428         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73429         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73430         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73431         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73432         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73433         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73435         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73437         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73438         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73439         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73440         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73442 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73444         * Makerules (+depfiles): Also collect depfiles from .oS in
73445         $(extra-objs).
73446         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73447         .oS, $(libnldbl-routines)).
73449         * Makerules (native-compile-mkdep-flags): Define.
73450         * sunrpc/Makefile (extra-objs): Add $(addprefix
73451         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73452         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73453         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73454         calling $(make-target-directory).
73456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73458         * bits/types.h (__snseconds_t): Removed.
73459         * time/time.h (struct timespec): Replace __snseconds_t with
73460         __syscall_slong_t.
73461         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73462         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73463         Likewise.
73464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73465         (__SNSECONDS_T_TYPE): Likewise.
73466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73467         (__SNSECONDS_T_TYPE): Likewise.
73468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73469         (__SNSECONDS_T_TYPE): Likewise.
73471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73473         * sysdeps/mach/hurd/bits/typesizes.h
73474         (__SYSCALL_SLONG_TYPE): New macro.
73475         (__SYSCALL_ULONG_TYPE): Likewise.
73477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73479         * bits/types.h (__syscall_slong_t): New type.
73480         (__syscall_ulong_t): Likewise.
73482         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73483         (__SYSCALL_ULONG_TYPE): Likewise.
73484         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73485         (__SYSCALL_SLONG_TYPE): Likewise.
73486         (__SYSCALL_ULONG_TYPE): Likewise.
73487         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73488         (__SYSCALL_SLONG_TYPE): Likewise.
73489         (__SYSCALL_ULONG_TYPE): Likewise.
73490         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73491         (__SYSCALL_SLONG_TYPE): Likewise.
73492         (__SYSCALL_ULONG_TYPE): Likewise.
73494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73496         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73497         Add sigaltstack-offsets.sym.
73498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73499         <sigaltstack-offsets.h>.
73500         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73501         longjmp_msg pointer.
73502         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73503         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73504         signal stack.
73505         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73507 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73509         * elf/stackguard-macros.h: Remove file.
73510         * sysdeps/generic/stackguard-macros.h: New file.
73511         * sysdeps/i386/stackguard-macros.h: Likewise.
73512         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73513         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73514         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73515         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73516         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73517         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73518         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73519         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73520         <elf/stackguard-macros.h>.
73522         [BZ #14109]
73523         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73524         __aligned__ in attribute.
73525         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73526         (gregset_t): Likewise.
73528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73530         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73531         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73532         * sysdeps/x86_64/x32/Implies-after: New file.
73534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73536         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73537         and access return value for _dl_profile_fixup.  Use R10_LP to
73538         load frame size.
73540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73542         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73546         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73547         * sysdeps/x86_64/x32/sysdep.h: New file.
73549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73551         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73552         * sysdeps/x86_64/setjmp.S: Likewise.
73554 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73556         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73557         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73558         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73559         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73560         remove unused global constant.
73562 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73564         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73565         include of <not-cancel.h>.
73567 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73569         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73571 2012-05-15  Jeff Law  <law@redhat.com>
73572             Andreas Jaeger  <aj@suse.de>
73574         [BZ #13594]
73575         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73576         out from...
73577         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73578         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73579         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73580         code changing __hst_map_handle.map.
73582 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73584         * configure.in (sysnames): Look for Implies-before and Implies-after
73585         files.
73586         * configure: Regenerated.
73588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73590         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73591         8-byte data alignment with LP_SIZE alignment.
73593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73595         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73596         into R10_LP.
73598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73600         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73604         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73605         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73606         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73607         Likewise.
73608         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73612         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73613         (stackinfo_sub_sp): Likewise.
73615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73617         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73618         RAX_LP.
73620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73622         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73623         into R*_LP.
73625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73627         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73628         sizes into R*_LP.
73630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73632         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73636         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73637         into R11_LP and load __x86_64_shared_cache_size_half into
73638         R8_LP.
73640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73642         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73643         R8_LP.
73645 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73647         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73648         logb for POWER7.
73649         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73650         logbf for POWER7.
73651         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73652         logbl for POWER7.
73653         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73654         powerpc32/power7/fpu/s_logb.c via #include.
73655         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73656         powerpc32/power7/fpu/s_logbf.c via #include.
73657         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73658         powerpc32/power7/fpu/s_logbl.c via #include.
73660 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73662         * README.libm: Remove file.
73664 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73666         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73667         count for x32.  Use R*_LP and omit operand-size suffix.
73669 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73671         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73672         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73673         * sysdeps/x86_64/x32/shlib-versions: New file.
73675 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73677         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73678         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73679         Use _dl_fatal_printf instead.
73681 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73683         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73684         set if not set by the user.  Do not allow for being unset.
73685         * sysdeps/unix/sysv/linux/configure: Regenerated.
73687 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73689         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73690         the `q' suffix from lea and replace .quad with ASM_ADDR.
73692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73694         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73695         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73696         instead of $17.
73697         (PTR_DEMANGLE): Likewise.
73699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73701         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73702         (LP_OP): Likewise.
73703         (ASM_ADDR): Likewise.
73704         (RAX_LP): Likewise.
73705         (RBP_LP): Likewise.
73706         (RBX_LP): Likewise.
73707         (RCX_LP): Likewise.
73708         (RDI_LP): Likewise.
73709         (RSI_LP): Likewise.
73710         (RSP_LP): Likewise.
73711         (R8_LP): Likewise.
73712         (R9_LP): Likewise.
73713         (R10_LP): Likewise.
73714         (R10_LP): Likewise.
73715         (R11_LP): Likewise.
73716         (R12_LP): Likewise.
73717         (R13_LP): Likewise.
73718         (R14_LP): Likewise.
73719         (R15_LP): Likewise.
73721 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73723         * sysdeps/x86_64/x32/dl-machine.h: New file.
73725 2012-05-14  Andreas Jaeger  <aj@suse.de>
73727         * manual/Makefile (subdir): Remove export of subdir.
73728         (all): Remove target.
73729         (.PHONY): Remove all from list.
73730         (mkinstalldirs): Remove.
73731         (.PHONY): Remove installdirs from list.
73732         ($(inst_infodir)/libc.info): Use make-target-directory.
73733         (installdirs): Remove.
73734         (subdir_%): Remove.
73735         (glibc-targets): Remove.
73736         (lib): Remove.
73737         (stubs): Remove.
73738         ($(objpfx)stubs ../po/manual.pot): Remove.
73739         ($(objpfx)stamp%): Remove.
73740         (make-target-directory): Remove.
73741         (subdir_install): Remove.
73742         (routines): Remove.
73743         (aux): Remove.
73744         (sources): Remove.
73745         (objects): Remove.
73746         (headers): Remove.
73748         [BZ #13750]
73749         * manual/.gitignore: Remove, it's not needed anymore.
73750         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73751         all files in it.
73752         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73753         directory.
73754         (texis): Renamed to $(objpfx)texis.
73755         (texis-path): New, contains path to generated files.
73756         (chapters.%): Use texis-path for complete path, add extra argument
73757         libc-texinfo.sh.
73758         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73759         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73760         (summary,texi, stamp-summary): Use complete path of
73761         files. Generate files in build dir.
73762         (dir-add.texi): Build in build dir.
73763         (libm-err.texi,stamp-libm-err): Likewise.
73764         (version.texi, stamp-version): Likewise.
73765         (.%c.texi): Likewise.
73766         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73767         (mostlyclean): Remove target.
73768         (realclean): Remove target.
73769         (generated): Add new variable with contents from mostlyclean and
73770         realclean, remove entries duplicated in common-mostlyclean, add
73771         stamp-libm-err and stamp-version.
73772         (generated-dirs): Add libc directory.
73773         ($(inst_infodir)/libc.info): Install files from build dir.
73775         * manual/install.texi (Configuring and compiling): Adjust since
73776         the info files are not part of the tar ball anymore.
73778 2012-05-14  Andreas Jaeger  <aj@suse.de>
73780         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73781         variable.
73783 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73785         [BZ #13717]
73786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73787         to 2.2.0 where earlier.
73788         * sysdeps/unix/sysv/linux/configure: Regenerated.
73789         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73790         Remove conditional code.
73791         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73792         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73793         Remove conditional code.
73794         [!__NR_lchown]: Likewise.
73795         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73796         [__NR_lchown]: Likewise.
73797         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73798         comment referencing __ASSUME_LCHOWN_SYSCALL.
73799         * sysdeps/unix/sysv/linux/i386/sigaction.c
73800         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73801         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73802         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73803         Remove conditional code.
73804         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73805         (__protocol_available): Remove #if 0 code.
73806         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73807         conditional code.
73808         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73809         * sysdeps/unix/sysv/linux/kernel-features.h
73810         (__ASSUME_GETCWD_SYSCALL): Don't define.
73811         (__ASSUME_REALTIME_SIGNALS): Likewise.
73812         (__ASSUME_PREAD_SYSCALL): Likewise.
73813         (__ASSUME_PWRITE_SYSCALL): Likewise.
73814         (__ASSUME_POLL_SYSCALL): Likewise.
73815         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73816         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73817         non-SPARC.
73818         (__ASSUME_SIOCGIFNAME): Don't define.
73819         (__ASSUME_MSG_NOSIGNAL): Likewise.
73820         (__ASSUME_SENDFILE): Define unconditionally.
73821         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73822         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73823         conditional code.
73824         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73825         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73826         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73827         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73828         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73829         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73830         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73832         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73833         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73835         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73838         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73841         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73844         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73847         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73850         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73851         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73855         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73856         Remove conditional code.
73857         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73858         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73859         Remove conditional code.
73860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73861         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73862         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73863         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73864         Remove conditional code.
73865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73866         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73867         Remove conditional code.
73868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73869         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73870         Remove conditional code.
73871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73872         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73873         Remove conditional code.
73874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73875         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73876         Remove conditional code.
73877         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73878         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73879         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73881         * sysdeps/unix/sysv/linux/sigaction.c
73882         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73883         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73884         * sysdeps/unix/sysv/linux/sigpending.c
73885         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73886         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73887         * sysdeps/unix/sysv/linux/sigprocmask.c
73888         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73889         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73890         * sysdeps/unix/sysv/linux/sigsuspend.c
73891         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73892         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73893         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73894         (__libc_missing_rt_sigs): Remove.
73895         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73896         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73897         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73898         Remove conditional code.
73899         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73900         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73901         return 1.
73902         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73903         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73904         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73905         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73907 2012-05-14  Andreas Jaeger  <aj@suse.de>
73909         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73910         it's not used in glibc.
73911         (__coshm1): Likewise.
73912         (__acosh1p): Likewise.
73913         (__sgn): Likewise.
73915         * manual/string.texi (Copying and Concatenation): Add missing
73916         variable in concat example.
73917         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73921         [BZ #14103]
73922         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73923         __builtin_clzl with __builtin_clzll.
73925 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73927         [BZ #14104]
73928         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73929         libc_freeres_ptr.
73931 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73933         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73934         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73935         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73936         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73938 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73940         * NEWS: Update ia64 info.
73942 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73944         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73945         used as bcopy.
73947 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73949         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73950         * sysdeps/unix/syscalls.list (dup3): Likewise.
73951         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73952         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73954 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73956         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73957         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73959 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73961         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73962         thread pointer.
73963         (TLS_IE): Use mov/add instead of movq/addq to load thread
73964         pointer.
73965         (TLS_GD_PREFIX): New.
73966         (TLS_GD): Use it.
73968 2012-05-11  David S. Miller  <davem@davemloft.net>
73970         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73971         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73972         (_FPU_SETCW): Likewise.
73974 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73976         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73977         is 32-byte aligned.
73979 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73981         [BZ #11837]
73982         * iconvdata/gb18030.c: Update tables.
73983         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73984         characters specially.
73985         (BODY for TO_LOOP): Add encoding of missing ranges.
73987 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73989         [BZ #13673]
73990         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73991         * sysdeps/mach/hurd/dup3.c: Likewise.
73992         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73993         * sysdeps/powerpc/memmove.c:: Likewise.
73995 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73998         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74000 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74002         * elf/elf.h (R_X86_64_RELATIVE64): New.
74003         (R_X86_64_NUM): Updated.
74004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74005         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74006         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74007         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74008         tst-quad1pie tst-quad2pie
74009         (modules-names): Add tst-quadmod1 tst-quadmod2.
74010         ($(objpfx)tst-quad1): New dependency.
74011         ($(objpfx)tst-quad2): Likewise.
74012         ($(objpfx)tst-quad1pie): Likewise.
74013         ($(objpfx)tst-quad2pie): Likewise.
74014         * sysdeps/x86_64/tst-quad1.c: New file.
74015         * sysdeps/x86_64/tst-quad1pie.c: New file.
74016         * sysdeps/x86_64/tst-quad2.c: Likewise.
74017         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74018         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74019         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74020         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74021         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74025         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74026         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74027         * streams/stropts.h (t_scalar_t): Define type.
74029         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74030         (_PATH_PRESERVE): Set to "/var/lib".
74031         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74033         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74034         instead of int.
74036         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74037         if __dir_mkfile succeeded.
74039         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74040         checking for _hurd_dtablesize.  Unlock it right after having
74041         finished _hurd_dtable allocation.
74043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74045         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74046         * sysdeps/mach/hurd/configure: Regenerated.
74047         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74048         special-casing to...
74049         * sysdeps/gnu/configure.in: ... this new file.
74050         * sysdeps/unix/sysv/linux/configure: Regenerated.
74051         * sysdeps/gnu/configure: New generated file.
74053         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74054         for Linux: use nsec instead of usec, as well as:
74055         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74056         members of type struct timespec.
74057         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74058         New macros.
74059         (struct stat64): Likewise.
74060         (_STATBUF_ST_NSEC): New macro.
74061         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74063         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74064         __strtoul_internal rather than strtoul.
74066 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74068         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74069         and reject them.
74071 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74073         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74074         which preserves existing values.
74075         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74077 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74079         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74080         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74081         greater than FD_SETSIZE.
74083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74085         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74086         allocated, call __vm_protect to finish enabling the existing space, and
74087         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74088         allocate the remainder.
74090 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74092         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74093         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74097         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74098         sysdeps/mach/hurd/readlink.c.
74100         * posix/tst-sysconf.c (posix_options): Only use
74101         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74102         _POSIX_SYNCHRONIZED_IO when they are defined
74103         * sysdeps/mach/hurd/bits/posix_opt.h:
74104         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74105         (_XOPEN_REALTIME): Undefine macro.
74106         (_XOPEN_REALTIME_THREADS): Undefine macro.
74107         (_XOPEN_SHM): Undefine macro.
74108         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74109         macro to -1.
74110         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74111         macro to -1.
74112         (_POSIX_ASYNC_IO): Undefine macro.
74113         (_POSIX_PRIORITIZED_IO): Undefine macro.
74114         (_POSIX_SPIN_LOCKS): Define macro to -1.
74116         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74117         SA_NODEFER, SA_RESETHAND.
74118         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74119         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74120         F_DUPFD_CLOEXEC.
74122 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74124         * elf/Makefile (pldd-modules): Define unconditionally.
74126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74128         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74130 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74132         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74133         Return ENOENT when name is empty.
74134         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74136 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74138         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74140         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74144         Fix mlock in all cases except non-readable pages.
74145         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74146         instead of VM_PROT_ALL as parameter to __vm_wire function.
74148         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74149         (__mkdir): When path is `/', just fail with EEXIST.
74150         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74152 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74154         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74155         <sys/uio.h> (for writev).
74156         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74157         and <sys/param.h> (for MIN).
74159 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74161         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74162         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74163         if interrupted.
74165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74167         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74168         Depend on against $(link-rpcuserlibs).
74170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74172         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74173         (__libc_stack_end): Do not use attribute_relro.
74174         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74175         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74176         to libthread-provided value.
74177         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74178         attribute_relro.
74180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74182         [BZ #3748]
74183         * bits/libc-lock.h (__libc_once_get): New macro.
74184         * sysdeps/mach/bits/libc-lock.h: Likewise.
74185         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74187         instead of using implementation details.
74189         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74190         * libio/freopen.c: Likewise.
74191         * libio/freopen64.c: Likewise.
74192         * misc/syslog.c: Likewise.
74193         * nscd/connections.c: Likewise.
74194         * nscd/netgroupcache.c: Likewise.
74195         * sysdeps/posix/getcwd.c: Likewise.
74197 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74199         * math/w_ilogbf.c: Add #include <limits.h>.
74201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74203         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74204         path instead of returning without unlocking.
74206         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74207         immediate-write ioctls.
74208         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74212         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74213         __builtin_frame_address instead of making assumptions about the
74214         location of the return address relative to DATA.  Force early load of
74215         the return address.
74216         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74217         __builtin_frame_address.
74219         dup3 for GNU Hurd.
74220         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74221         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74222         implement dup3 and do some further code clean-ups.
74223         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74224         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74228         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74230         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74231         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74232         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74233         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74234         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74235         d->port.lock.
74237         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74238         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74239         when handler == SIG_ERR, not when handler != SIG_ERR.
74241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74243         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74244         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74245         definitions.
74247         accept4 for GNU Hurd.
74248         * include/sys/socket.h (__libc_accept4): New prototype.
74249         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74250         to implement __libc_accept4.
74251         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74252         __libc_accept4.
74253         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74255         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74256         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74257         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74258         signal-defines.sym.
74260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74262         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74266         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74267         assertion on O_CLOEXEC flag.
74268         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74269         * hurd/intern-fd.c: Likewise.
74270         * hurd/port2fd.c: Likewise.
74272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74274         [BZ #3906]
74275         * bits/in.h (IPV6_PKTINFO): Define new macro.
74276         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74278 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74280         [BZ #13954]
74281         [BZ #13955]
74282         [BZ #13956]
74283         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74284         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74285         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74286         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74287         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74288         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74289         * math/libm-test.inc (logb_test) : Additional logb tests.
74291 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74292             Andreas Jaeger  <aj@suse.de>
74294         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74295         * configure: Regenerated.
74296         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74297         * config.make.in (link-obsolete-rpc): New substituted variable.
74298         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74299         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74300         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74301         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74302         so that libc.a contains the symbols.
74303         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74304         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74305         * sunrpc/auth_none.c: Likewise.
74306         * sunrpc/auth_unix.c: Likewise.
74307         * sunrpc/authdes_prot.c: Likewise.
74308         * sunrpc/authuxprot.c: Likewise.
74309         * sunrpc/clnt_gen.c: Likewise.
74310         * sunrpc/clnt_perr.c: Likewise.
74311         * sunrpc/clnt_raw.c: Likewise.
74312         * sunrpc/clnt_simp.c: Likewise.
74313         * sunrpc/clnt_tcp.c: Likewise.
74314         * sunrpc/clnt_udp.c: Likewise.
74315         * sunrpc/clnt_unix.c: Likewise.
74316         * sunrpc/des_crypt.c: Likewise.
74317         * sunrpc/des_soft.c: Likewise.
74318         * sunrpc/get_myaddr.c: Likewise.
74319         * sunrpc/key_call.c: Likewise.
74320         * sunrpc/key_prot.c: Likewise.
74321         * sunrpc/netname.c: Likewise.
74322         * sunrpc/pm_getmaps.c: Likewise.
74323         * sunrpc/pm_getport.c: Likewise.
74324         * sunrpc/pmap_clnt.c: Likewise.
74325         * sunrpc/pmap_prot.c: Likewise.
74326         * sunrpc/pmap_prot2.c: Likewise.
74327         * sunrpc/pmap_rmt.c: Likewise.
74328         * sunrpc/publickey.c: Likewise.
74329         * sunrpc/rpc_cmsg.c: Likewise.
74330         * sunrpc/rpc_common.c: Likewise.
74331         * sunrpc/rpc_dtable.c: Likewise.
74332         * sunrpc/rpc_prot.c: Likewise.
74333         * sunrpc/rpc_thread.c: Likewise.
74334         * sunrpc/rtime.c: Likewise.
74335         * sunrpc/svc.c: Likewise.
74336         * sunrpc/svc_auth.c: Likewise.
74337         * sunrpc/svc_raw.c: Likewise.
74338         * sunrpc/svc_run.c: Likewise.
74339         * sunrpc/svc_tcp.c: Likewise.
74340         * sunrpc/svc_udp.c: Likewise.
74341         * sunrpc/svc_unix.c: Likewise.
74342         * sunrpc/svcauth_des.c: Likewise.
74343         * sunrpc/xcrypt.c: Likewise.
74344         * sunrpc/xdr.c: Likewise.
74345         * sunrpc/xdr_array.c: Likewise.
74346         * sunrpc/xdr_float.c: Likewise.
74347         * sunrpc/xdr_intXX_t.c: Likewise.
74348         * sunrpc/xdr_mem.c: Likewise.
74349         * sunrpc/xdr_rec.c: Likewise.
74350         * sunrpc/xdr_ref.c: Likewise.
74351         * sunrpc/xdr_sizeof.c: Likewise.
74352         * sunrpc/xdr_stdio.c: Likewise.
74354 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74357         change.  Update copyright years.
74359 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74361         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74363 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74364             Joseph Myers  <joseph@codesourcery.com>
74365             Paul Pluzhnikov  <ppluzhnikov@google.com>
74367         [BZ #14012]
74368         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74369         requiring rpcgen.
74370         [cross-compiling] (extra-libs): Likewise.
74371         [cross-compiling] (extra-libs-others): Likewise.
74372         [cross-compiling] (librpcsvc-routines): Likewise.
74373         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74374         [cross-compiling] (omit-deps): Likewise.
74375         (sunrpc-CPPFLAGS): New variable.
74376         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74377         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74378         (cross-rpcgen-objs): New variable.
74379         (extra-objs): Append $(cross-rpcgen-objs).
74380         ($(cross-rpcgen-objs)): New rule.
74381         ($(objpfx)cross-rpcgen): Likewise.
74382         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74383         comment.
74384         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74385         ($(objpfx)x%.stmp): Likewise.
74386         * sunrpc/proto.h [IS_IN_build] (_): Define.
74387         [IS_IN_build] (_libc_intl_domainname): Likewise.
74389 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74391         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74392         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74393         and R_X86_64_TPOFF64.
74395 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74397         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74398         sysdeps/unix/sysv/syscalls.list.
74399         (stime): Likewise.
74400         (utime): Likewise.
74401         * sysdeps/unix/sysv/syscalls.list: Remove file.
74403 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74405         [BZ #3440]
74406         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74407         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74408         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74409         (__LC_IDENTIFICATION): Make these macros useful in #if
74410         expressions, as required by C99.
74412 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74414         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74415         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74416         after this.
74418 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74420         * stdlib/longlong.h: Updated from GCC.
74422 2012-05-09  Andreas Jaeger  <aj@suse.de>
74424         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74425         default is first entry.
74426         (run_mode): Set type.
74427         (main): Remove informal message about syslog.
74428         (options): Fix typo.
74430         [BZ #14053]
74431         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74432         to asm.
74433         (lrint): Likewise.
74434         (llrintf): Likewise.
74435         (llrint): Likewise.
74436         (rint): Likewise.
74437         (rintf): Likewise.
74438         (nearbyint): Likewise.
74439         (nearbyintf): Likewise.
74441 2012-05-09  Andreas Jaeger  <aj@suse.de>
74442             Pedro Alves  <palves@redhat.com>
74444         * nscd/nscd.c (run_mode): Use enum.
74445         (main): Cleanup coding style issue.
74447 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74448             Andreas Jaeger  <aj@suse.de>
74450         * nscd/nscd.c (go_background): Replaced with...
74451         (run_mode): ... this.
74452         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74453         (options): Add -F --foreground.
74454         (main): Implement it.
74455         (parse_opt): Parse it.
74457 2012-05-09  Andreas Jaeger  <aj@suse.de>
74459         [BZ #14083]
74460         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74461         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74462         -Wconversion warning.
74463         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74464         Likewise.
74466 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74468         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74469         == 0.
74470         (LC_ALL): Use macro-int-constant.
74471         (LC_COLLATE): Likewise.
74472         (LC_CTYPE): Likewise.
74473         (LC_MESSAGES): Likewise.
74474         (LC_MONETARY): Likewise.
74475         (LC_NUMERIC): Likewise.
74476         (LC_TIME): Likewise.
74477         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74478         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74479         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74480         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74481         Specify type.
74482         [C99-based standards] (float_t): Expect type.
74483         [C99-based standards] (double_t): Expect type.
74484         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74485         type.
74486         [C99-based standards] (HUGE_VALL): Likewise.
74487         [C99-based standards] (INFINITY): Likewise.
74488         [C99-based standards] (NAN): Likewise.
74489         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74490         [C99-based standards] (FP_NAN): Likewise.
74491         [C99-based standards] (FP_NORMAL): Likewise.
74492         [C99-based standards] (FP_SUBNORMAL): Likewise.
74493         [C99-based standards] (FP_ZERO): Likewise.
74494         [C99-based standards] (FP_FAST_FMA): Use
74495         optional-macro-int-constant.  Specify type.  Require == 1.
74496         [C99-based standards] (FP_FAST_FMAF): Likewise.
74497         [C99-based standards] (FP_FAST_FMAL): Likewise.
74498         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74499         [C99-based standards] (FP_ILOGBNAN): Likewise.
74500         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74501         Specify type.
74502         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74503         [C99-based standards] (math_errhandling): Specify type.
74504         [ISO99 || ISO11] (signgam): Do not allow.
74505         [non-C99-based standards] (copysignf): Do not allow.
74506         [non-C99-based standards] (exp2f): Likewise.
74507         [non-C99-based standards] (log2f): Likewise.
74508         [non-C99-based standards] (modff): Allow.
74509         [non-C99-based standards] (erff): Do not allow.
74510         [non-C99-based standards] (erfcf): Likewise.
74511         [non-C99-based standards] (gammaf): Likewise.
74512         [non-C99-based standards] (hypotf): Likewise.
74513         [non-C99-based standards] (j0f): Likewise.
74514         [non-C99-based standards] (j1f): Likewise.
74515         [non-C99-based standards] (jnf): Likewise.
74516         [non-C99-based standards] (lgammaf): Likewise.
74517         [non-C99-based standards] (tgammaf): Likewise.
74518         [non-C99-based standards] (y0f): Likewise.
74519         [non-C99-based standards] (y1f): Likewise.
74520         [non-C99-based standards] (ynf): Likewise.
74521         [non-C99-based standards] (isnanf): Likewise.
74522         [non-C99-based standards] (acoshf): Likewise.
74523         [non-C99-based standards] (asinhf): Likewise.
74524         [non-C99-based standards] (atanhf): Likewise.
74525         [non-C99-based standards] (cbrtf): Likewise.
74526         [non-C99-based standards] (expm1f): Likewise.
74527         [non-C99-based standards] (ilogbf): Likewise.
74528         [non-C99-based standards] (log1pf): Likewise.
74529         [non-C99-based standards] (logbf): Likewise.
74530         [non-C99-based standards] (nextafterf): Likewise.
74531         [non-C99-based standards] (remainderf): Likewise.
74532         [non-C99-based standards] (rintf): Likewise.
74533         [non-C99-based standards] (scalbf): Likewise.
74534         [non-C99-based standards] (copysignl): Likewise.
74535         [non-C99-based standards] (exp2l): Likewise.
74536         [non-C99-based standards] (log2l): Likewise.
74537         [non-C99-based standards] (modfl): Allow.
74538         [non-C99-based standards] (erfl): Do not allow.
74539         [non-C99-based standards] (erfcl): Likewise.
74540         [non-C99-based standards] (gammal): Likewise.
74541         [non-C99-based standards] (hypotl): Likewise.
74542         [non-C99-based standards] (j0l): Likewise.
74543         [non-C99-based standards] (j1l): Likewise.
74544         [non-C99-based standards] (jnl): Likewise.
74545         [non-C99-based standards] (lgammal): Likewise.
74546         [non-C99-based standards] (tgammal): Likewise.
74547         [non-C99-based standards] (y0l): Likewise.
74548         [non-C99-based standards] (y1l): Likewise.
74549         [non-C99-based standards] (ynl): Likewise.
74550         [non-C99-based standards] (isnanl): Likewise.
74551         [non-C99-based standards] (acoshl): Likewise.
74552         [non-C99-based standards] (asinhl): Likewise.
74553         [non-C99-based standards] (atanhl): Likewise.
74554         [non-C99-based standards] (cbrtl): Likewise.
74555         [non-C99-based standards] (expm1l): Likewise.
74556         [non-C99-based standards] (ilogbl): Likewise.
74557         [non-C99-based standards] (log1pl): Likewise.
74558         [non-C99-based standards] (logbl): Likewise.
74559         [non-C99-based standards] (nextafterl): Likewise.
74560         [non-C99-based standards] (remainderl): Likewise.
74561         [non-C99-based standards] (rintl): Likewise.
74562         [non-C99-based standards] (scalbl): Likewise.
74563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74564         [non-C99-based standards] (FP_*): Do not allow.
74565         [C99-based standards] (FP_*): Change to
74566         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74567         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74568         allow.
74569         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74570         (SIG_ERR): Likewise.
74571         [X/Open-based standards] (SIG_HOLD): Likewise.
74572         (SIG_IGN): Likewise.
74573         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74574         positive value.
74575         (SIGFPE): Likewise.
74576         (SIGILL): Likewise.
74577         (SIGINT): Likewise.
74578         (SIGSEGV): Likewise.
74579         (SIGTER): Likewise.
74580         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74581         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74582         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74583         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74584         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74585         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74586         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74587         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74588         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74589         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74590         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74591         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74592         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74593         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74594         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74595         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74596         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74597         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74598         [X/Open-based standards] (SIGTRAP): Likewise.
74599         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74600         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74601         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74602         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74603         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74604         allow.
74606 2012-05-08  Ian Wienand  <ianw@vmware.com>
74608         [BZ #14080]
74609         * time/tzset.c (__tzset_parse_tz): Update default rules for
74610         daylight time changes in the Energy Policy Act of 2005.
74612 2012-05-09  Andreas Jaeger  <aj@suse.de>
74614         [BZ #13983]
74615         * elf/ldconfig.c (parse_conf): Change string to make clear that
74616         ldconfig only issued a warning if ld.so.conf does not exist.
74618 2012-05-08  David S. Miller  <davem@davemloft.net>
74620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74621         movxtod instead of popping the value on the stack.
74623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74625 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74627         * config.h.in: Add HAVE_ARM_PCS_VFP.
74629 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74631         [BZ #13979]
74632         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74633         checking but the checks are disabled for any reason.
74635 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74637         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74638         and ELF64_R_TYPE with ELFW(R_TYPE).
74640 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74642         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74643         (ulimit): Likewise.
74645         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74646         (settimeofday): Likewise.
74648 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74650         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74651         a struct th_u2 inside the union, and move tu_block/tu_code into
74652         a new th_u3 union of tu_block/tu_code inside of that.  Move
74653         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74654         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74655         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74656         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74657         (th_stuff): Change to th_u1.tu_stuff.
74658         (th_data): Define.
74659         (th_msg): Change to th_u1.th_u2.tu_data.
74661 2012-05-07  David S. Miller  <davem@davemloft.net>
74663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74665         [BZ #14074]
74666         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74667         (SETUP_PIC_REG): Use it.
74668         (SETUP_PIC_REG_LEAF): Use it.
74670 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74672         [BZ #13885]
74673         [BZ #13923]
74674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74675         USE_AS_EXPM1L.
74676         (EXPL_FINITE): Likewise.
74677         (FLDLOG): Likewise.
74678         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74679         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74680         e_expl.S.
74681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74682         USE_AS_EXPM1L.
74683         (EXPL_FINITE): Likewise.
74684         (FLDLOG): Likewise.
74685         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74686         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74687         e_expl.S.
74688         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74689         test of -max_value argument for long double.
74690         * sysdeps/i386/fpu/libm-test-ulps: Update.
74691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74693 2012-05-06  David S. Miller  <davem@davemloft.net>
74695         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74696         quad soft-float symbols whose references which are compiler
74697         generated.
74698         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74700 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74702         [BZ #13884]
74703         [BZ #13914]
74704         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74705         USE_AS_EXP10L.
74706         (EXPL_FINITE): Likewise.
74707         (FLDLOG): Likewise.
74708         (c0): Likewise.
74709         (c1): Likewise.
74710         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74711         Adjust comments for base varying.
74712         (__expl_finite): Change alias to EXPL_FINITE.
74713         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74714         e_expl.S.
74715         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74716         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74717         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74718         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74719         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74720         USE_AS_EXP10L.
74721         (EXPL_FINITE): Likewise.
74722         (FLDLOG): Likewise.
74723         (c0): Likewise.
74724         (c1): Likewise.
74725         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74726         Adjust comments for base varying.
74727         (__expl_finite): Change alias to EXPL_FINITE.
74728         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74729         tests for bugs.
74730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74732         [BZ #14064]
74733         * math/libm-test.inc (check_float_internal): Correct ulp
74734         calculation for subnormal expected results.
74736 2012-05-06  Andreas Jaeger  <aj@suse.de>
74738         * Makeconfig (+math-flags): New, set to -frounding-math.
74739         (+cflags): Add +math-flags so that all of glibc gets compiled with
74740         it.
74742         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74744 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74746         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74747         Disable one test.
74749         [BZ #13787]
74750         [BZ #13922]
74751         [BZ #14036]
74752         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74753         (__ieee754_expl): Allow for and saturate large arguments.
74754         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74755         (u_threshold): Likewise.
74756         (__exp): Call __ieee754_exp before checking for overflow and
74757         underflow.
74758         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74759         (u_threshold): Likewise.
74760         (__expf): Call __ieee754_expf before checking for overflow and
74761         underflow.
74762         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74763         (u_threshold): Likewise.
74764         (__expl): Call __ieee754_expl before checking for overflow and
74765         underflow.
74766         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74767         (__ieee754_expl): Allow for and saturate large arguments.
74768         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74769         missing overflow exception on overflow.
74770         (expm1_test): Do not allow missing overflow exception on overflow.
74772         * sysdeps/i386/fpu/e_expl.c: Move to ...
74773         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74774         rather than using inline asm.
74775         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74776         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74777         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74779         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74780         (nice): Likewise.
74781         (poll): Likewise.
74782         (signal): Likewise.
74783         (time): Likewise.
74784         (times): Likewise.
74786 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74788         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74789         sysdeps/unix/common/syscalls.list.
74790         (fchmod): Likewise.
74791         (fchown): Likewise.
74792         (ftruncate): Likewise.
74793         (getrusage): Likewise.
74794         (gettimeofday): Likewise.
74795         (setpgid): Likewise.
74796         (setregid): Likewise.
74797         (setreuid): Likewise.
74798         (sigaction): Likewise.
74799         (truncate): Likewise.
74800         (vhangup): Likewise.
74801         * sysdeps/unix/common/syscalls.list: Remove file.
74802         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74803         * sysdeps/unix/sysv/linux/Implies: Likewise.
74805 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74807         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74809         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74810         Moved to ...
74811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74812         Here.
74813         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74814         to ...
74815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74816         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74817         to ...
74818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74819         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74820         to ...
74821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74822         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74823         to ...
74824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74825         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74826         to ...
74827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74828         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74829         to ...
74830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74831         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74832         to ...
74833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74834         Here.
74835         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74836         to ...
74837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74838         Here.
74839         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74840         to ...
74841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74842         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74843         Moved to ...
74844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74845         Here.
74846         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74847         to ...
74848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74850 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74852         * sysdeps/unix/common/bits/dirent.h: Remove file.
74853         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74855         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74856         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74857         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74858         * sysdeps/unix/bsd/isatty.c: Likewise.
74859         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74860         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74861         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74863 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74865         [BZ #13563]
74866         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74867         long double comparison inaccuracies.
74868         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74871 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74873         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74874         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74876 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74878         [BZ #14049]
74879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74880         nonzero digits before rounding a hex value.
74881         * stdlib/tst-strtod.c (tests): Add another test.
74883 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74885         * sysdeps/s390/fpu/libm-test-ulps: Update.
74887 2012-05-03  Andreas Jaeger  <aj@suse.de>
74889         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74890         does not get optimized out.
74891         (malloc_opt_barrier): New.
74893 2012-05-03  Andreas Jaeger  <aj@suse.de>
74894             Roland McGrath  <roland@hack.frob.com>
74896         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74897         intermediate file deletion.
74898         (generated): Add .symlist files.
74900 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74902         [BZ #13775]
74903         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74904         Redirect under this condition.
74905         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74906         [__USE_GNU] (__dprintf_chk): Not under this condition.
74907         [__USE_GNU] (__vdprintf_chk): Likewise.
74908         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74909         under this condition.
74910         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74911         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74912         [__USE_XOPEN2K8] (vdprintf): Likewise.
74913         [__USE_GNU] (__dprintf_chk): Not under this condition.
74914         [__USE_GNU] (__vdprintf_chk): Likewise.
74915         [__USE_GNU] (dprintf): Likewise.
74916         [__USE_GNU] (vdprintf): Likewise.
74918 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74920         * elf/Makefile (common-generated): Set this instead of generated for
74921         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74922         $(all-built-dso)-derived lists.
74924 2012-05-03  Andreas Jaeger  <aj@suse.de>
74926         * sysdeps/i386/fpu/libm-test-ulps: Update.
74928         * FAQ: Removed.
74929         * FAQ.in: Likewise.
74930         * scripts/gen-FAQ.pl: Likewise.
74931         * manual/install.texi (Installation): Point to online location of
74932         FAQ.
74933         * Makefile (files-for-dist): Remove FAQ.
74934         (FAQ): Remove.
74936 2012-05-02  Allan McRae  <allan@archlinux.org>
74938         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74939         (LDFLAGS-reldepmod5.so): Likewise.
74940         (LDFLAGS-reldep6mod1.so): Likewise.
74941         (LDFLAGS-reldep6mod4.so): Likewise.
74942         (LDFLAGS-reldep8mod3.so): Likewise.
74943         (LDFLAGS-unload4mod1.so): Likewise.
74944         (LDFLAGS-unload4mod2.so): Likewise.
74945         (LDFLAGS-tst-initorder): Likewise.
74946         (LDFLAGS-tst-initordera2.so): Likewise.
74947         (LDFLAGS-tst-initordera3.so): Likewise.
74948         (LDFLAGS-tst-initordera4.so): Likewise.
74949         (LDFLAGS-tst-initorderb2.so): Likewise.
74950         (LDFLAGS-noload): Likewise.
74951         (LDFLAGS-next): Likewise.
74952         (LDFLAGS-order2mod1.so): Likewise.
74953         (LDFLAGS-order2mod2.so): Likewise.
74954         (LDFLAGS-tst-initorder2): Likewise.
74955         (LDFLAGS-tst-initorder2a.so): Likewise.
74956         (LDFLAGS-tst-initorder2b.so): Likewise.
74957         (LDFLAGS-tst-initorder2c.so): Likewise.
74958         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74960 2012-05-02  David S. Miller  <davem@davemloft.net>
74962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74964 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74966         [BZ #14055]
74967         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74969 2012-05-02  Andreas Jaeger  <aj@suse.de>
74971         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74972         since we manipulate rounding mode.
74973         (CPPFLAGS-test-idouble.c): Likewise.
74974         (CPPFLAGS-test-ifloat.c): Likewise.
74975         (CFLAGS-test-ldouble.c): Likewise.
74976         (CFLAGS-test-double.c): Likewise.
74977         (CFLAGS-test-float.c): Likewise.
74978         (CFLAGS-test-misc.c): Likewise.
74979         (CFLAGS-test-test-fenv.c): Likewise.
74981 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74983         [BZ #2550]
74984         [BZ #2570]
74985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74986         comparisons to determine direction to adjust input.
74988 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74990         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74991         output to the target.
74993         * scripts/localplt.awk: New file.
74994         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74995         (check-localplt-CFLAGS): Variable removed.
74996         ($(all-built-dso:=.jmprel)): New static pattern rule.
74997         (generated): Add those targets.
74998         (localplt-built-dso): New variable.
74999         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75001         * elf/check-localplt.c: File removed.
75003         * scripts/check-execstack.awk: New file.
75004         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75005         (check-execstack-CFLAGS): Variable removed.
75006         ($(objpfx)check-execstack.h): Target removed.
75007         ($(objpfx)execstack-default): New target.
75008         (generated): Add that instead of check-execstack.h.
75009         ($(all-built-dso:=.phdr)): New static pattern rule.
75010         (generated): Add those targets.
75011         * elf/check-execstack.c: File removed.
75013         * scripts/check-textrel.awk: New file.
75014         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75015         (check-textrel-CFLAGS): Variable removed.
75016         (all-built-dso): Use := to define.o
75017         ($(all-built-dso:=.dyn)): New static pattern rule.
75018         (generated): Add those targets.
75019         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75020         * config.make.in (READELF): New substituted variable.
75021         * elf/check-textrel.c: File removed.
75023 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75025         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75026         allow.
75027         * conform/data/ctype.h-data [C99-based standards] (isblank):
75028         Expect function.
75029         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75030         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75032         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75033         Specify type.  Require positive value.
75034         (EILSEQ): Likewise.
75035         (ERANGE): Likewise.
75036         [ISO || POSIX] (EILSEQ): Do not expect.
75037         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75038         Specify type.  Require positive value.
75039         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75040         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75041         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75042         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75043         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75044         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75045         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75046         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75047         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75048         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75049         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75050         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75051         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75052         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75053         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75054         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75055         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75056         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75057         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75058         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75059         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75060         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75061         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75062         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75063         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75064         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75065         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75066         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75067         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75068         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75069         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75070         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75071         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75072         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75073         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75074         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75075         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75076         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75077         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75078         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75079         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75080         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75081         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75082         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75083         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75084         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75085         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75086         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75087         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75088         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75089         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75090         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75091         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75092         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75093         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75094         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75095         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75096         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75097         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75098         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75099         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75100         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75101         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75102         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75103         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75104         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75105         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75106         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75107         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75108         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75109         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75110         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75111         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75112         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75113         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75114         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75115         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75116         Require >= 2.
75117         (FLT_ROUNDS): Expect as macro, not constant.
75118         (FLT_MANT_DIG): Use macro-int-constant.
75119         (DBL_MANT_DIG): Likewise.
75120         (LDBL_MANT_DIG): Likewise.
75121         (FLT_DIG): Likewise.
75122         (DBL_DIG): Likewise.
75123         (LDBL_DIG): Likewise.
75124         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75125         (DBL_MIN_EXP): Likewise.
75126         (LDBL_MIN_EXP): Likewise.
75127         (FLT_MAX_EXP): Use macro-int-constant.
75128         (DBL_MAX_EXP): Likewise.
75129         (LDBL_MAX_EXP): Likewise.
75130         (FLT_MAX_10_EXP): Likewise.
75131         (DBL_MAX_10_EXP): Likewise.
75132         (LDBL_MAX_10_EXP): Likewise.
75133         (FLT_MAX): Use macro-constant.
75134         (DBL_MAX): Likewise.
75135         (LDBL_MAX): Likewise.
75136         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75137         (DBL_EPSILON): Likewise.
75138         (LDBL_EPSILON): Likewise.
75139         (FLT_MIN): Likewise.
75140         (DBL_MIN): Likewise.
75141         (LDBL_MIN): Likewise.
75142         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75143         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75144         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75145         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75146         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75147         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75148         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75149         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75150         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75151         [ISO11] (FLT_TRUE_MIN): Likewise.
75152         [ISO11] (LDBL_TRUE_MIN): Likewise.
75153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75154         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75155         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75156         (SCHAR_MAX): Likewise.
75157         (UCHAR_MAX): Likewise.
75158         (CHAR_MIN): Likewise.
75159         (CHAR_MAX): Likewise.
75160         (MB_LEN_MAX): Use macro-int-constant.
75161         (SHRT_MIN): Use macro-int-constant.  Specify type.
75162         (SHRT_MAX): Likewise.
75163         (USHRT_MAX): Likewise.
75164         (INT_MAX): Likewise.
75165         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75166         bound negative.
75167         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75168         bound with "U".
75169         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75170         bound with "L".
75171         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75172         bound negative.  Suffix upper bound with "L".
75173         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75174         bound with "UL".
75175         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75176         Specify type.
75177         [C99-based standards] (LLONG_MAX): Likewise.
75178         [C99-based standards] (ULLONG_MAX): Likewise.
75179         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75180         == 0.
75181         [ISO11] (max_align_t): Require type.
75182         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75184         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75185         from $CFLAGS, without defining away __attribute__ calls.
75186         (checknamespace): Use $CFLAGS_namespace.
75188         * conform/conformtest.pl (@keywords): Only include C99 keywords
75189         for standards based on C99 or C11.
75191         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75192         Disable tests.
75193         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75194         UNIX98]: Likewise.
75196         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75197         usability of symbols in #if.
75199         * conform/conformtest.pl: If macro or constant types start
75200         "promoted:", expect the symbol to be of the following type
75201         promoted by the integer promotions.
75203         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75204         in one place.  Also handle "macro-constant".
75206         * conform/conformtest.pl: Only accept expected macro values with
75207         "==".  Parse all "macro" lines in one place.
75208         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75210         * conform/conformtest.pl: Handle braced types on "constant" lines
75211         instead of handling "typed-constant".
75212         * conform/data/signal.h-data: Use "constant" instead of
75213         "typed-constant".
75215         * conform/conformtest.pl: Handle "optional-" at start of lines in
75216         one place rather than duplicating several cases.  Handle each
75217         format of "macro" line with initial "optional-".
75219         * conform/conformtest.pl: Only accept expected constant or
75220         optional-constant values with "==".  Parse all "constant" lines in
75221         one place.  Parse all "optional-constant" lines in one place.
75222         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75223         * conform/data/fmtmsg.h-data: Likewise.
75224         * conform/data/netinet/in.h-data: Likewise.
75225         * conform/data/tar.h-data: Likewise.
75226         * conform/data/limits.h-data: Use "==" form on "constant" and
75227         "optional-constant" lines.
75229         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75230         Use -std=c99 for XOPEN2K.
75231         (@knownproblems): Remove.
75232         (newtoken): Don't check %isknown.
75234         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75235         Do not expect macro.
75236         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75237         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75238         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75239         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75240         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75241         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75242         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75243         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75244         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75245         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75246         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75247         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75248         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75249         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75250         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75251         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75252         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75253         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75254         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75255         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75256         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75257         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75258         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75259         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75260         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75261         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75262         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75263         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75264         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75265         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75266         [XPG3] (acosh): Likewise.
75267         [XPG3] (asinh): Likewise.
75268         [XPG3] (atanh): Likewise.
75269         [XPG3] (cbrt): Likewise.
75270         [XPG3] (expm1): Likewise.
75271         [XPG3] (ilogb): Likewise.
75272         [XPG3] (log1p): Likewise.
75273         [XPG3] (logb): Likewise.
75274         [XPG3] (nextafter): Likewise.
75275         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75276         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75277         [XPG3] (remainder): Likewise.
75278         [XPG3] (rint): Likewise.
75279         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75280         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75281         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75282         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75283         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75284         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75285         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75286         [UNIX98 || XOPEN2K] (scalb): Expect.
75287         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75288         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75289         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75290         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75291         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75292         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75293         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75294         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75295         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75296         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75297         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75298         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75299         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75300         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75301         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75302         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75303         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75304         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75305         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75306         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75307         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75308         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75309         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75310         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75311         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75312         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75313         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75314         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75315         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75316         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75317         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75318         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75319         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75320         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75321         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75322         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75323         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75324         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75325         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75326         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75327         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75328         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75329         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75330         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75331         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75332         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75333         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75334         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75335         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75336         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75337         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75338         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75339         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75340         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75341         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75342         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75343         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75344         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75345         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75346         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75347         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75348         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75349         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75350         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75351         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75352         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75353         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75354         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75355         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75356         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75357         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75358         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75359         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75360         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75361         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75362         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75363         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75364         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75365         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75366         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75367         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75368         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75369         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75370         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75371         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75372         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75373         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75374         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75375         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75376         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75377         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75378         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75379         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75380         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75381         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75382         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75383         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75384         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75385         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75386         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75387         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75388         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75389         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75390         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75391         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75392         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75393         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75394         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75395         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75396         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75397         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75398         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75399         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75400         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75401         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75402         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75403         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75404         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75405         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75406         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75407         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75408         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75409         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75410         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75411         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75412         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75413         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75414         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75415         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75416         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75417         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75418         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75419         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75420         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75421         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75422         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75423         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75425         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75426         _XOPEN_SOURCE_EXTENDED for XPG4.
75428         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75430         * Makeconfig (localtime): Remove variable.
75431         (inst_localtime-file): Likewise.
75433 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75436         Update.
75437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75438         Update.
75439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75440         Update.
75441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75442         Update.
75443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75444         Update.
75445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75446         Update.
75447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75448         Update.
75449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75450         Update.
75451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75452         Update.
75454 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75456         [BZ #2550]
75457         [BZ #2570]
75458         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75459         comparisons to determine direction to adjust input.
75460         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75461         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75462         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75463         Likewise.
75464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75465         Likewise.
75466         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75467         Likewise.
75468         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75469         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75470         Likewise.
75471         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75472         Likewise.
75473         * math/libm-test.inc (nexttoward_test): Add more tests.
75475 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75477         [BZ #14040]
75478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75479         in version GLIBC_2.1, not GLIBC_2.0.
75480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75481         Likewise.
75483 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75485         [BZ #13942]
75486         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75487         (1 - x) * (1 + x).
75488         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75489         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75490         * math/libm-test.inc (acos_test): Add more tests.
75491         (asin_test): Likewise.
75492         * sysdeps/i386/fpu/libm-test-ulps: Update.
75493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75495         [BZ #14034]
75496         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75497         of square root.
75498         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75499         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75500         * math/libm-test.inc (acos_test_tonearest): New function.
75501         (acos_test_towardzero): Likewise.
75502         (acos_test_downward): Likewise.
75503         (acos_test_upward): Likewise.
75504         (asin_test_tonearest): Likewise.
75505         (asin_test_towardzero): Likewise.
75506         (asin_test_downward): Likewise.
75507         (asin_test_upward): Likewise.
75508         (main): Call the new functions.
75509         * sysdeps/i386/fpu/libm-test-ulps: Update.
75510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75512         [BZ #13884]
75513         [BZ #13924]
75514         * math/e_exp10.c: Include <float.h>.
75515         (__ieee754_exp10): Handle underflow here rather than multiplying
75516         large negative argument by M_LN10.
75517         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75518         of __ieee754_expf.
75519         * math/e_exp10l.c: Include <float.h>.
75520         (__ieee754_exp10l): Handle underflow here rather than multiplying
75521         large negative argument by M_LN10l.
75522         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75523         spurious overflow exception on underflow.
75525 2012-04-29  Marek Polacek  <polacek@redhat.com>
75527         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75528         (__fortify_function): New macro.
75529         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75530         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75531         __extern_always_inline.
75532         * libio/bits/stdio2.h: Likewise.
75533         * libio/bits/stdio.h: Likewise.
75534         * string/string.h: Likewise.
75535         * string/bits/string3.h: Likewise.
75536         * include/stdio.h: Likewise.
75537         * stdlib/bits/stdlib.h: Likewise.
75538         * stdlib/stdlib.h: Likewise.
75539         * rt/bits/mqueue2.h: Likewise.
75540         * rt/mqueue.h: Likewise.
75541         * posix/bits/unistd.h: Likewise.
75542         * posix/unistd.h: Likewise.
75543         * io/bits/poll2.h: Likewise.
75544         * io/bits/fcntl2.h: Likewise.
75545         * io/fcntl.h: Likewise.
75546         * io/sys/poll.h: Likewise.
75547         * misc/bits/syslog.h: Likewise.
75548         * misc/bits/syslog-ldbl.h: Likewise.
75549         * misc/sys/syslog.h: Likewise.
75550         * socket/bits/socket2.h: Likewise.
75551         * socket/sys/socket.h: Likewise.
75552         * debug/tst-chk1.c: Likewise.
75553         * wcsmbs/bits/wchar2.h: Likewise.
75554         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75555         * wcsmbs/wchar.h: Likewise.
75557 2012-04-29  Andreas Jaeger  <aj@suse.de>
75559         * Makerules (tests): Remove enable-check-abi protection.
75560         (check-abi-warn): Remove.
75561         (check-abi-%): Remove check-abi-warn usage.
75563         * configure.in: Remove check-abi configure option.
75564         * configure: Regenerated.
75565         * config.make.in (enable-check-abi): Remove.
75567 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75569         [BZ #14033]
75570         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75571         double functions to double *_finite functions.
75573         [BZ #13941]
75574         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75575         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75576         LDBL_MIN_EXP.
75577         * stdio-common/Makefile (tests): Add tst-sprintf3.
75578         * stdio-common/tst-sprintf3.c: New file.
75580         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75581         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75583 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75585         * conform/conformtest.pl: Remove duplicate typed-constant
75586         handling.
75588 2012-04-28  David S. Miller  <davem@davemloft.net>
75590         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75591         (check-abi-%): Remove AWK script prerequisite and explicit
75592         abilist directory.
75593         (check-abi): Rewrite to just diff the symlist with the abilist.
75594         (config-tls, config-abi-config): Delete, no longer used.
75595         (update-abi-%): Remove AWK script and explicit abilist directory.
75596         (update-abi): Rewrite to simply compare and conditionally copy the
75597         symlist and the sysdep abilist file.  Remove update-abi-config
75598         checks.
75599         * abilist/ld.abilist: Remove.
75600         * abilist/libBrokenLocale.abilist: Remove.
75601         * abilist/libanl.abilist: Remove.
75602         * abilist/libcrypt.abilist: Remove.
75603         * abilist/libdl.abilist: Remove.
75604         * abilist/librt.abilist: Remove.
75605         * abilist/libthread_db.abilist: Remove.
75606         * abilist/libutil.abilist: Remove.
75607         * scripts/extract-abilist.awk: Remove.
75608         * scripts/merge-abilist.awk: Remove.
75609         * sysdeps/generic/libcidn.abilist: New file.
75610         * sysdeps/generic/libnss_compat.abilist: New file.
75611         * sysdeps/generic/libnss_db.abilist: New file.
75612         * sysdeps/generic/libnss_dns.abilist: New file.
75613         * sysdeps/generic/libnss_files.abilist: New file.
75614         * sysdeps/generic/libnss_hesiod.abilist: New file.
75615         * sysdeps/generic/libnss_nis.abilist: New file.
75616         * sysdeps/generic/libnss_nisplus.abilist: New file.
75617         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75618         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75619         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75620         file.
75621         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75622         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75623         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75624         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75625         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75626         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75627         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75628         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75629         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75630         file.
75631         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75632         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75633         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75634         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75635         file.
75636         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75637         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75638         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75639         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75640         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75641         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75642         file.
75643         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75644         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75645         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75646         file.
75647         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75648         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75649         New file.
75650         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75651         New file.
75652         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75653         New file.
75654         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75655         New file.
75656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75657         New file.
75658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75659         New file.
75660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75661         New file.
75662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75663         New file.
75664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75665         New file.
75666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75667         New file.
75668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75669         New file.
75670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75671         New file.
75672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75673         New file.
75674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75675         file.
75676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75677         New file.
75678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75679         New file.
75680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75681         file.
75682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75683         New file.
75684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75685         New file.
75686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75687         file.
75688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75689         New file.
75690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75691         New file.
75692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75693         New file.
75694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75695         New file.
75696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75697         New file.
75698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75699         New file.
75700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75702         file.
75703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75704         New file.
75705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75706         file.
75707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75708         file.
75709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75710         file.
75711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75712         file.
75713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75714         file.
75715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75716         New file.
75717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75718         file.
75719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75720         file.
75721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75722         New file.
75723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75724         file.
75725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75727         file.
75728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75729         New file.
75730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75731         file.
75732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75733         file.
75734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75735         file.
75736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75737         file.
75738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75739         file.
75740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75741         New file.
75742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75743         file.
75744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75745         file.
75746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75747         New file.
75748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75749         file.
75750         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75751         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75752         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75753         file.
75754         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75755         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75756         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75757         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75758         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75759         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75760         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75761         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75762         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75763         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75766         file.
75767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75768         New file.
75769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75770         file.
75771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75772         file.
75773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75774         file.
75775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75776         file.
75777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75778         file.
75779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75780         New file.
75781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75782         New file.
75783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75784         file.
75785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75786         New file.
75787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75788         file.
75789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75791         file.
75792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75793         New file.
75794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75795         file.
75796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75797         file.
75798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75799         file.
75800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75801         file.
75802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75803         file.
75804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75805         New file.
75806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75807         New file.
75808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75809         file.
75810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75811         New file.
75812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75813         file.
75815 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75817         * conform/conformtest.pl: Fix typo in handling typed-constant from
75818         allow-header.
75820 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75822         * README: Cut down references to pre-2.6 Linux kernels and
75823         Linuxthreads.  Update lists of configurations in libc and ports
75824         and sort alphabetically.  Say "or newer" with Linux kernel version
75825         requirements.
75827         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75829 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75831         [BZ #887]
75832         * math/libm-test.inc (logb_test_downward): New test to expose
75833         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75834         rounding mode.
75836 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75838         [BZ #14027]
75839         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75840         to be done.
75841         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75842         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75844 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75846         * sysdeps/unix/i386/brk.S: Remove file.
75847         * sysdeps/unix/i386/dl-brk.S: Likewise.
75848         * sysdeps/unix/i386/pipe.S: Likewise.
75849         * sysdeps/unix/i386/sigreturn.S: Likewise.
75850         * sysdeps/unix/i386/syscall.S: Likewise.
75851         * sysdeps/unix/i386/vfork.S: Likewise.
75852         * sysdeps/unix/i386/wait.S: Likewise.
75854         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75855         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75857         * configure.in (arm*-none*): Do not allow without
75858         --enable-hacker-mode.
75859         (netbsd*): Remove case setting base_os.
75860         (386bsd*): Likewise.
75861         (freebsd*): Likewise.
75862         (bsdi*): Likewise.
75863         (osf*): Likewise.
75864         (sunos*): Likewise.
75865         (ultrix*): Likewise.
75866         (newsos*): Likewise.
75867         (dynix*): Likewise.
75868         (*bsd*): Likewise.
75869         (sysv*): Likewise.
75870         (isc*): Likewise.
75871         (esix*): Likewise.
75872         (sco*): Likewise.
75873         (minix*): Likewise.
75874         (irix4*): Likewise.
75875         (irix6*): Likewise.
75876         (solaris[2-9]*): Likewise.
75877         (none): Likewise.
75878         * configure: Regenerated.
75880 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75882         [BZ #11521]
75883         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75884         overflow or cancellation in calculating denominator.
75885         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75887         down expression to avoid unexpected rounding in newer GCCs.
75888         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75890 2012-04-26  David S. Miller  <davem@davemloft.net>
75892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75893         long-double compat symbols.
75894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75908 2012-04-25  David S. Miller  <davem@davemloft.net>
75910         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75911         HWCAP_* values only after the memory barriers have been defined.
75912         (atomic_full_barrier): Define.
75913         (atomic_read_barrier): Define.
75914         (atomic_write_barrier): Define.
75916 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75918         * shlib-versions: Add libgcc_s version information.
75919         * sysdeps/generic/libgcc_s.h: Remove.
75920         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75921         libgcc_s.h.
75922         * sysdeps/gnu/unwind-resume.c: Likewise.
75923         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75925 2012-04-25  David S. Miller  <davem@davemloft.net>
75927         * sysdeps/unix/sparc/brk.S: Delete.
75928         * sysdeps/unix/sparc/dl-brk.S: Delete.
75929         * sysdeps/unix/sparc/pipe.S: Delete.
75930         * sysdeps/unix/sparc/sysdep.S: Delete.
75931         * sysdeps/unix/sparc/sysdep.h: Delete.
75932         * sysdeps/unix/sparc/vfork.S: Delete.
75933         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75934         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75935         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75936         (ret_ERRVAL, r0, r1, MOVE): Define.
75937         (JUMPTARGET): Remove.
75938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75939         sysdeps/unix/sparc/sysdep.h
75940         (ENTRY, END): Remove.
75941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75943 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75945         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75946         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75947         -DIS_IN_build.
75949         * timezone/README: Update upstream location and email address for
75950         tzcode and tzdata.
75951         * timezone/zdump.c: Update from tzcode 2012b.
75952         * timezone/zic.c: Likewise.
75954         * configure.in (libc_cv_as_needed): Remove test.
75955         * configure: Regenerated.
75956         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75957         conditional definition.
75958         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75959         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75960         * config.make.in (have-as-needed): Remove variable.
75962 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75963             Paul Pluzhnikov  <ppluzhnikov@google.com>
75965         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75966         strings correctly.
75968 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75970         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75971         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75972         * sysdeps/sh/strlen.S: Likewise.
75974 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75976         * sysdeps/unix/fork.S: Remove file.
75977         * sysdeps/unix/i386/fork.S: Likewise.
75978         * sysdeps/unix/sparc/fork.S: Likewise.
75980         * sysdeps/unix/system.c: Remove file.
75981         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75983         * sysdeps/unix/getegid.S: Remove file.
75984         * sysdeps/unix/geteuid.S: Likewise.
75986 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75988         * scripts/check-localplt.awk: New file.
75989         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75990         of diff.
75991         * scripts/data/localplt-generic.data: Add a comment.
75993         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75994         NODE when __dir_mkfile failed.
75995         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75996         Reported by Ludovic Courtès <ludo@gnu.org>.
75998 2012-04-24  Andreas Jaeger  <aj@suse.de>
76000         * Makerules (common-clean): Also remove gen-as-const-headers
76001         files.
76003 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76005         * Makerules (native-compile): Do not change working directory for
76006         build.  Use $(OUTPUT_OPTION) in command.
76007         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76009 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76011         [BZ #13886]
76012         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76013         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76014         * math/libm-test.inc (floor_test): Add more tests.
76015         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76017 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76019         * sysdeps/unix/getdents.c: Remove file.
76020         * sysdeps/unix/sysv/getdents.c: Likewise.
76021         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76023         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76024         sysdeps/unix/mman/syscalls.list.
76025         (mmap): Likewise.
76026         (mprotect): Likewise.
76027         (msync): Likewise.
76028         (munmap): Likewise.
76029         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76030         * sysdeps/unix/mman/syscalls.list: Remove.
76031         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76033         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76034         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76035         * configure: Regenerated.
76036         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76037         $(libgcc_s_suffix).
76038         * config.make.in (libgcc_s_suffix): Remove variable.
76040 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76042         * sysdeps/unix/sysv/gethostname.c: Move to ...
76043         * sysdeps/posix/gethostname.c: ... here.
76045         * sysdeps/unix/execve.S: Remove file.
76047         * sysdeps/unix/_exit.S: Remove file.
76049 2012-04-23  Andreas Jaeger  <aj@suse.de>
76051         [BZ #13739]
76052         * manual/Makefile: Remove make dist support, there's no
76053         need for a stand-alone documentation tar ball.
76054         (TEXI2DVI): Define always, it's not in Makeconfig.
76055         (dist): Removed.
76056         (tar-it): Removed.
76057         (edition): Removed.
76058         (glibc-doc-$(edition).tar): Removed
76059         (%.Z): Removed.
76060         (%.gz): Removed.
76061         (%.uu): Removed.
76062         (ETAGS): Remove, it's in Makeconfig.
76063         (move-if-change): Remove, it's in Makeconfig.
76065 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76067         [BZ #13970]
76068         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76069         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76070         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76071         (strtod_l, strtof_l, strtold_l): Remove __wur.
76072         It is not necessarily an error to ignore strtol's return value.
76073         One can reliably look at the stored endptr to decide whether
76074         the number had valid syntax.
76076 2012-04-21  Andreas Jaeger  <aj@suse.de>
76078         [BZ #13739]
76079         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76081 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76083         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76084         * sysdeps/unix/sysv/Versions: Remove file.
76086 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76088         [BZ #13927]
76089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76091 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76093         [BZ #7064]
76094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76095         version from __vm86.
76097 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76099         * sysdeps/unix/common/lxstat.c: Remove file.
76100         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76102         * sysdeps/unix/sysv/Makefile: Remove file.
76104         * sysdeps/unix/sysv/direct.h: Remove file.
76106         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76107         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76108         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76109         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76110         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76111         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76112         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76114         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76116         * sysdeps/unix/xmknod.c: Remove file.
76117         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76119         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76121         * sysdeps/unix/sysv/i386/time.S: Remove file.
76123         * sysdeps/unix/fxstat.c: Remove file.
76124         * sysdeps/unix/xstat.c: Likewise.
76125         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76127         * sysdeps/unix/sysv/sigaction.c: Remove file.
76129         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76130         (sysdep_headers): Remove variable.
76131         [termio.h not in sysdep_headers] (generated): Likewise.
76132         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76133         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76134         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76135         * sysdeps/unix/sysv/tcflow.c: Likewise.
76136         * sysdeps/unix/sysv/tcflush.c: Likewise.
76137         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76138         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76139         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76140         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76141         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76143         * sysdeps/unix/siglist.c: Remove file.
76145         * sysdeps/unix/getppid.S: Remove file.
76147         * sysdeps/unix/mkdir.c: Remove file.
76148         * sysdeps/unix/rmdir.c: Likewise.
76150 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76152         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76153         ERR_MAX value.
76154         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76155         errlist-compat value.
76157 2012-04-18  David S. Miller  <davem@davemloft.net>
76159         * sysdeps/generic/memcopy.h (reg_char): Delete.
76160         * debug/strcat_chk.c: Use char, not reg_char.
76161         * debug/strcpy_chk.c: Likewise.
76162         * debug/strncat_chk.c: Likewise.
76163         * debug/strncpy_chk.c: Likewise.
76164         * string/memchr.c: Likewise.
76165         * string/memrchr.c: Likewise.
76166         * string/rawmemchr.c: Likewise.
76167         * string/strcat.c: Likewise.
76168         * string/strchr.c: Likewise.
76169         * string/strchrnul.c: Likewise.
76170         * string/strcmp.c: Likewise.
76171         * string/strcpy.c: Likewise.
76172         * string/strncat.c: Likewise.
76173         * string/strncmp.c: Likewise.
76174         * string/strncpy.c: Likewise.
76176 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76178         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76179         __builtin_memcopy is called when src and dest ranges are known to not
76180         overlap.
76182 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76184         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76185         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76186         fwd_align_merge macro call.
76187         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76188         bwd_align_merge macro call.
76189         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76191 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76193         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76194         bwd_align_merge macros.
76195         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76196         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76197         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76199 2012-04-18  David S. Miller  <davem@davemloft.net>
76201         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76203 2012-04-18  Andreas Jaeger  <aj@suse.de>
76205         [BZ# 6794]
76206         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76207         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76208         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76210         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76211         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76212         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76214         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76215         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76216         Adjust for changed ldbl-128 files.
76218         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76219         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76220         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76222 2012-04-17  David S. Miller  <davem@davemloft.net>
76224         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76226 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76228         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76229         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76230         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76231         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76232         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76233         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76235 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76237         [BZ #6794]
76238         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76239         * math/libm-test.inc: Add ilogb errno and exception tests.
76240         * math/w_ilogb.c: New file: ilogb wrapper.
76241         * math/w_ilogbf.c: New file: ilogbf wrapper.
76242         * math/w_ilogbl.c: New file: ilogbl wrapper.
76243         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76244         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76245         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76246         exception being thrown with 0.0 as argument.
76247         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76248         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76249         exception being thrown with 0.0 as argument.
76250         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76251         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76252         exception being thrown with 0.0 as argument.
76253         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76254         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76255         exception being thrown with 0.0 as argument.
76256         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76257         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76258         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76259         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76260         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76261         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76262         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76263         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76264         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76266 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76268         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76269         with altivec.
76271 2012-04-16  Marek Polacek  <polacek@redhat.com>
76273         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76275 2012-04-16  Marek Polacek  <polacek@redhat.com>
76277         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76278         operands of fdivp instruction.
76280 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76282         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76283         * elf/tst-auditmod3b.c: Likewise.
76284         * elf/tst-auditmod4b.c: Likewise.
76285         * elf/tst-auditmod5b.c: Likewise.
76286         * elf/tst-auditmod6b.c: Likewise.
76287         * elf/tst-auditmod6c.c: Likewise.
76288         * elf/tst-auditmod7b.c: Likewise.
76289         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76290         * sysdeps/x86_64/preconfigure.in: Likewise.
76291         * sysdeps/x86_64/preconfigure: Regenerated.
76293 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76295         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76296         __ILP32__.
76298 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76300         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76301         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76303 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76305         [BZ #13973]
76306         * locale/iso-639.def: Fix gl language name. Spotted by
76307         Yaron Shahrabani.
76309 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76311         [BZ #2074]
76312         * libio/libio.h (__io_write_fn): Update comment.
76314 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76316         [BZ #2074]
76317         * stdio.texi (Hook Functions): The user provided writer function
76318         is not allowed to return -1.
76320 2012-04-11  David S. Miller  <davem@davemloft.net>
76322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76324 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76326         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76327         Add a leading slash to rtkaio.
76329 2012-04-11  Jim Meyering  <meyering@redhat.com>
76331         [BZ #11959]
76332         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76333         It is not necessarily an error to ignore fwrite's return
76334         value.  One can reliably use ferror to test for errors after
76335         the fact.
76337 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76339         * bits/types.h (__snseconds_t): New type.
76340         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76342         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76344         (__SNSECONDS_T_TYPE): Likewise.
76345         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76346         (__SNSECONDS_T_TYPE): Likewise.
76347         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76348         (__SNSECONDS_T_TYPE): Likewise.
76350 2012-04-10  Andreas Jaeger  <aj@suse.de>
76352         [BZ #2636]
76353         * manual/time.texi (Processor Time): Return type of times is
76354         elapsed real time since an arbitrary point in the past.
76355         (CPU Time): Move CLK_TCK from here...
76356         (Processor Time): ...to here.  Correct description.
76357         * manual/conf.texi (Constants for Sysconf): Correct description of
76358         _SC_CLK_TCK.
76360 2012-04-10  David S. Miller  <davem@davemloft.net>
76362         [BZ #13967]
76363         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76364         where the is a gap between DT_REL(A) and DT_JMPREL.
76366 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76368         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76369         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76370         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76372 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76374         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76375         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76376         (dl_main): Handle --inhibit-cache.
76377         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76378         _dl_inhibit_cache.
76379         * elf/dl-load.c (_dl_map_object): Use it.
76380         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76382 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76384         [BZ #13872]
76385         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76386         (__ieee754_powl): Saturate large exponents rather than testing for
76387         overflow of y*log2(x).
76388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76389         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76390         exceptions.
76392         [BZ #11521]
76393         * math/s_ctan.c: Include <float.h>.
76394         (__ctan): Avoid internal overflow or cancellation in calculating
76395         denominator.
76396         * math/s_ctanf.c: Likewise.
76397         * math/s_ctanl.c: Likewise.
76398         * math/s_ctanh.c: Likewise.
76399         * math/s_ctanhf.c: Likewise.
76400         * math/s_ctanhl.c: Likewise.
76401         * math/libm-test.inc (ctan_test): Add more tests.
76402         (ctanh_test): Likewise.
76403         * sysdeps/i386/fpu/libm-test-ulps: Update.
76404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76406 2012-04-09  Andreas Jaeger  <aj@suse.de>
76408         [BZ #6894]
76409         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76410         is an optional BSD extension.
76412         [BZ #10254]
76413         * manual/stdio.texi (Opening Streams): Document additional fopen
76414         parameters.
76416 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76418         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76419         %eax without telling the compiler.
76421 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76423         [BZ # 13963]
76424         * manual/install.texi: Use sourceware.org.
76426 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76428         [BZ #13873]
76429         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76430         (__ieee754_pow): Generate overflow and underflow using huge*huge
76431         and tiny*tiny rather than just returning constant infinity or zero
76432         for large exponents.
76433         * math/libm-test.inc (pow_test): Require overflow exceptions for
76434         applicable cases of large exponents.
76436         [BZ #706]
76437         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76438         (__ieee754_pow): Use iterative multiplication algorithm only for
76439         integer exponents with absolute value below 1024.  Check for odd
76440         integer exponents when using algorithm for real exponents.
76441         * math/libm-test.inc (pow_test): Add more tests.
76442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76444 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76446         [BZ #13705]
76447         * math/libm-test.inc (exp_test): Do not allow overflow exception
76448         on underflow test.
76450 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76452         [BZ #13705]
76453         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76454         instead of __kernel_standard_f.
76456 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76458         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76459         * sysdeps/x86_64/memset_chk.S: Likewise.
76461 2012-04-08  Andreas Jaeger  <aj@suse.de>
76463         [BZ #10153]
76464         * manual/startup.texi (Environment Access): Describe return value
76465         for putenv and setenv.
76467         [BZ #6895]
76468         * manual/filesys.texi (Directory Entries): Add description for
76469         DT_LNK.
76471         [BZ #6890]
76472         * manual/filesys.texi (Directory Entries): Clarify that it's file
76473         system not operating system in the description of DT_UNKNOWN.
76475         [BZ #6578]
76476         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76478 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76480         [BZ #6649]
76481         * manual/llio.texi (Opening and Closing Files): Add cross
76482         reference to explain mode argument.
76484 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76486         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76487         * sysdeps/x86_64/memset_chk.S: Likewise.
76489 2012-04-07  David S. Miller  <davem@davemloft.net>
76491         * elf/elf.h (R_SPARC_WDISP10): Define.
76492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76493         R_SPARC_SIZE32.
76494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76495         R_SPARC_SIZE64 and R_SPARC_H34.
76497 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76499         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76500         conditions and remove no longer applicable assertion.
76502 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76504         * bits/byteswap.h: Include <features.h>.
76505         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76506         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76508 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76510         * bits/byteswap.h (__bswap_16): Removed.
76511         Include <bits/byteswap-16.h> to get __bswap_16.
76512         * sysdeps/i386/bits/byteswap.h: Likewise.
76513         * sysdeps/s390/bits/byteswap.h: Likewise.
76514         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76515         * bits/byteswap-16.h: New file.
76516         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76517         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76518         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76519         * string/Makefile (headers): Add bits/byteswap-16.h.
76521 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76523         [BZ #13895]
76524         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76525         extra indirection.
76526         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76527         * nss/tst-nss-static.c: New.
76529 2012-04-06  Robert Millan  <rmh@gnu.org>
76531         [BZ #6486]
76532         * manual/llio.texi (File Position Primitive): lseek
76533         refers to WHENCE when it really means OFFSET.
76535 2012-04-06  Andreas Jaeger  <aj@suse.de>
76537         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76538         strncmp declarations.
76540         * abilist/libc.abilist: Add __poll and __ppoll.
76542 2012-04-05  David S. Miller  <davem@davemloft.net>
76544         * scripts/check-local-headers.sh: Accept a host triplet in the
76545         path matched by the exclude regexp.
76547         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76548         definition.
76549         * sysdeps/powerpc/powerpc32/dl-machine.h
76550         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76551         * sysdeps/s390/s390-32/dl-machine.h
76552         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76553         * sysdeps/sparc/sparc32/dl-machine.h
76554         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76555         * sysdeps/sparc/sparc64/dl-machine.h
76556         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76558         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76559         lazy binding.
76560         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76561         undefined symbol errors.
76563         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76564         DT_NEEDED entries.
76566 2012-04-05  Michael Matz  <matz@suse.de>
76568         [BZ #13592]
76569         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76571 2012-04-05  Andreas Jaeger  <aj@suse.de>
76573         [BZ #13908]
76574         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76575         comment.
76577 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76580         which ROUND is no valid rounding mode.
76582 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76584         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76585         read again.
76586         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76588 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76590         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76591         an exception using FPU order intentionally.
76593 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76595         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76596         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76597         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76598         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76600 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76602         [BZ #12340]
76603         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76604         EINVAL when BUFLEN is too smal.
76606 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76608         [BZ #13553]
76609         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76610         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76612 2012-04-03  Andreas Jaeger  <aj@suse.de>
76614         [BZ #13938]
76615         * manual/setjmp.texi (System V contexts): Fix sentence.
76617         [BZ #13926]
76618         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76619         New macro for this case.
76620         [!__GNUC__] (__bswap_64): New inline function for this case.
76621         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76622         * bits/byteswap.h: Likewise.
76623         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76624         ull, guard with __GLIBC_HAVE_LONG_LONG.
76626         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76627         __GLIBC_HAVE_LONG_LONG.
76629         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76630         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76632 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76634         [BZ #13691]
76635         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76636         inptr and inend, rather than using last_ch.
76638 2012-04-02  David S. Miller  <davem@davemloft.net>
76640         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76641         * stdio-common/printf-parse.h (read_int): Change return type to
76642         'int', return -1 on INT_MAX overflow.
76643         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76644         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76645         overflows INT_MAX.  Check for overflow of in-format-string precision
76646         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76647         SIZE_MAX not INT_MAX for integer overflow test.
76648         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76649         skip the construct in the format string but do not record anything.
76650         * stdio-common/bug22.c: Adjust to test both width/prevision
76651         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76652         explicitly for proper errno values.
76654 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76656         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76657         CHAR_MAX.
76658         * string/test-strcmp.c [! WIDE]: Likewise.
76659         * time/tst-mktime2.c: Likewise for INT_MAX.
76660         * string/test-string.h: #include <sys/param.h> for MIN.
76662         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76663         * sysdeps/i386/init-first.c (init): Likewise.
76664         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76665         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76666         * sysdeps/sh/init-first.c (init): Likewise.
76668 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76670         * po/ru.po: Update from translation team.
76671         * po/vi.po: Likewise.
76673 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76675         * resolv/nss_dns/dns-host.c: Merge copyright years.
76677 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76679         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76680         Optimize memcpy with prefetch if
76681         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76682         src, dst pointers have unequal 16 byte alignments.
76684 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76686         [BZ #13928]
76687         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76688         from a CNAME entry and return the minimum ttl for the query.
76689         (gaih_getanswer_slice): Likewise.
76691 2012-03-30  Jeff Law  <law@redhat.com>
76693         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76694         due to long keys.
76695         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76696         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76698         * resolv/nss_dns/dns-host.c: Update copyright year.
76700 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76702         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76703         requests to save a system call.  Fix check that all bytes are sent.
76705         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76706         comments for sendmmsg.
76708 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76710         [BZ #13691]
76711         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76712         with only 1 character between 0x0041 and 0x01b0.
76713         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76714         * wcsmbs/tst-mbsnrtowcs.c: New file.
76716 2012-03-29  David S. Miller  <davem@davemloft.net>
76718         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76719         small copies by hand.
76721 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76723         [BZ #13761]
76724         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76725         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76726         group memberships.
76728 2012-03-28  David S. Miller  <davem@davemloft.net>
76730         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76731         that branches into memcpy.
76732         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76733         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76734         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76735         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76737         bits.
76738         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76739         implementation too.
76740         * sysdeps/sparc/mempcpy.S: New file.
76742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76743         the IFUNC routine in the libc case.
76744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76746         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76747         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76748         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76749         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76750         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76751         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76752         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76753         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76755         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76756         loop to 256 bytes instead of 64 bytes and fix test signedness.
76758         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76759         * sysdeps/sparc/sparc32/Makefile: rather than here...
76760         * sysdeps/sparc/sparc64/Makefile: and here.
76762 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76764         * malloc/mallocbug.c: Avoid warnings about unused variables.
76766 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76768         [BZ #13760]
76769         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76770         in the right place. Discard and retry query if response is
76771         larger than input buffer size.
76773 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76775         [BZ #369]
76776         [BZ #2678]
76777         [BZ #3866]
76778         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76779         x for large integer exponent.
76780         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76781         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76782         sign of result as needed afterwards.
76783         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76784         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76785         result for underflowing pow the same as for overflow.
76786         (__kernel_standard_l): Handle powl overflow and underflow here
76787         rather than calling __kernel_standard.
76788         * math/libm-test.inc (pow_test): Add more tests.
76790         [BZ #3868]
76791         [BZ #13879]
76792         [BZ #13910]
76793         [BZ #13911]
76794         [BZ #13912]
76795         [BZ #13913]
76796         [BZ #13915]
76797         [BZ #13916]
76798         [BZ #13917]
76799         [BZ #13918]
76800         [BZ #13919]
76801         [BZ #13920]
76802         [BZ #13921]
76803         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76804         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76805         (__kernel_standard_l): New function.
76806         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76807         __kernel_standard.
76808         * math/w_acosl.c (__acosl): Likewise.
76809         * math/w_asinl.c (__asinl): Likewise.
76810         * math/w_atan2l.c (__atan2l): Likewise.
76811         * math/w_atanhl.c (__atanhl): Likewise.
76812         * math/w_coshl.c (__coshl): Likewise.
76813         * math/w_exp10l.c (__exp10l): Likewise.
76814         * math/w_exp2l.c (__exp2l): Likewise.
76815         * math/w_fmodl.c (__fmodl): Likewise.
76816         * math/w_hypotl.c (__hypotl): Likewise.
76817         * math/w_j0l.c (__j0l, __y0l): Likewise.
76818         * math/w_j1l.c (__j1l, __y1l): Likewise.
76819         * math/w_jnl.c (__jnl, __ynl): Likewise.
76820         * math/w_lgammal.c (__lgammal): Likewise.
76821         * math/w_log10l.c (__log10l): Likewise.
76822         * math/w_log2l.c (__log2l): Likewise.
76823         * math/w_logl.c (__logl): Likewise.
76824         * math/w_powl.c (__powl): Likewise.
76825         * math/w_remainderl.c (__remainderl): Likewise.
76826         * math/w_scalbl.c (sysv_scalbl): Likewise.
76827         * math/w_sinhl.c (__sinhl): Likewise.
76828         * math/w_sqrtl.c (__sqrtl): Likewise.
76829         * math/w_tgammal.c (__tgammal): Likewise.
76830         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76831         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76832         * math/libm-test.inc (acos_test): Add more tests.
76833         (acosh_test): Likewise.
76834         (asin_test): Likewise.
76835         (atanh_test): Likewise.
76836         (exp_test): Likewise.
76837         (exp10_test): Likewise.
76838         (exp2_test): Likewise.
76839         (expm1_test): Likewise.
76840         (lgamma_test): Likewise.
76841         (log_test): Likewise.
76842         (log10_test): Likewise.
76843         (log1p_test): Likewise.
76844         (log2_test): Likewise.
76845         (pow_test): Do not allow some spurious overflow exceptions.
76846         (sqrt_test): Add more tests.
76847         (tgamma_test): Likewise.
76848         (y0_test): Likewise.
76849         (y1_test): Likewise.
76850         (yn_test): Likewise.
76852 2012-03-27  Anton Blanchard  <anton@samba.org>
76854         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76855         MAP_HUGETLB.
76856         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76857         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76858         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76860 2012-03-27  David S. Miller  <davem@davemloft.net>
76862         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76864         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76865         have-as-vis3 check.
76867 2012-03-27  Andreas Jaeger  <aj@suse.de>
76869         * sysdeps/x86_64/elf/configure.in: Moved to ...
76870         * sysdeps/x86_64/configure.in: ... here.
76871         * sysdeps/x86_64/elf/start.S: Moved to ...
76872         * sysdeps/x86_64/start.S: ... here.
76873         * sysdeps/x86_64/elf/configure: Delete.
76875         * sysdeps/x86_64/configure.in: Merge contents from
76876         sysdeps/i386/configure.in (without i686 check).
76878         * sysdeps/i386/elf/Versions: Merge into ...
76879         * sysdeps/i386/Versions: ... this.
76880         * sysdeps/i386/elf/Versions: Delete file.
76881         * sysdeps/i386/elf/start.S: Moved to ...
76882         * sysdeps/i386/start.S: ...here.
76883         * sysdeps/i386/elf/configure.in: Merge into...
76884         * sysdeps/i386/configure.in: ...here.
76885         * sysdeps/i386/elf/configure.in: Delete file.
76886         * sysdeps/i386/elf/configure: Delete file.
76888         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76889         * debug/backtracesyms.c: ... here.
76890         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76891         * debug/backtracesymsfd.c: ... here.
76892         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76893         * sysdeps/generic/ifunc-sel.h: ... here.
76895         * sysdeps/unix/i386/start.c: Delete file.
76896         * sysdeps/unix/sparc/start.c: Delete file.
76897         * sysdeps/unix/start.c: Delete file.
76899         * sysdeps/sh/elf/configure.in: Moved to ...
76900         * sysdeps/sh/configure.in: ... here.
76901         * sysdeps/sh/elf/start.S: Moved to ...
76902         * sysdeps/sh/start.S: ... here.
76903         * sysdeps/sh/elf/configure: Delete file.
76905         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76906         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76907         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76908         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76909         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76910         * sysdeps/powerpc/powerpc64/start.S: here.
76911         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76912         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76913         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76914         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76915         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76917         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76918         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76919         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76920         * sysdeps/powerpc/powerpc32/start.S: ... here.
76921         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76922         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76923         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76925         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76926         * sysdeps/powerpc/ifunc-sel.h: ... here.
76927         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76928         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76930         * sysdeps/sparc/elf/configure.in: Moved to ...
76931         * sysdeps/sparc/configure.in: ... here.
76932         * sysdeps/sparc/elf/configure: Delete file.
76933         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76934         * sysdeps/sparc/sparc32/start.S: ... here.
76935         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76936         * sysdeps/sparc/sparc64/start.S: ... here.
76937         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76938         * sysdeps/sparc/sparc32/Makefile: ... this.
76939         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76940         * sysdeps/sparc/sparc64/Makefile: ... this.
76942         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76943         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76944         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76945         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76946         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76947         * sysdeps/s390/s390-32/setjmp.S: ... here.
76948         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76949         * sysdeps/s390/s390-32/configure.in: ... here.
76950         * sysdeps/s390/s390-32/elf/configure: Delete file.
76951         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76952         * sysdeps/s390/s390-32/start.S: ... here.
76954         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76955         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76956         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76957         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76958         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76959         * sysdeps/s390/s390-64/setjmp.S: ... here.
76960         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76961         * sysdeps/s390/s390-64/configure.in: ... here
76962         * sysdeps/s390/s390-64/elf/configure: Delete file.
76963         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76964         * sysdeps/s390/s390-64/start.S: ... here.
76965         * sysdeps/s390/s390-64/elf/configure: Delete.
76967         * configure.in: Remove support for elf directories in sysdeps.
76969         * configure: Regenerated.
76970         * sysdeps/i386/configure: Regenerated.
76971         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76972         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76973         * sysdeps/s390/s390-32/configure: Regenerated.
76974         * sysdeps/s390/s390-64/configure: Regenerated.
76975         * sysdeps/sh/configure: Regenerated.
76976         * sysdeps/sparc/configure: Regenerated.
76977         * sysdeps/x86_64/configure: Regenerated.
76979 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76984         denormal result into account.
76986 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76988         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76989         Reported by Allan McRae <allan@archlinux.org>.
76991 2012-03-23  Jeff Law  <law@redhat.com>
76993         * nss/getnssent.c (__nss_getent): Fix typo.
76995 2012-03-23  David S. Miller  <davem@davemloft.net>
76997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76999 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77001         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77002         to pad to uint64_t for each field.
77003         (dl_tls_index): Replace unsigned long with uint64_t.
77005 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77006         Paul Pluzhnikov  <ppluzhnikov@google.com>
77008         [BZ #6528]
77009         * grp/Makefile (otherlibs): Don't set it.
77010         * inet/Makefile (otherlibs): Likewise.
77011         * login/Makefile (otherlibs): Likewise.
77012         * nscd/Makefile (otherlibs): Likewise.
77013         * posix/Makefile (otherlibs): Likewise.
77014         * pwd/Makefile (otherlibs): Likewise.
77015         * rt/Makefile (otherlibs): Likewise.
77016         * sunrpc/Makefile (otherlibs): Likewise.
77017         * nss/Makefile (otherlibs): Likewise.
77018         Add libnss_files to routines and static-only-routines.
77019         ($(objpfx)getent): Remove rule.
77020         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77021         static-only-routines.
77023 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77025         [BZ #13892]
77026         * math/s_cexp.c: Include <float.h>.
77027         (__cexp): Handle exp result overflowing not necessarily
77028         overflowing both real and imaginary parts of result.
77029         * math/s_cexpf.c: Likewise.
77030         * math/s_cexpl.c: Likewise.
77031         * math/libm-test.inc (cexp_test): Add more tests.
77032         * sysdeps/i386/fpu/libm-test-ulps: Update.
77033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77035 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77037         * include/link.h (ELFW): New macro.
77038         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77039         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77041 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77043         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77044         with uint64_t.
77046 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77048         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77049         declaration.
77050         (struct La_x32_retval): Likewise.
77052 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77054         * sysdeps/x86_64/preconfigure.in: New file.
77055         * sysdeps/x86_64/preconfigure: New generated file.
77057 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77059         [BZ #13824]
77060         * math/e_exp2l.c: Include <float.h>.
77061         (__ieee754_exp2l): Handle overflow and underflow cases
77062         separately.  Only pass fractional part of argument to
77063         __ieee754_expl.
77064         * math/libm-test.inc (exp2_test): Add more tests.
77066         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77067         negating x to take absolute value.
77068         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77069         Likewise.
77070         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77071         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77072         Likewise.
77073         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77074         computing low part if x was negated.
77075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77077 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77079         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77080         la_x32_gnu_pltexit.
77081         (pltexit): Cast int_retval to ptrdiff_t.
77082         * elf/tst-auditmod3b.c: Likewise.
77083         * elf/tst-auditmod4b.c: Likewise.
77084         * elf/tst-auditmod5b.c: Likewise.
77085         * elf/tst-auditmod6b.c: Likewise.
77086         * elf/tst-auditmod6c.c: Likewise.
77087         * elf/tst-auditmod7b.c: Likewise.
77089         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77090         and x32_gnu_pltexit.
77092         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77093         __ELF_NATIVE_CLASS.
77094         (La_x32_regs): New macro.
77095         (La_x32_retval): Likewise.
77096         (la_x32_gnu_pltenter): New function prototype.
77097         (la_x32_gnu_pltexit): Likewise.
77099 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77101         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77102         exponent.
77104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77106         * configure.in (libc_cv_cc_nofma): Check for option to disable
77107         generation of FMA instructions.
77108         * configure: Regenerate.
77109         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77110         * sysdeps/ieee754/dbl-64/Makefile: New file.
77111         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77112         Remove brandred-fma4.
77113         (CFLAGS-brandred-fma4.c): Remove.
77114         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77115         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77116         define.
77117         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77118         define.
77120 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77122         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77123         LLONG_MAX != LONG_MAX.
77124         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77125         (_fitoa_word): Likewise.
77126         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77127         LLONG_MAX != LONG_MAX.
77128         * stdio-common/_itowa.h: Include <_itoa.h>.
77129         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77130         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77131         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77132         only if not defined.
77133         (_ITOA_WORD_TYPE): Likewise.
77134         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77135         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77137 2012-03-21  David S. Miller  <davem@davemloft.net>
77139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77141 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77143         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77144         of x86_64 when setting libc_cv_slibdir, libdir and
77145         libc_cv_localedir.
77146         * sysdeps/unix/sysv/linux/configure: Regenerated.
77148 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77150         * manual/lang.texi (Old Varargs): Remove section.
77151         (How Variadic): Update menu.
77152         (va_start): Do not mention varargs.h.
77154 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77155             Joseph Myers  <joseph@codesourcery.com>
77157         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77158         link test.
77159         * configure: Regenerated.
77161 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77163         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77164         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77165         conformtest.pl
77167 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77169         * NOTES: Remove.
77170         * Makefile (files-for-dist): Remove NOTES.
77171         (NOTES): Remove rule.
77172         * README: Don't refer to NOTES.
77173         * manual/creature.texi: Don't include macros.texi.
77174         * manual/intro.texi (creature.texi): Remove comment referring to
77175         NOTES.
77177         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77178         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77179         * configure: Regenerated.
77180         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77181         LIBC_TRY_CC_OPTION.
77182         (libc_cv_as_i686): Likewise.
77183         (libc_cv_cc_avx): Likewise.
77184         (libc_cv_cc_sse2avx): Likewise.
77185         (libc_cv_cc_fma4): Likewise.
77186         (libc_cv_cc_novzeroupper): Likewise.
77187         * sysdeps/i386/configure: Regenerated.
77189         [BZ #13883]
77190         * sysdeps/i386/fpu/s_cexp.S: Remove.
77191         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77192         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77193         * math/libm-test.inc (cexp_test): Add more tests.
77194         * sysdeps/i386/fpu/libm-test-ulps: Update.
77195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77197 2012-03-21  Allan McRae  <allan@archlinux.org>
77199         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77201 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77203         [BZ #13871]
77204         * math/w_exp2.c: Do not include <float.h>.
77205         (o_threshold, u_threshold): Remove.
77206         (__exp2): Calculate result before checking finiteness and calling
77207         __kernel_standard.
77208         * math/w_exp2f.c: Likewise.
77209         * math/w_exp2l.c: Likewise.
77210         * math/libm-test.inc (exp2_test): Require overflow exception for
77211         1e6 input.
77213         [BZ #3866]
77214         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77215         range of signed 64-bit integers before using fistpll.  Remove
77216         checks for whether integers fit in mantissa bits.
77217         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77218         the range of signed 32-bit integers before using fistpl.  Remove
77219         checks for whether integers fit in mantissa bits.
77220         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77221         (__ieee754_powl): Test for y outside the range of signed 64-bit
77222         integers before using fistpll.  Reduce 64-bit values to 63-bit
77223         ones as needed.
77224         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77225         divide-by-zero is raised for zero to large negative powers.
77226         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77227         (__ieee754_powl): Test for y outside the range of signed 64-bit
77228         integers before using fistpll.  Reduce 64-bit values to 63-bit
77229         ones as needed.
77230         * math/libm-test.inc (pow_test): Add more tests.
77232 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77234         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77235         <stdio-common/_itoa.h>.
77236         * debug/segfault.c: Likewise.
77237         * elf/dl-cache.c: Likewise.
77238         * elf/dl-minimal.c: Likewise.
77239         * elf/dl-misc.c: Likewise.
77240         * elf/dl-sysdep.c: Likewise.
77241         * elf/dl-version.c: Likewise.
77242         * elf/rtld.c: Likewise.
77243         * hurd/hurdsock.c: Likewise.
77244         * hurd/lookup-retry.c: Likewise.
77245         * malloc/malloc.c: Likewise.
77246         * malloc/mtrace.c: Likewise.
77247         * nscd/nscd_getgr_r.c: Likewise.
77248         * nscd/nscd_getpw_r.c: Likewise.
77249         * nscd/nscd_getserv_r.c: Likewise.
77250         * posix/getopt_init.c: Likewise.
77251         * posix/wordexp.c: Likewise.
77252         * stdio-common/_itoa.c: Likewise.
77253         * stdio-common/printf_fphex.c: Likewise.
77254         * stdio-common/vfprintf.c: Likewise.
77255         * string/_strerror.c: Likewise.
77256         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77257         * sysdeps/i386/i686/hp-timing.h: Likewise.
77258         * sysdeps/mach/_strerror.c: Likewise.
77259         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77260         * sysdeps/mach/hurd/sethostid.c: Likewise.
77261         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77262         * sysdeps/mach/xpg-strerror.c: Likewise.
77263         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77264         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77265         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77266         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77267         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77268         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77269         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77270         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77271         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77272         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77273         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77274         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77275         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77276         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77277         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77278         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77279         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77280         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77281         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77282         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77283         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77285         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77287         * stdio-common/_itoa.h: Moved to ...
77288         * sysdeps/generic/_itoa.h: Here.
77290         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77292         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77293         instead of "_itoa.h" and "_itowa.h".
77294         * stdio-common/vfprintf.: Likewise.
77296 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77298         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77299         <bits/wordsize.h>.
77300         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77301         (__signbit): Likewise.
77302         (llrintf): Likewise.
77303         (llrint): Likewise.
77305 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77307         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77308         __WORDSIZE != 64.
77310 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77312         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77313         OVERFLOW_EXCEPTION_OK.
77314         * math/libm-test.inc ("Philosophy"): Update comment about
77315         exception testing.
77316         (OVERFLOW_EXCEPTION): Define.
77317         (OVERFLOW_EXCEPTION_OK): Likewise.
77318         (INVALID_EXCEPTION_OK): Renumber.
77319         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77320         (IGNORE_ZERO_INF_SIGN): Likewise.
77321         (test_exceptions): Handle FE_OVERFLOW.
77322         (exp10_test): Expect overflow exceptions.
77323         (exp2_test): Likewise.
77324         (expm1_test): Likewise.
77325         (nextafter_test): Likewise.
77326         (pow_test): Likewise.
77327         (scalbn_test): Likewise.
77328         (scalbln_test): Likewise.
77330 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77332         * sysdeps/x86_64/bits/atomic.h
77333         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77334         64bit integer.
77335         (atomic_exchange_acq): Likewise.
77336         (__arch_exchange_and_add_body): Likewise.
77337         (__arch_add_body): Likewise.
77338         (atomic_add_negative): Likewise.
77339         (atomic_add_zero): Likewise.
77341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77343         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77344         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77348         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77349         Check __x86_64__ instead of __WORDSIZE.
77351 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77353         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77355 2012-03-19  David S. Miller  <davem@davemloft.net>
77357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77359         * sysdeps/sparc/fpu/fenv_private.h: New file.
77360         * sysdeps/sparc/fpu/math_private.h: Use it.
77361         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77362         Remove.
77363         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77364         (libc_feholdexcept_setroundl): Remove.
77365         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77366         Remove.
77367         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77368         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77370 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77372         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77373         int64_t instead of long int.
77374         (INSERT_WORDS64): Likewise.
77376 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77378         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77379         _Unwind_GetCFA return to _Unwind_Ptr first.
77381 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77383         [BZ #13629]
77384         * math/s_clog.c: Include <float.h>.
77385         (__clog): Scale large or subnormal inputs.
77386         * math/s_clogf.c: Likewise.
77387         * math/s_clogl.c: Likewise.
77388         * math/s_clog10.c: Include <float.h>.
77389         (M_LOG10_2): Define.
77390         (__clog10): Scale large or subnormal inputs.
77391         * math/s_clog10f.c: Likewise.
77392         * math/s_clog10l.c: Likewise.
77393         * math/libm-test.inc (clog_test): Add more tests.
77394         (clog10_test): Likewise.
77395         * sysdeps/i386/fpu/libm-test-ulps: Update.
77396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77398         [BZ #11451]
77399         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77400         x and y.
77401         * math/libm-test.inc (atan2_test): Add another test.
77403         * Makerules (common-objdir-compile): Remove.
77404         * sysdeps/unix/Makefile (config-generated): Do not add
77405         $(unix-generated) to variable.
77406         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77407         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77408         Remove rule.
77409         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77410         Likewise.
77411         [generic bits/local_lim.h] (before-compile): Do not append to
77412         variable.
77413         [generic bits/local_lim.h] (common-generated): Likewise.
77414         [generic sys/param.h] (before-compile): Do not append to variable.
77415         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77416         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77417         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77418         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77419         include.
77420         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77421         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77422         [generic sys/param.h] ($(addprefix
77423         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77424         [generic sys/param.h] (common-generated): Do not append to
77425         variable.
77426         [generic sys/param.h] (sysdep_headers): Likewise.
77427         [generic bits/errno.h] (before-compile): Do not append to
77428         variable.
77429         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77430         rule.
77431         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77432         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77433         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77434         [generic bits/errno.h] (common-generated): Do not append to
77435         variable.
77436         [generic bits/ioctls.h] (before-compile): Do not append to
77437         variable.
77438         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77439         rule.
77440         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77441         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77442         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77443         rule.
77444         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77445         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77446         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77447         [generic bits/ioctls.h] (common-generated): Do not append to
77448         variable.
77449         [generic sys/syscall.h] (syscall.h): Remove variable.
77450         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77451         rule.
77452         [generic sys/syscall.h] (before-compile): Do not append to
77453         variable.
77454         [generic sys/syscall.h] (common-generated): Likewise.
77455         * sysdeps/unix/errnos-tmpl.c: Remove file.
77456         * sysdeps/unix/errnos.awk: Likewise.
77457         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77458         * sysdeps/unix/ioctls.awk: Likewise.
77459         * sysdeps/unix/mk-local_lim.c: Likewise.
77460         * sysdeps/unix/snarf-ioctls: Likewise.
77462 2012-03-19  Richard Henderson  <rth@twiddle.net>
77464         * sysdeps/i386/fpu/fenv_private.h: New file.
77465         * sysdeps/i386/fpu/math_private.h: Use it.
77466         (math_opt_barrier, math_force_eval): Remove.
77467         (libc_feholdexcept_setround_53bit): Remove.
77468         (libc_feupdateenv_53bit): Remove.
77469         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77470         (math_opt_barrier, math_force_eval): Remove.
77471         (libc_feholdexcept): Remove.
77472         (libc_feholdexcept_setround): Remove.
77473         (libc_fetestexcept, libc_fesetenv): Remove.
77474         (libc_feupdateenv_test): Remove.
77475         (libc_feupdateenv, libc_feholdsetround): Remove.
77476         (libc_feresetround): Remove.
77478         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77479         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77481         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77482         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77483         (libc_feupdateenv_testl): New.
77484         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77485         (libc_feupdateenv_testf): New.
77486         (libc_feupdateenv): Use libc_feupdateenv_test.
77487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77488         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77490         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77491         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77492         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77493         (libc_feresetround_noex): New.
77494         (libc_feresetround_noexf): New.
77495         (libc_feresetround_noexl): New.
77496         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77497         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77498         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77499         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77500         SET_RESTORE_ROUND.
77501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77503         (__cos): Likewise.
77504         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77505         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77506         SET_RESTORE_ROUND_NOEX.
77507         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77508         SET_RESTORE_ROUND_NOEXF.
77509         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77510         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77511         (libc_feholdsetroundf): New.
77512         (libc_feresetround, libc_feresetroundf): New.
77514         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77515         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77516         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77518         * sysdeps/generic/math_private.h: Include <fenv.h>.
77519         (default_libc_feholdexcept): New.
77520         (default_libc_feholdexcept_setround): New.
77521         (default_libc_fesetenv, default_libc_feupdateenv): New.
77522         (libc_feholdexcept): Only define if undefined.
77523         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77524         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77525         (libc_feholdexcept_setroundl): Likewise.
77526         (libc_feholdexcept_setround_53bit): Likewise.
77527         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77528         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77529         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77530         (libc_feupdateenv_53bit): Likewise.
77531         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77532         (libc_feholdexcept): Convert from macro to inline function.
77533         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77534         (libc_fesetenv, libc_feupdateenv): Likewise.
77536         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77537         not previously defined.
77538         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77539         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77540         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77541         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77542         * sysdeps/ieee754/flt-32/math_private.h: New file.
77543         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77544         math_private.h below SET_FLOAT_WORD.
77545         (__isnan, __isinf_ns, __finite): Remove.
77546         (__isnanf, __isinf_nsf, __finitef): Remove.
77548 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77552 2012-03-17  David S. Miller  <davem@davemloft.net>
77554         [BZ #6471]
77555         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77556         for 2.16.
77558 2012-03-16  David S. Miller  <davem@davemloft.net>
77560         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77561         warnings.
77563         [BZ #6471]
77564         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77565         properly.
77566         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77567         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77568         sysdep_routines when subdir is sysvipc.
77569         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77570         __getshmlba helper.
77572         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77574 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77576         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77577         [__LP64__].
77579 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77581         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77582         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77583         (__lround): Renamed to ...
77584         (__llround): This.  Replace long int with long long int.
77585         Define lround functions as aliases of llround functions.
77586         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77588 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77590         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77591         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77592         adresses to uintptr_t.  Replace "long int" and "unsigned long
77593         int" with "greg_t" on va_arg.
77595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77597         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77598         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77600         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77601         Move e_machine check before EI_CLASS check.  Handle x32
77602         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77603         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77604         SKIP_EM_IA_64 and include
77605         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77607         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77608         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77609         (add_system_dir): New macro.
77611         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77612         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77614 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77616         [BZ #2551]
77617         [BZ #2552]
77618         [BZ #2553]
77619         [BZ #2554]
77620         [BZ #2562]
77621         [BZ #2563]
77622         [BZ #2565]
77623         [BZ #2566]
77624         [BZ #2576]
77625         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77626         (y0): Likewise.
77627         * math/w_j0f.c (j0f): Likewise.
77628         (y0f): Likewise.
77629         * math/w_j0l.c (__j0l): Likewise.
77630         (__y0l): Likewise.
77631         * math/w_j1.c (j1): Likewise.
77632         (y1): Likewise.
77633         * math/w_j1f.c (j1f): Likewise.
77634         (y1f): Likewise.
77635         * math/w_j1l.c (__j1l): Likewise.
77636         (__y1l): Likewise.
77637         * math/w_jn.c (jn): Likewise.
77638         (yn): Likewise.
77639         * math/w_jnf.c (jnf): Likewise.
77640         (ynf): Likewise.
77641         * math/w_jnl.c (__jnl): Likewise.
77642         (__ynl): Likewise.
77643         * math/libm-test.inc (j0_test): Add more tests.
77644         (j1_test): Likewise.
77645         (jn_test): Likewise.  Add trailing semicolon to existing test.
77646         (y0_test): Likewise.
77647         (y1_test): Likewise.
77648         * sysdeps/i386/fpu/libm-test-ulps: Update.
77649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77651         [BZ #13851]
77652         [BZ #13854]
77653         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77654         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77655         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77656         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77657         (__tanl): Set errno for infinite argument.
77658         * sysdeps/i386/fpu/mptan.c: Remove.
77659         * sysdeps/i386/fpu/s_tan.S: Likewise.
77660         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77661         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77662         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77663         * math/libm-test.inc (tan_test): Add more tests and enable more
77664         tests for double and long double.
77665         * sysdeps/i386/fpu/libm-test-ulps: Update.
77666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77668 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77670         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77671         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77673 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77675         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77676         * configure.in: Use it for both main tree and add-ons.
77677         * configure: Regenerated.
77679 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77681         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77683 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77685         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77686         in comment.
77688         [BZ #13851]
77689         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77690         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77691         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77692         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77693         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77694         infinite argument.
77695         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77696         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77697         != 0 for prec == 2.
77698         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77699         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77700         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77701         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77702         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77703         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77704         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77705         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77706         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77707         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77708         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77709         * math/libm-test.inc (cos_test): Add more tests and enable more
77710         tests for long double.
77711         (sin_test): Likewise.
77712         (sincos_test): Likewise.
77713         * sysdeps/i386/fpu/libm-test-ulps: Update.
77714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77716 2012-03-16  David S. Miller  <davem@davemloft.net>
77718         * sysdeps/sparc/fpu/math_private.h: New file.
77720 2012-03-15  David S. Miller  <davem@davemloft.net>
77722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77723         file.
77724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77726         file.
77727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77732         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77733         sysdep routines.
77734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77736         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77737         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77739         * sysdeps/sparc/sparc-ifunc.h: New file.
77740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77741         sparc-ifunc.h
77742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77744         Likewise.
77745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77746         Likewise.
77747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77751         Likewise.
77752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77757         Likewise.
77758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77759         Likewise.
77760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77766         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77767         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77778         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77779         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77780         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77781         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77783         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77785 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77787         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77788         scaling.
77789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77791 2012-03-15  Andreas Jaeger  <aj@suse.de>
77793         [BZ #13852]
77794         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77795         ieee754/flt-32 implementation for sin, cos and sincos.
77796         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77797         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77798         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77799         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77800         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77801         ieee754/flt-32 implementation for tan.
77803         * math/libm-test.inc (cos_test): Enable some large input tests for
77804         float as well
77805         (sin_test): Likewise.
77806         (sincos_test): Likewise.
77807         (tan_test): Add tests for large input.
77809         * sysdeps/i386/fpu/libm-test-ulps: Update.
77811 2012-03-15  Andreas Jaeger  <aj@suse.de>
77813         [BZ #13658]
77814         * math/libm-test.inc (cos_test): Add more test cases.
77815         (sin_test): Likewise.
77816         (sincos_test): Likewise.
77818 2012-03-15  Andreas Jaeger  <aj@suse.de>
77820         [BZ #13837]
77821         * math/libm-test.inc (cos_test): Add a test case for large input
77822         value.
77823         (sin_test): Likewise.
77824         (sincos_test): Likewise.
77826 2012-03-15  Andreas Jaeger  <aj@suse.de>
77827             Joseph Myers  <joseph@codesourcery.com>
77829         [BZ #13658]
77830         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77831         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77832         * sysdeps/i386/fpu/branred.c: Likewise.
77833         * sysdeps/i386/fpu/dosincos.c: Likewise.
77834         * sysdeps/i386/fpu/mpa.c: Likewise.
77835         * sysdeps/i386/fpu/s_cos.S: Likewise.
77836         * sysdeps/i386/fpu/s_sin.S: Likewise.
77837         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77838         * sysdeps/i386/fpu/sincos32.c: Likewise.
77840         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77841         Define.
77842         (libc_feupdateenv_53bit): Define.
77843         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77844         Define.
77845         (libc_feupdateenv_53bit): Define.
77847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77848         53 bit (without extend i386 double precision).
77850         * math/libm-test.inc (sincos_test): Add tests for large input.
77851         (sin): Likewise.
77852         (cos): Likewise.
77854         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77856 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77860 2012-03-15  David S. Miller  <davem@davemloft.net>
77862         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77863         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77864         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77865         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77878         file.
77879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77881         file.
77882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77884         file.
77885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77887         file.
77888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77890         fmin/fmax sysdep routines.
77891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77893 2012-03-14  David S. Miller  <davem@davemloft.net>
77895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77899         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77900         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77915         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77918         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77920         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77921         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77922         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77923         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77924         routines.
77925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77926         file.
77927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77929         file.
77930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77932         file.
77933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77935         file.
77936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77938         file.
77939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77941         file.
77942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77943         file.
77944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77945         file.
77946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77947         file.
77948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77949         New file.
77950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77951         file.
77952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77953         file.
77954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77956         file.
77957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77959         file.
77960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77962         file.
77963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77965         VIS3 routines.
77967         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77968         New file.
77970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77972         * sysdeps/sparc/configure.in: New file.
77973         * sysdeps/sparc/configure: Generate.
77974         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77975         * configure: Regenerate.
77976         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77977         * config.make.in (have-as-vis3): New.
77978         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77979         available use -Av9d instead of -Av9a.
77980         * sysdeps/sparc/sparc64/Makefile: Likewise.
77981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77983         New file.
77984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77985         file.
77986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77987         New file.
77988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77989         file.
77990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77993         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77994         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77996         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77997         fzeros/fnegs to load 0x80000000 into a float register instead of
77998         using the stack.
77999         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78001 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78004         bits/syscall.h.
78005         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78006         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78007         ($(inst_includedir)/bits/syscall.h): Remove rule.
78008         ($(objpfx)bits/syscall.d): Include instead of
78009         $(objpfx)syscall-list.d.
78010         (generated): Change syscall-list.h and syscall-list.d to
78011         bits/syscall.h and bits/syscall.d.
78013 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78015         [BZ #13846]
78016         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78018 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78020         [BZ #13841]
78021         * math/s_csqrt.c: Include <float.h>.
78022         (__csqrt): Scale large or subnormal inputs.
78023         * math/s_csqrtf.c: Likewise.
78024         * math/s_csqrtl.c: Likewise.
78025         * math/libm-test.inc (csqrt_test): Add more tests.
78026         * sysdeps/i386/fpu/libm-test-ulps: Update.
78027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78029         [BZ #13840]
78030         * math/libm-test.inc (hypot_test): Add more tests.
78032 2012-03-13  David S. Miller  <davem@davemloft.net>
78034         [BZ #13840]
78035         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78036         double-precision for the calculation instead of scaling.
78038 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78040         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78041         manipulate bits before adding and subtracting TWO52[sx].
78042         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78043         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78044         Likewise.
78045         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78047 2012-03-13  David S. Miller  <davem@davemloft.net>
78049         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78050         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78052         rtld-global-offsets.h
78053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78055         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78056         large parameters.
78058         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78060         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78061         'err' in the ifdef scope in which it is actually used.
78063         * nss/nss_db/db-init.c: Include string.h
78065 2012-03-12  David S. Miller  <davem@davemloft.net>
78067         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78068         masking out of the most significant byte of random value used.
78069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78070         Fix coding style in previous change.
78072         * sysdeps/unix/sysv/linux/kernel-features.h
78073         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78074         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78075         expression.
78076         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78077         later.
78079 2012-03-11  David S. Miller  <davem@davemloft.net>
78081         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78082         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78083         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78084         for 'resultvar' otherwise things get truncated on 64-bit.
78086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78087         Fix masking out of the most significant byte of random value used.
78089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78091 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78095 2012-03-09  David S. Miller  <davem@davemloft.net>
78097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78098         variables with appropriate CPP guards.
78099         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78100         from the frame pointer, not the stack pointer.  Correct layout
78101         comments.  Fix test on resulting framesize and the management of
78102         the outregs buffer for pltexit.  Preserve floating point return
78103         values across _dl_call_pltexit call.
78104         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78105         framesize and the management of the outregs buffer for pltexit.
78106         Preserve floating point return values across _dl_call_pltexit
78107         call.
78108         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78109         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78110         (la_sparc64_gnu_pltexit): New functions.
78111         (print_exit): Fix format string for return register value.
78113 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78115         * sunrpc/Makefile (others): Add rpcgen.
78116         ($(objpfx)rpcgen): Remove special build rule and dependency on
78117         libc.
78118         * sunrpc/rpcgen.c: New file.
78120 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78122         [BZ #13673]
78123         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78124         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78125         * sysdeps/i386/crti.S: Likewise.
78126         * sysdeps/i386/crtn.S: Likewise.
78127         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78128         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78129         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78130         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78131         * sysdeps/sh/crti.S: Likewise.
78132         * sysdeps/sh/crtn.S: Likewise.
78133         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78135         [BZ #13673]
78136         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78137         with URL.
78138         * locale/programs/locfile-kw.gperf: Likewise.
78139         * locale/programs/charmap-kw.h: Regenerated.
78140         * locale/programs/locfile-kw.h: Likewise.
78142         [BZ #13673]
78143         * intl/plural.y: Replace FSF snail mail address with URL.
78144         * intl/plural.c: Regenerated.
78146 2012-03-09  Richard Henderson  <rth@twiddle.net>
78148         * include/math_private.h: Remove file.
78149         * math/math_private.h: Move file ...
78150         * sysdeps/generic/math_private.h: ... here.
78152         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78153         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78154         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78156         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78157         and <math_private.h>.
78158         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78159         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78160         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78161         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78162         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78163         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78164         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78166         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78167         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78169         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78170         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78172         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78173         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78174         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78175         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78176         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78177         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78179         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78180         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78181         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78182         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78183         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78184         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78185         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78187         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78188         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78189         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78190         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78191         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78192         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78193         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78194         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78195         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78196         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78197         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78198         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78199         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78200         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78201         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78202         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78203         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78204         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78208         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78209         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78210         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78212         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78216         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78217         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78219         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78221         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78222         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78223         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78224         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78225         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78226         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78227         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78228         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78229         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78230         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78231         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78232         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78233         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78236         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78237         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78238         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78240         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78241         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78242         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78243         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78245         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78246         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78247         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78248         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78249         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78251         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78252         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78253         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78254         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78255         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78256         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78258         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78259         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78260         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78261         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78262         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78263         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78264         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78265         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78266         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78267         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78268         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78269         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78270         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78271         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78272         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78273         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78274         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78275         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78276         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78277         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78278         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78279         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78280         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78281         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78282         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78283         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78284         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78285         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78286         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78287         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78288         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78289         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78290         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78291         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78292         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78293         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78294         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78295         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78296         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78297         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78298         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78299         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78300         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78301         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78302         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78303         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78304         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78305         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78306         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78307         * sysdeps/ieee754/k_standard.c: Likewise.
78308         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78309         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78311         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78312         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78313         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78314         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78315         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78316         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78317         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78318         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78319         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78320         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78321         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78322         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78323         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78324         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78325         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78326         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78327         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78328         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78329         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78330         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78331         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78332         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78333         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78334         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78335         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78336         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78337         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78338         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78339         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78340         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78341         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78342         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78343         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78344         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78345         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78346         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78347         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78348         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78349         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78351         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78389         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78390         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78393         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78395         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78399         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78400         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78401         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78403         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78404         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78405         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78406         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78408         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78409         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78410         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78411         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78412         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78413         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78414         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78415         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78416         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78417         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78418         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78419         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78420         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78421         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78422         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78423         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78424         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78425         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78426         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78427         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78429         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78430         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78431         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78433         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78434         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78435         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78436         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78437         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78438         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78439         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78440         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78441         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78442         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78443         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78444         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78445         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78446         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78447         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78448         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78449         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78450         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78451         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78452         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78453         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78454         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78455         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78456         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78457         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78458         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78459         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78460         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78461         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78462         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78463         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78464         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78465         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78466         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78467         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78468         * sysdeps/ieee754/s_lib_version.c: Likewise.
78469         * sysdeps/ieee754/s_matherr.c: Likewise.
78470         * sysdeps/ieee754/s_signgam.c: Likewise.
78471         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78472         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78473         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78474         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78475         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78476         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78477         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78478         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78479         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78480         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78481         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78482         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78483         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78484         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78485         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78486         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78487         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78488         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78489         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78493 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78495         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78496         * sunrpc/rpc_main.c: Likewise.
78497         * sunrpc/rpc_svcout.c: Likewise.
78499 2012-03-09  David S. Miller  <davem@davemloft.net>
78501         * include/math_private.h: New file.
78503 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78505         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78506         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78507         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78508         from <bits/socket_type.h>.
78509         (enum __socket_type): Don't define here.
78510         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78512         bits/socket_type.h.
78514         [BZ #13566]
78515         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78516         checking __USE_GNU.
78518         * Makerules ($(inst_includedir)/%.h): New rule.
78519         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78520         (install-others): Remove variable setting.
78521         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78523 2012-03-08  Richard Henderson  <rth@twiddle.net>
78525         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78526         from macro to inline function; merge with the
78527         !__LIBC_INTERNAL_MATH_INLINES version.
78528         (__ieee754_sqrtf): Likewise.
78530         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78531         to inline function.
78532         (__rintf, __floor, __floorf): Likewise.
78534         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78535         macro to inline function.
78536         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78538         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78539         not <math/math_private.h>.
78541 2012-03-08  David S. Miller  <davem@davemloft.net>
78543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78544         copyright year.
78545         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78547 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78549         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78550         normalization.
78551         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78552         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78554 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78556         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78557         be defined individually, they must be defined as a block.  Define
78558         S for printing a string instead of hidint the different by using a
78559         macro for adding the 'l'.
78560         * stdio-common/tst-fphex-wide.c: Adjust.
78562 2012-03-07  Marek Polacek  <polacek@redhat.com>
78564         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78566 2012-03-08  Marek Polacek  <polacek@redhat.com>
78568         [BZ #13806]
78569         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78570         * stdio-common/tst-fphex.c: Define a few macros to make the
78571         test reusable.  Use them.
78572         * stdio-common/tst-fphex-wide.c: New file.
78574 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78576         [BZ #6911]
78577         * manual/macros.texi (gnusystems): New macro.
78578         (nongnusystems): Likewise.
78579         (gnulinuxhurdsystems): Likewise.
78580         (gnuhurdsystems): Likewise..
78581         (gnulinuxsystems): Likewise.
78582         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78583         variants of the GNU system, not "GNU system".
78584         * manual/conf.texi: Likewise.
78585         * manual/errno.texi: Likewise.  Update example of errno macro
78586         expansion.
78587         * manual/filesys.texi: Likewise.
78588         (getumask): Document as specific to GNU/Hurd.
78589         * manual/install.texi: Likewise.  Reword some references to
78590         GNU/Linux.
78591         * manual/intro.texi: Likewise.
78592         * manual/io.texi: Likewise.
78593         (File Name Portability): Detail which constraints are inapplicable
78594         to all GNU systems and which are only inapplicable to GNU/Hurd.
78595         * manual/job.texi: Likewise.
78596         * manual/llio.texi: Likewise.
78597         (O_NOCTTY): Document as present on GNU/Linux.
78598         * manual/maint.texi: Likewise.
78599         * manual/memory.texi: Likewise.
78600         * manual/pattern.texi: Likewise.
78601         * manual/pipe.texi: Likewise.
78602         * manual/process.texi: Likewise.
78603         * manual/resource.texi: Likewise.
78604         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78605         child on GNU/Hurd.
78606         * manual/setjmp.texi: Likewise.
78607         * manual/signal.texi: Likewise.
78608         * manual/startup.texi: Likewise.
78609         * manual/stdio.texi: Likewise.
78610         * manual/terminal.texi: Likewise.
78611         (ONLCR): Document as POSIX.
78612         (OXTABS): Document availability on GNU/Linux as XTABS.
78613         (ONOEOT): Document availability separately from other bits.
78614         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78615         * manual/time.texi: Likewise.
78616         * manual/users.texi: Likewise.
78617         * INSTALL: Regenerated.
78618         * sysdeps/gnu/errlist.c: Regenerated.
78620         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78621         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78622         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78623         puts.
78624         * configure: Regenerated.
78626 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78628         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78629         default includes instead of AC_HEADER_CHECK.
78630         * sysdeps/i386/configure: Regenerated.
78632         [BZ #10716]
78633         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78634         * math/s_cacoshf.c (__cacoshf): Likewise.
78635         * math/s_cacoshl.c (__cacoshl): Likewise.
78636         * math/s_casinh.c (__casinh): Set signs of result from argument.
78637         * math/s_casinhf.c (__casinhf): Likewise.
78638         * math/s_casinhl.c (__casinhl): Likewise.
78639         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78640         (casinh_test): Add more tests.
78641         * sysdeps/i386/fpu/libm-test-ulps: Update.
78642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78644 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78646         * po/zh_TW.po: Update from translation team.
78648         * login/Makefile (distribute): Remove variable.
78649         * catgets/Makefile: Likewise.
78650         * mach/Makefile: Likewise.
78651         * malloc/Makefile: Likewise.
78652         * misc/Makefile: Likewise.
78653         * iconv/Makefile: Likewise.
78654         * nscd/Makefile: Likewise.
78655         * hurd/Makefile: Likewise.
78656         * manual/Makefile: Likewise.
78657         * locale/Makefile: Likewise.
78658         * intl/Makefile: Likewise.
78659         * conform/Makefile: Likewise.
78660         * nss/Makefile: Likewise.
78661         * time/Makefile: Likewise.
78662         * soft-fp/Makefile: Likewise.
78663         * dirent/Makefile: Likewise.
78664         * gmon/Makefile: Likewise.
78665         * po/Makefile: Likewise.
78666         * rt/Makefile: Likewise.
78667         * socket/Makefile: Likewise.
78668         * math/Makefile: Likewise.
78669         * signal/Makefile: Likewise.
78670         * debug/Makefile: Likewise.
78671         * elf/Makefile: Likewise.
78672         * timezone/Makefile: Likewise.
78673         * stdlib/Makefile: Likewise.
78674         * iconvdata/Makefile: Likewise.
78675         * sunrpc/Makefile: Likewise.
78676         * io/Makefile: Likewise.
78677         * argp/Makefile: Likewise.
78678         * inet/Makefile: Likewise.
78679         * hesiod/Makefile: Likewise.
78680         * grp/Makefile: Likewise.
78681         * csu/Makefile: Likewise.
78682         * wctype/Makefile: Likewise.
78683         * crypt/Makefile: Likewise.
78684         * libio/Makefile: Likewise.
78685         * string/Makefile: Likewise.
78686         * nis/Makefile: Likewise.
78687         * resolv/Makefile: Likewise.
78688         * stdio-common/Makefile: Likewise.
78689         * wcsmbs/Makefile: Likewise.
78690         * dlfcn/Makefile: Likewise.
78691         * posix/Makefile: Likewise.
78693         [BZ #6959]
78694         * timezone/Makefile: Don't install timezone files, just the programs
78695         and scripts.
78697 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78699         * nss/databases.def: Add missing gshadow entry.
78701         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78703 2012-03-06  Marek Polacek  <polacek@redhat.com>
78705         [BZ #13726]
78706         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78707         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78708         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78709         * stdio-common/tst-long-dbl-fphex.c: New file.
78711 2012-03-06  David S. Miller  <davem@davemloft.net>
78713         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78714         (set_obp_int): New function.
78715         (get_obp_int): New function.
78716         (__get_clockfreq_via_dev_openprom): Likewise.
78717         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78718         Avoid unused variable warnings on 'val' and use builtin_expect.
78719         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78720         __builtin_expect.
78721         (INLINE_CLONE_SYSCALL): Likewise.
78723 2012-03-05  David S. Miller  <davem@davemloft.net>
78725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78727 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78731         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78732         only for |x| >= 40.
78733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78735 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78737         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78738         Replace gettimeofday with __vdso_gettimeofday.
78740         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78741         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78742         __vdso_clock_gettime and __vdso_getcpu.
78744         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78745         time with __vdso_time.
78747 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78749         * manual/lang.texi (size_t): Note types to which size_t may be
78750         equivalent with the GNU C Library, but do not describe when
78751         differences between them are significant.
78753 2012-03-05  Andreas Jaeger  <aj@suse.de>
78755         * sysdeps/i386/fpu/libm-test-ulps: Update.
78757 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78759         [BZ #3976]
78760         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78761         (__ieee754_pow): Save and restore rounding mode and use
78762         round-to-nearest for main computations.
78763         * math/libm-test.inc (pow_test_tonearest): New function.
78764         (pow_test_towardzero): Likewise.
78765         (pow_test_downward): Likewise.
78766         (pow_test_upward): Likewise.
78767         (main): Call the new functions.
78768         * sysdeps/i386/fpu/libm-test-ulps: Update.
78769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78771         [BZ #3976]
78772         * math/libm-test.inc (cosh_test_tonearest): New function.
78773         (cosh_test_towardzero): Likewise.
78774         (cosh_test_downward): Likewise.
78775         (cosh_test_upward): Likewise.
78776         (sinh_test_tonearest): Likewise.
78777         (sinh_test_towardzero): Likewise.
78778         (sinh_test_downward): Likewise.
78779         (sinh_test_upward): Likewise.
78780         (main): Call the new functions.
78781         * sysdeps/i386/fpu/libm-test-ulps: Update.
78782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78784 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78786         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78787         default stack guard is set in last bytes.
78788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78790 2012-03-05  Kees Cook  <keescook@chromium.org>
78792         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78794         [BZ #13656]
78795         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78796         possibly allocate from heap instead of stack.
78797         * stdio-common/bug-vfprintf-nargs.c: New file.
78798         * stdio-common/Makefile (tests): Add nargs overflow test.
78800 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78804 2012-03-03  Marek Polacek  <polacek@redhat.com>
78806         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78807         * math/math_private.h: Likewise.
78808         * stdlib/tst-strtod.c: Likewise.
78809         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78810         * sysdeps/x86_64/bits/atomic.h: Likewise.
78812 2012-03-02  David S. Miller  <davem@davemloft.net>
78814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78818         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78819         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78820         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78821         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78823 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78825         [BZ #13792]
78826         * manual/examples/README: New file, says the example source files
78827         can be used under GPL>=2.
78828         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78829         line containing just "*/".
78830         * manual/examples/add.c: Add copyright header (GPL>=2).
78831         * manual/examples/argp-ex1.c: Likewise.
78832         * manual/examples/argp-ex2.c: Likewise.
78833         * manual/examples/argp-ex3.c: Likewise.
78834         * manual/examples/argp-ex4.c: Likewise.
78835         * manual/examples/atexit.c: Likewise.
78836         * manual/examples/db.c: Likewise.
78837         * manual/examples/dir.c: Likewise.
78838         * manual/examples/dir2.c: Likewise.
78839         * manual/examples/execinfo.c: Likewise.
78840         * manual/examples/filecli.c: Likewise.
78841         * manual/examples/filesrv.c: Likewise.
78842         * manual/examples/fmtmsgexpl.c: Likewise.
78843         * manual/examples/genpass.c: Likewise.
78844         * manual/examples/inetcli.c: Likewise.
78845         * manual/examples/inetsrv.c: Likewise.
78846         * manual/examples/isockad.c: Likewise.
78847         * manual/examples/longopt.c: Likewise.
78848         * manual/examples/memopen.c: Likewise.
78849         * manual/examples/memstrm.c: Likewise.
78850         * manual/examples/mkfsock.c: Likewise.
78851         * manual/examples/mkisock.c: Likewise.
78852         * manual/examples/mygetpass.c: Likewise.
78853         * manual/examples/pipe.c: Likewise.
78854         * manual/examples/popen.c: Likewise.
78855         * manual/examples/rprintf.c: Likewise.
78856         * manual/examples/search.c: Likewise.
78857         * manual/examples/select.c: Likewise.
78858         * manual/examples/setjmp.c: Likewise.
78859         * manual/examples/sigh1.c: Likewise.
78860         * manual/examples/sigusr.c: Likewise.
78861         * manual/examples/stpcpy.c: Likewise.
78862         * manual/examples/strdupa.c: Likewise.
78863         * manual/examples/strftim.c: Likewise.
78864         * manual/examples/strncat.c: Likewise.
78865         * manual/examples/subopt.c: Likewise.
78866         * manual/examples/swapcontext.c: Likewise.
78867         * manual/examples/termios.c: Likewise.
78868         * manual/examples/testopt.c: Likewise.
78869         * manual/examples/testpass.c: Likewise.
78870         * manual/examples/timeval_subtract.c: Likewise.
78872         [BZ #13792]
78873         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78874         function to ...
78875         * manual/timeval_subtract.c.texi: ... here, new file.
78877 2012-03-02  David S. Miller  <davem@davemloft.net>
78879         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78881 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78883         [BZ #3976]
78884         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78885         (__sin): Save and restore rounding mode and use round-to-nearest
78886         for all computations.
78887         (__cos): Save and restore rounding mode and use round-to-nearest
78888         for all computations.
78889         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78890         <fenv.h>.
78891         (tan): Save and restore rounding mode and use round-to-nearest for
78892         all computations.
78893         * math/libm-test.inc (cos_test_tonearest): New function.
78894         (cos_test_towardzero): Likewise.
78895         (cos_test_downward): Likewise.
78896         (cos_test_upward): Likewise.
78897         (sin_test_tonearest): Likewise.
78898         (sin_test_towardzero): Likewise.
78899         (sin_test_downward): Likewise.
78900         (sin_test_upward): Likewise.
78901         (tan_test_tonearest): Likewise.
78902         (tan_test_towardzero): Likewise.
78903         (tan_test_downward): Likewise.
78904         (tan_test_upward): Likewise.
78905         (main): Call the new functions.
78906         * sysdeps/i386/fpu/libm-test-ulps: Update.
78907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78909         [BZ #10135]
78910         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78911         small n, then large n, before computing and testing k+n.
78912         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78914         Likewise.
78915         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78916         Likewise.
78917         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78918         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78921         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78922         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78923         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78924         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78925         * math/libm-test.inc (scalbn_test): Add more tests.
78926         (scalbln_test): Likewise.
78928         * manual/filesys.texi (mode_t): Describe constraints on size and
78929         signedness, not exact equivalence to a particular type.
78930         (ino_t): Likewise.
78931         (ino64_t): Likewise.
78932         (dev_t): Likewise.
78933         (nlink_t): Likewise.
78934         (blkcnt_t): Likewise.
78935         (blkcnt64_t): Likewise.
78936         * manual/llio.texi (off_t): Likewise.
78938         [BZ #3976]
78939         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78940         (__ieee754_exp): Save and restore rounding mode and use
78941         round-to-nearest for all computations.
78942         * math/libm-test.inc (exp_test_tonearest): New function.
78943         (exp_test_towardzero): Likewise.
78944         (exp_test_downward): Likewise.
78945         (exp_test_upward): Likewise.
78946         (main): Call the new functions.
78947         * sysdeps/i386/fpu/libm-test-ulps: Update.
78948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78950 2012-03-01  Chris Demetriou  <cgd@google.com>
78952         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78953         have predictable order.
78955 2012-03-01  David S. Miller  <davem@davemloft.net>
78957         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78959         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78960         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78961         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78962         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78964         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78965         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78966         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78968         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78969         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78970         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78971         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78972         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78976         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78977         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78978         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78980         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78981         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78982         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78983         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78984         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78985         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78987         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78988         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78989         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78990         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78991         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78993         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78994         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78996         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78997         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78998         * sysdeps/sparc/elf/configure: Regenerated.
79000 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79002         * configure.in (AS, LD): Require binutils 2.20 or later.
79003         * configure: Regenerated.
79004         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79005         as required minimum version.
79006         * INSTALL: Regenerated.
79008         [BZ #2541]
79009         [BZ #4108]
79010         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79011         before squaring exponent.
79012         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79013         bottom long double and 27 bits of top long double before squaring
79014         exponent.
79015         * math/libm-test.inc (erfc_test): Add more tests.
79016         * sysdeps/i386/fpu/libm-test-ulps: Update.
79017         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79020 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79022         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79023         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79024         containing bit-fields.
79025         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79026         * soft-fp/single.h (_FP_UNION_S): Likewise.
79027         * soft-fp/double.h (_FP_UNION_D): Likewise.
79029 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79031         [BZ #13786]
79032         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79033         not include ../strcmp.S.
79034         [USE_AS_STRNCASECMP_L]: Likewise.
79035         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79036         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79037         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79038         (__strncasecmp_l_ia32): Define as alias to
79039         __strncasecmp_l_nonascii.
79041         [BZ #5794]
79042         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79043         * sysdeps/i386/fpu/libm-test-ulps: Update.
79044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79046         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79049 2012-02-29  Jeff Law  <law@redhat.com>
79051         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79052         out of bounds read.
79054 2012-02-29  Marek Polacek  <polacek@redhat.com>
79056         [BZ #13706]
79057         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79058         * elf/Makefile: Add rules to run tst-unused-dep.out.
79060 2012-02-28  David S. Miller  <davem@davemloft.net>
79062         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79063         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79065         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79066         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79067         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79069 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79071         * math/libm-test.inc (llround_test): Move one test from
79072         lround_test.  Use TEST_f_L in moved test.
79073         (lround_test): Move misplaced test to llround_test.  Add testcase
79074         from bug 2561.
79076 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79078         * sysdeps/x86_64/fpu/e_expf.S: New file.
79079         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79081 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79083         [BZ #13637]
79084         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79085         of remain_len that may cause incomplete multi-byte character and
79086         false match.
79087         * posix/bug-regex33.c: New file.
79088         * posix/Makefile (tests): Add bug-regex33.
79090 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79092         * manual/macros.texi: New file.
79093         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79094         * manual/libc.texinfo: Include macros.texi.
79095         * manual/creatute.texi: Likewise.
79096         * manual/install.texi: Likewise.
79097         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79098         @glibcadj{} in references to the GNU C Library.
79099         * manual/charset.texi: Likewise.
79100         * manual/conf.texi: Likewise.
79101         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79102         when not using those macros.
79103         * manual/creature.texi: Likewise.
79104         * manual/crypt.texi: Likewise.
79105         * manual/errno.texi: Likewise.
79106         * manual/filesys.texi: Likewise.
79107         * manual/header.texi: Likewise.
79108         * manual/install.texi: Likewise.
79109         * manual/intro.texi: Likewise.
79110         * manual/io.texi: Likewise.
79111         * manual/job.texi: Likewise.
79112         * manual/lang.texi: Likewise.
79113         * manual/libc.texiinfo: Likewise.
79114         * manual/llio.texi: Likewise.
79115         * manual/locale.texi: Likewise.
79116         * manual/maint.texi: Likewise.
79117         * manual/math.texi: Likewise.
79118         * manual/memory.texi: Likewise.
79119         * manual/message.texi: Likewise.
79120         * manual/nss.texi: Likewise.
79121         * manual/pattern.texi: Likewise.
79122         * manual/process.texi: Likewise.
79123         * manual/resource.texi: Likewise.
79124         * manual/search.texi: Likewise.
79125         * manual/setjmp.texi: Likewise.
79126         * manual/signal.texi: Likewise.
79127         * manual/socket.texi: Likewise.
79128         * manual/startup.texi: Likewise.
79129         * manual/stdio.texi: Likewise.
79130         * manual/string.texi: Likewise.
79131         * manual/sysinfo.texi: Likewise.
79132         * manual/syslog.texi: Likewise.
79133         * manual/terminal.texi: Likewise.
79134         * manual/time.texi: Likewise.
79135         * manual/users.texi: Likewise.
79136         * INSTALL: Regenerated.
79137         * NOTES: Regenerated.
79138         * sysdeps/gnu/errlist.c: Regenerated.
79140 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79142         * include/dirent.h: Include <dirstream.h> before
79143         <dirent/dirent.h>.
79145 2012-02-28  David S. Miller  <davem@davemloft.net>
79147         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79148         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79149         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79150         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79152 2012-02-27  David S. Miller  <davem@davemloft.net>
79154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79156         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79157         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79160         frame pointer instead of stack pointer relative arg slot.
79161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79162         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79163         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79165 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79167         [BZ #3992]
79168         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79170 2012-02-27  David S. Miller  <davem@davemloft.net>
79172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79176         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79177         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79178         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79179         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79181 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79183         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79184         later.  Allow versions 5-9.
79185         * configure: Regenerated.
79186         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79187         required minimum version and 4.6 as recommended version.  Do not
79188         mention bugs in GCC 2.7 and 2.8.
79189         * INSTALL: Regenerated.
79191 2012-02-27  David S. Miller  <davem@davemloft.net>
79193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79197         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79198         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79199         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79200         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79203         manipulate bits before adding and subtracting TWO112[sx].
79204         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79206 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79208         [BZ #13775]
79209         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79210         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79211         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79212         being in POSIX, because they are in 1003.1-2008.
79214         * rt/tst-aio.c: Include <fcntl.h>.
79215         * rt/tst-aio7.c: Likewise.
79216         * rt/tst-aio64.c: Likewise.
79218         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79220 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79222         * manual/install.texi (--with-headers): Describe headers as
79223         interface headers, not private headers.
79224         (Specific advice for GNU/Linux systems): Describe use of headers
79225         from "make headers_install", not private headers from older
79226         kernels.
79227         * INSTALL: Regenerated.
79228         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79229         Change to 2.6.19.
79230         * sysdeps/unix/sysv/linux/configure: Regenerated.
79232         * manual/llio.texi (fclean): Remove documentation.
79234         * manual/Makefile (libc-texi-generated): New variable.  Include
79235         version.texi.
79236         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79237         $(libc-texi-generated), not duplicated list of files.
79238         (version.texi, stamp-version): New rules.
79239         (realclean): Remove $(libc-texi-generated), not individual files
79240         from that list.  Do not remove dir-add.texinfo.
79241         * manual/libc.texinfo: Comment out uses of edition numbers and
79242         references to printed manual.  Remove last-updated dates.
79243         (EDITION): Comment out.
79244         (ISBN): Likewise.
79245         (VERSION, UPDATED): Remove.
79246         (version.texi): Include.
79248 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79250         * sysdeps/posix/spawni.c: Include <signal.h>.
79251         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79252         * sysdeps/pthread/aio_fsync.c: Likewise.
79254 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79256         * conform/Makefile (tests): Run only when not cross-compiling and
79257         when fast-check is not defined.
79259         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79260         * conform/data/limits.h-data: Fixes for POSIX2008.
79261         * conform/run-conformtest.sh: Run all tests.
79262         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79263         headers.
79264         * include/bits/dlfcn.h: Likewise.
79265         * include/langinfo.h: Likewise.
79266         * include/monetary.h: Likewise.
79267         * include/sys/poll.h: Likewise.
79269         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79270         for __USE_GNU.
79271         * posix/spawn.h: Define __need_sigset_t.
79272         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79273         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79274         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79275         to get sigevent_t only.
79276         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79277         only for __USE_GNU.
79278         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79279         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79280         process_vm_writev only for __USE_GNU.
79281         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79283         * conform/Makefile: For now ignore errors from run-conformtest.
79284         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79285         POSIX to avoid namespace pollution.  Don't prepend headers.
79286         * conform/data/aio.h-data: Fixes for POSIX testing.
79287         * conform/data/fcntl.h-data: Likewise.
79288         * conform/data/glob.h-data: Likewise.
79289         * conform/data/grp.h-data: Likewise.
79290         * conform/data/pthread.h-data: Likewise.
79291         * conform/data/pwd.h-data: Likewise.
79292         * conform/data/signal.h-data: Likewise.
79293         * conform/data/spawn.h-data: Likewise.
79294         * conform/data/stdio.h-data: Likewise.
79295         * conform/data/stdlib.h-data: Likewise.
79296         * conform/data/stropts.h-data: Likewise.
79297         * conform/data/sys/mman.h-data: Likewise.
79298         * conform/data/sys/stat.h-data: Likewise.
79299         * conform/data/sys/types.h-data: Likewise.
79300         * conform/data/sys/wait.h-data: Likewise.
79301         * conform/data/time.h-data: Likewise.
79302         * conform/data/unistd.h-data: Likewise.
79303         * conform/data/utime.h-data: Likewise.
79305         * io/sys/stat.h: fchmod was always in POSIX.
79306         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79307         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79308         * rt/aio.h: Define __need_timespec before including <time.h>.
79309         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79310         struct.  Add forward declaration of pthread_attr_t and use it in
79311         sigevent.
79312         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79314         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79315         always remove CLK_TCK definition.
79317 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79319         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79321 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79323         * conform/run-conformtest.sh: New file.
79324         * conform/Makefile: Run run-conformtest for tests.
79325         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79326         support.
79328         * conform/data/uchar.h-data: New file.
79329         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79330         * conform/data/arpa/inet.h-data: Likewise.
79331         * conform/data/assert.h-data: Likewise.
79332         * conform/data/complex.h-data: Likewise.
79333         * conform/data/cpio.h-data: Likewise.
79334         * conform/data/ctype.h-data: Likewise.
79335         * conform/data/dirent.h-data: Likewise.
79336         * conform/data/dlfcn.h-data: Likewise.
79337         * conform/data/errno.h-data: Likewise.
79338         * conform/data/fcntl.h-data: Likewise.
79339         * conform/data/float.h-data: Likewise.
79340         * conform/data/fmtmsg.h-data: Likewise.
79341         * conform/data/fnmatch.h-data: Likewise.
79342         * conform/data/ftw.h-data: Likewise.
79343         * conform/data/glob.h-data: Likewise.
79344         * conform/data/grp.h-data: Likewise.
79345         * conform/data/iconv.h-data: Likewise.
79346         * conform/data/inttypes.h-data: Likewise.
79347         * conform/data/langinfo.h-data: Likewise.
79348         * conform/data/libgen.h-data: Likewise.
79349         * conform/data/limits.h-data: Likewise.
79350         * conform/data/locale.h-data: Likewise.
79351         * conform/data/math.h-data: Likewise.
79352         * conform/data/monetary.h-data: Likewise.
79353         * conform/data/mqueue.h-data: Likewise.
79354         * conform/data/ndbm.h-data: Likewise.
79355         * conform/data/net/if.h-data: Likewise.
79356         * conform/data/netdb.h-data: Likewise.
79357         * conform/data/netinet/in.h-data: Likewise.
79358         * conform/data/nl_types.h-data: Likewise.
79359         * conform/data/poll.h-data: Likewise.
79360         * conform/data/pthread.h-data: Likewise.
79361         * conform/data/pwd.h-data: Likewise.
79362         * conform/data/regex.h-data: Likewise.
79363         * conform/data/sched.h-data: Likewise.
79364         * conform/data/search.h-data: Likewise.
79365         * conform/data/semaphore.h-data: Likewise.
79366         * conform/data/setjmp.h-data: Likewise.
79367         * conform/data/signal.h-data: Likewise.
79368         * conform/data/spawn.h-data: Likewise.
79369         * conform/data/stdarg.h-data: Likewise.
79370         * conform/data/stdio.h-data: Likewise.
79371         * conform/data/stdlib.h-data: Likewise.
79372         * conform/data/string.h-data: Likewise.
79373         * conform/data/strings.h-data: Likewise.
79374         * conform/data/stropts.h-data: Likewise.
79375         * conform/data/sys/ipc.h-data: Likewise.
79376         * conform/data/sys/mman.h-data: Likewise.
79377         * conform/data/sys/msg.h-data: Likewise.
79378         * conform/data/sys/resource.h-data: Likewise.
79379         * conform/data/sys/select.h-data: Likewise.
79380         * conform/data/sys/sem.h-data: Likewise.
79381         * conform/data/sys/shm.h-data: Likewise.
79382         * conform/data/sys/socket.h-data: Likewise.
79383         * conform/data/sys/stat.h-data: Likewise.
79384         * conform/data/sys/statvfs.h-data: Likewise.
79385         * conform/data/sys/time.h-data: Likewise.
79386         * conform/data/sys/timeb.h-data: Likewise.
79387         * conform/data/sys/times.h-data: Likewise.
79388         * conform/data/sys/types.h-data: Likewise.
79389         * conform/data/sys/uio.h-data: Likewise.
79390         * conform/data/sys/un.h-data: Likewise.
79391         * conform/data/sys/utsname.h-data: Likewise.
79392         * conform/data/sys/wait.h-data: Likewise.
79393         * conform/data/syslog.h-data: Likewise.
79394         * conform/data/tar.h-data: Likewise.
79395         * conform/data/termios.h-data: Likewise.
79396         * conform/data/utime.h-data: Likewise.
79397         * conform/data/utmpx.h-data: Likewise.
79398         * conform/data/varargs.h-data: Likewise.
79399         * conform/data/wchar.h-data: Likewise.
79400         * conform/data/wctype.h-data: Likewise.
79401         * conform/data/wordexp.h-data: Likewise.
79403         * include/stropts.h: New file.
79404         * include/uchar.h: New file.
79405         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79406         * include/assert.h: Likewise.
79407         * include/ctype.h: Likewise.
79408         * include/dirent.h: Likewise.
79409         * include/dlfcn.h: Likewise.
79410         * include/fcntl.h: Likewise.
79411         * include/fnmatch.h: Likewise.
79412         * include/glob.h: Likewise.
79413         * include/grp.h: Likewise.
79414         * include/libio.h: Likewise.
79415         * include/locale.h: Likewise.
79416         * include/math.h: Likewise.
79417         * include/net/if.h: Likewise.
79418         * include/netdb.h: Likewise.
79419         * include/netinet/in.h: Likewise.
79420         * include/pthread.h: Likewise.
79421         * include/pwd.h: Likewise.
79422         * include/regex.h: Likewise.
79423         * include/sched.h: Likewise.
79424         * include/search.h: Likewise.
79425         * include/setjmp.h: Likewise.
79426         * include/signal.h: Likewise.
79427         * include/stdio.h: Likewise.
79428         * include/stdlib.h: Likewise.
79429         * include/string.h: Likewise.
79430         * include/sys/cdefs.h: Likewise.
79431         * include/sys/mman.h: Likewise.
79432         * include/sys/msg.h: Likewise.
79433         * include/sys/resource.h: Likewise.
79434         * include/sys/select.h: Likewise.
79435         * include/sys/socket.h: Likewise.
79436         * include/sys/stat.h: Likewise.
79437         * include/sys/statvfs.h: Likewise.
79438         * include/sys/time.h: Likewise.
79439         * include/sys/times.h: Likewise.
79440         * include/sys/uio.h: Likewise.
79441         * include/sys/utsname.h: Likewise.
79442         * include/sys/wait.h: Likewise.
79443         * include/termios.h: Likewise.
79444         * include/time.h: Likewise.
79445         * include/ulimit.h: Likewise.
79446         * include/unistd.h: Likewise.
79447         * include/utime.h: Likewise.
79448         * include/wchar.h: Likewise.
79449         * include/wctype.h: Likewise.
79450         * include/wordexp.h: Likewise.
79452         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79454         * time/time.h: TIME_UTC must be a macro.
79455         Make timespec_get available for ISO C11 only as well.
79457 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79459         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79460         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79462 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79464         * configure.in: Use -o not -a in test for unsupported multi-arch.
79466 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79468         * manual/texinfo.tex: Update to version 2012-01-19.16.
79470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79472         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79474 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79476         [BZ #13738]
79477         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79478         * manual/fdl-1.3.texi: New file.
79479         * manual/fdl-1.1.texi: File removed.
79481         [BZ #13738]
79482         * manual/libc.texinfo (FDL_VERSION): New @set.
79483         Use it for mention of FDL in cover text.
79484         (Documentation License): Use it in @include file name.
79486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79487             Roland McGrath  <roland@hack.frob.com>
79489         [BZ #5461]
79490         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79491         (not LONG_LONG_MAX and LONG_LONG_MIN.
79492         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79493         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79494         name.
79495         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79497 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79499         [BZ #2547]
79500         [BZ #11365]
79501         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79502         manipulate bits before adding and subtracting TWO23[sx].
79503         * math/libm-test.inc (nearbyint_test): Add more tests.
79505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79507         [BZ #2548]
79508         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79509         bits before adding and subtracting TWO23[sx].
79510         * math/libm-test.inc (rint_test): Add more tests.
79511         (rint_test_tonearest): Likewise.
79512         (rint_test_towardzero): Likewise.
79513         (rint_test_downward): Likewise.
79514         (rint_test_upward: Likewise.
79516 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79518         [BZ #10110]
79519         * include/stdc-predef.h: New file.  Extracted from features.h.
79520         * include/features.h: Include stdc-predef.h.
79521         * Makefile (headers): Add stdc-predef.h.
79522         * CONFORMANCE (Compiler limitations): Update.
79524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79526         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79528 2012-02-21  David S. Miller  <davem@davemloft.net>
79530         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79531         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79533 2012-02-20  David S. Miller  <davem@davemloft.net>
79535         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79536         using a normal save/restore sequence, rather than allocating a
79537         dummy stack frame just to store a frame pointer and restore.
79538         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79540 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79542         * manual/install.texi: Fix stray word in line-wrapped comment.
79544 2012-02-20  David S. Miller  <davem@davemloft.net>
79546         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79547         both binutils and gcc support GOTDATA.
79549         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79550         "rd %pc" in the PIC register setup sequences.
79552         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79553         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79554         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79555         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79556         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79557         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79558         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79559         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79561         (SYSCALL_ERROR_HANDLER): Likewise.
79562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79565         (SYSCALL_ERROR_HANDLER): Likewise.
79567         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79568         (HAVE_GCC_GOTDATA): New.
79569         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79570         relocation support in both binutils and gcc.
79571         * sysdeps/sparc/elf/configure: Regenerate.
79573         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79574         * sysdeps/sparc/sparc32/elf/configure: Delete.
79575         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79576         * sysdeps/sparc/sparc64/elf/configure: Delete.
79577         * sysdeps/sparc/elf/configure.in: New file.
79578         * sysdeps/sparc/elf/configure: Generate.
79580         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79581         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79582         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79583         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79584         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79586 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79588         * manual/install.texi: Do not mention specific glibc version
79589         numbers.
79590         * manual/libc.texinfo (VERSION, UPDATED): Update.
79591         (@copying): Use @copyright{} and range of years.
79593 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79595         [BZ #13695]
79596         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79597         [crti.S not in sysdirs] (generated): Do not append.
79598         [crti.S not in sysdirs] (omit-deps): Likewise.
79599         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79600         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79601         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79602         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79603         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79604         Likewise.
79605         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79606         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79607         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79608         * csu/defs.awk: Remove file.
79609         * sysdeps/generic/initfini.c: Likewise.
79610         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79611         variable.
79612         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79613         Likewise.
79615 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79617         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79618         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79619         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79620         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79621         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79622         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79623         <bits/epoll.h>.
79624         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79625         (__EPOLL_PACKED): Define to empty if not defined by
79626         <bits/epoll.h>.
79627         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79629         bits/epoll.h.
79631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79633         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79634         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79635         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79636         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79637         <bits/timerfd.h>.
79638         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79640         bits/timerfd.h.
79642 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79644         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79645         in C locale.
79646         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79647         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79651 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79654         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79656 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79658         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79659         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79660         defined.
79661         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79662         Likewise.
79663         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79664         entry for 2.16.
79666 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79668         * math/w_acos.c: Use non-signaling floating-point comparisons.
79669         * math/w_acosf.c: Likewise.
79670         * math/w_acosh.c: Likewise.
79671         * math/w_acoshf.c: Likewise.
79672         * math/w_acoshl.c: Likewise.
79673         * math/w_acosl.c: Likewise.
79674         * math/w_asin.c: Likewise.
79675         * math/w_asinf.c: Likewise.
79676         * math/w_asinl.c: Likewise.
79677         * math/w_atanh.c: Likewise.
79678         * math/w_atanhf.c: Likewise.
79679         * math/w_atanhl.c: Likewise.
79680         * math/w_exp2.c: Likewise.
79681         * math/w_exp2f.c: Likewise.
79682         * math/w_exp2l.c: Likewise.
79683         * math/w_j0.c: Likewise.
79684         * math/w_j0f.c: Likewise.
79685         * math/w_j0l.c: Likewise.
79686         * math/w_j1.c: Likewise.
79687         * math/w_j1f.c: Likewise.
79688         * math/w_j1l.c: Likewise.
79689         * math/w_jn.c: Likewise.
79690         * math/w_jnf.c: Likewise.
79691         * math/w_log.c: Likewise.
79692         * math/w_log10.c: Likewise.
79693         * math/w_log10f.c: Likewise.
79694         * math/w_log10l.c: Likewise.
79695         * math/w_log2.c: Likewise.
79696         * math/w_log2f.c: Likewise.
79697         * math/w_log2l.c: Likewise.
79698         * math/w_logf.c: Likewise.
79699         * math/w_logl.c: Likewise.
79700         * math/w_sqrt.c: Likewise.
79701         * math/w_sqrtf.c: Likewise.
79702         * math/w_sqrtl.c: Likewise.
79703         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79704         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79705         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79706         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79707         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79709 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79711         [BZ #9739]
79712         * manual/string.texi (strnlen): Use correct parameter name in
79713         equivalent expression.
79715 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79717         [BZ #11174]
79718         * manual/users.texi (seteuid): Consistently use neweuid for
79719         argument name.
79721 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79723         [BZ #13704]
79724         * manual/nss.texi (Services in the NSS configuration): Correct
79725         list of services in example configuration file.
79727 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79729         [BZ #11322]
79730         * manual/arith.texi: Remove statements about negative zero
79731         behaving identically to zero.
79733 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79735         [BZ #5993]
79736         * manual/install.texi: Do not document upgrading from libc5.
79738 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79740         [BZ #4596]
79741         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79743 2012-02-18  David S. Miller  <davem@davemloft.net>
79745         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79746         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79747         %o7 across the call.
79748         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79749         instead.
79750         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79751         SETUP_PIC_REG_LEAF.
79752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79753         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79754         * sysdeps/sparc/crtn.S: Likewise.
79756 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79758         * aout/Makefile: Remove.
79760 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79762         [BZ #13058]
79763         * manual/examples/argp-ex1.c (main): Format definition in GNU
79764         style.
79765         * manual/examples/argp-ex2.c (main): Likewise.
79766         * manual/examples/argp-ex3.c (main): Likewise.
79767         * manual/examples/argp-ex4.c (main): Likewise.
79768         * manual/examples/longopt.c (main): Use new-style prototype
79769         definition.
79770         * manual/examples/strncat.c (main): Specify return type and use
79771         (void) for arguments.
79772         * manual/examples/subopt.c (main): Use char **argv argument.
79774 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79776         [BZ #5077]
79777         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79778         rounding modes.
79780 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79782         [BZ #6907]
79783         * manual/string.texi (strchr): Change when strchrnul is
79784         recommended.
79786 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79788         [BZ #174]
79789         * manual/locale.texi (setlocale): Document LOCPATH.
79791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79793         [BZ #10210]
79794         * manual/process.texi (execle): Move @dots{} before last argument.
79796 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79798         [BZ #12047]
79799         * manual/charset.texi (Generic Charset Conversion): Fix typo
79800         (LC_TYPE -> LC_CTYPE).
79802 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79804         [BZ #5805]
79805         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79806         (scalbnf): Likewise.
79807         (scalbnl): Likewise.
79808         (scalbln): Likewise.
79809         (scalblnf): Likewise.
79810         (scalblnl): Likewise.
79811         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79812         (vwarnx): Likewise.
79813         (verr): Likewise.
79814         (verrx): Likewise.
79815         * manual/filesys.texi (telldir): Use braces around return type.
79816         * manual/llio.texi (mmap): Add space after comma.
79817         (mmap64): Likewise.
79818         * manual/math.texi (jn): Use @var{} on parameter names.
79819         (jnf): Likewise.
79820         (jnl): Likewise.
79821         (yn): Likewise.
79822         (ynf): Likewise.
79823         (ynl): Likewise.
79824         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79825         line.
79826         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79827         "...".
79828         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79829         (sched_get_priority_max): Likewise.
79830         * manual/signal.texi (sigvec): Add space after comma.
79831         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79832         names.
79833         (if_indextoname): Likewise.
79834         (if_freenameindex): Likewise.
79835         (sendto): Use ',' instead of '.' in prototype.
79836         * manual/startup.texi (syscall): Use @dots{} instead of literal
79837         "...".
79838         * manual/stdio.texi (__fpending): Separate initial words of
79839         paragraph from @deftypefun line.
79840         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79841         "...".
79842         (vsyslog): Use @var{} on parameter names.
79843         * manual/terminal.texi (stty): Use @var{} on parameter names.
79844         * manual/users.texi (getutmp): Use @var{} on parameter names.
79845         (getutmpx): Likewise.
79847 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79849         [BZ #6884]
79850         * manual/stdio.texi (fopen): Fix typos in description of
79851         ",ccs=STRING".
79853 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79855         [BZ #4026]
79856         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79857         get clock_id definition.
79859 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79861         [BZ #4822]
79862         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79863         (madvise): Cast every argument to void on its own.
79865 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79867         [BZ #9902]
79868         * manual/startup.texi (Exit Status): Fix typo.
79870 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79872         [BZ #10140]
79873         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79874         * manual/examples/argp-ex2.c: Likewise.
79875         * manual/examples/argp-ex3.c: Likewise.
79877 2012-02-16  Richard Henderson  <rth@redhat.com>
79879         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79880         * sysdeps/s390/s390-32/initfini.c: Remove.
79881         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79882         * sysdeps/s390/s390-64/initfini.c: Remove.
79884 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79886         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79887         compiler output for sysdeps/generic/initfini.c.
79888         * sysdeps/sh/elf/initfini.c: Remove file.
79890 2012-02-16  David S. Miller  <davem@davemloft.net>
79892         [BZ #11494]
79893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79895         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79896         * sysdeps/sparc/crti.S: New file.
79897         * sysdeps/sparc/crtn.S: New file.
79898         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79899         * sysdeps/sparc/sparc64/Makefile: Likewise.
79901 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79903         [BZ #3335]
79904         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79906 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79908         [BZ #4822]
79909         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79911         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79912         (write, read, close): Likewise.
79913         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79915 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79917         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79918         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79919         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79920         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79921         <bits/signalfd.h>.
79922         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79924         bits/signalfd.h.
79926 2012-02-14  Marek Polacek  <polacek@redhat.com>
79928         * sysdeps/x86_64/crti.S: New file.
79929         * sysdeps/x86_64/crtn.S: New file.
79930         * sysdeps/x86_64/elf/initfini.c: Remove file.
79932 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79934         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79935         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79936         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79937         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79938         <bits/inotify.h>.
79939         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79941         bits/inotify.h.
79943 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79945         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79946         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79947         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79948         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79949         <bits/eventfd.h>.
79950         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79952         bits/eventfd.h.
79954 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79956         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79957         __feraiseexcept instead of feraiseexcept.
79959         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79960         nanosleep invocations.
79961         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79962         strings, and add error checking for a nanosleep invocations.
79964 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79966         Replace FSF snail mail address with URLs, as per GNU coding standards.
79967         Most of the snail mail addresses were wrong anyway, and omitting
79968         them makes the source code easier to maintain.  Almost all of the
79969         changes are to license notices and to locale LC_IDENTIFICATION
79970         addresses, except for this one:
79971         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79972         not its snail mail address.
79974 2012-02-09  Richard Henderson  <rth@twiddle.net>
79976         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79977         of kernel-features.h.
79979         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79981 2012-02-08  Marek Polacek  <polacek@redhat.com>
79983         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79984         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79985         * sysdeps/gnu/_G_config.h: Likewise.
79986         * sysdeps/generic/_G_config.h: Likewise.
79988 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79990         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79991         tests.
79992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79994         * sysdeps/powerpc/powerpc32/crti.S: New file.
79995         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79996         * sysdeps/powerpc/powerpc64/crti.S: New file.
79997         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79999         * Makeconfig (have-initfini): Don't set.
80000         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80001         * configure.in (nopic_initfini): Don't substitute.
80002         * config.h.in (HAVE_INITFINI): Don't #undef.
80003         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80004         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80006 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80008         Support crti.S and crtn.S provided directly by architectures.
80009         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80010         [crti.S in sysdirs] (omit-deps): Likewise.
80011         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80012         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80013         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80014         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80015         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80016         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80017         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80018         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80019         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80020         compiler output for sysdeps/generic/initfini.c.
80021         * sysdeps/i386/elf/Makefile: Remove file.
80022         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80024 2012-02-07  Marek Polacek  <polacek@redhat.com>
80026         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80027         * sysdeps/gnu/_G_config.h: Likewise.
80028         * sysdeps/mach/hurd/_G_config.h: Likewise.
80030 2012-02-07  Marek Polacek  <polacek@redhat.com>
80032         * math/Makefile (tests): Add tst-CMPLX2.
80033         * math/tst-CMPLX2.c: New file.
80035 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80037         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80039         * math/libm-test.inc (jn_test): Add missing L suffix.
80041 2012-02-06  Marek Polacek  <polacek@redhat.com>
80043         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80044         * sysdeps/i386/fpu/e_powf.S: Likewise.
80045         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80046         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80047         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80048         * sysdeps/i386/fpu/e_pow.S: Likewise.
80049         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80050         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80051         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80052         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80053         * sysdeps/i386/fpu/e_log2.S: Likewise.
80054         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80055         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80056         * sysdeps/i386/fpu/e_powl.S: Likewise.
80057         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80058         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80059         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80060         * sysdeps/i386/fpu/e_logl.S: Likewise.
80061         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80062         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80063         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80064         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80065         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80067         * sysdeps/i386/fpu/e_log.S: Likewise.
80068         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80069         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80070         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80071         * sysdeps/i386/fpu/e_logf.S: Likewise.
80072         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80073         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80074         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80075         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80076         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80077         * sysdeps/i386/fpu/e_log10.S: Likewise.
80078         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80079         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80080         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80081         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80082         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80083         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80084         * sysdeps/i386/asm-syntax.h: Likewise.
80085         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80087         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80088         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80089         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80090         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80091         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80092         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80093         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80094         * sysdeps/powerpc/sysdep.h: Likewise.
80095         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80096         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80098 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80100         [BZ #411]
80101         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80103 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80105         * sysdeps/i386/sysdep.h: Include <features.h>.
80106         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80107         version.
80109 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80111         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80112         Define.
80113         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80114         LOAD_PIC_REG_STR.
80116 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80118         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80119         (SETUP_PIC_REG): Use GET_PC_THUNK.
80120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80121         macro.
80123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80125         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80126         for non-PIC compilation.
80127         (SETUP_PIC_REG): Add .p2align directive.
80128         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80129         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80132         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80133         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80134         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80135         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80136         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80137         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80138         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80139         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80140         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80142         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80143         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80144         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80145         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80146         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80147         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80148         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80149         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80150         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80151         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80152         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80154         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80156         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80157         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80158         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80159         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80160         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80163         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80164         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80165         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80166         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80167         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80168         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80170 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80172         * math/tst-CMPLX.c: Include <stdio.h>.
80174 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80176         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80177         float.
80178         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80179         * sysdeps/sparc/bits/mathdef.h: Likewise.
80181 2012-01-31  Marek Polacek  <polacek@redhat.com>
80183         * libio/libio.h: Don't define _PARAMS.
80184         * locale/programs/config.h: Don't define PARAMS.
80185         * stdlib/strtol_l.c: Likewise.
80186         (__strtol_l): Remove PARAMS from the prototype.
80188 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80190         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80191         names.  Just use the correct names.  Remove unnecessary wrapper
80192         functions.
80193         * malloc/arena.c: Likewise.
80194         * malloc/hooks.c: Likewise.
80196         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80197         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80198         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80200 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80202         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80203         into tail calls.
80204         (update_get_addr): New function.
80205         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80206         GET_ADDR_MODULE parameter.
80208 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80210         * crypt/cert.c: Remove __STDC__ conditionals.
80211         * crypt/crypt-entry.c: Likewise.
80212         * crypt/crypt_util.c: Likewise.
80213         * libio/filedoalloc.c: Likewise.
80214         * libio/fileops.c: Likewise.
80215         * libio/genops.c: Likewise.
80216         * libio/iofclose.c: Likewise.
80217         * libio/iofdopen.c: Likewise.
80218         * libio/iofopen.c: Likewise.
80219         * libio/iofopen64.c: Likewise.
80220         * libio/iogetdelim.c: Likewise.
80221         * libio/iopopen.c: Likewise.
80222         * libio/obprintf.c: Likewise.
80223         * libio/oldfileops.c: Likewise.
80224         * libio/oldiofclose.c: Likewise.
80225         * libio/oldiofdopen.c: Likewise.
80226         * libio/oldiofopen.c: Likewise.
80227         * libio/oldiopopen.c: Likewise.
80228         * libio/wfiledoalloc.c: Likewise.
80229         * libio/wgenops.c: Likewise.
80230         * locale/programs/xmalloc.c: Likewise.
80231         * misc/syslog.c: Likewise.
80232         * stdio-common/xbug.c: Likewise.
80233         * string/memchr.c: Likewise.
80234         * string/memcmp.c: Likewise.
80235         * string/memrchr.c: Likewise.
80236         * string/rawmemchr.c: Likewise.
80237         * sysdeps/posix/getcwd.c: Likewise.
80238         * time/strftime_l.c: Likewise.
80240 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80242         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80243         * config.make.in (config-cflags-sse2avx): Define.
80244         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80245         Fix typo.
80247 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80249         * scripts/config.guess: Update from upstream config git repository.
80250         * scripts/config.sub: Likewise.
80252 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80254         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80255         (EM_NUM): Update.
80256         (R_TILEPRO_*, R_TILEGX_*): New macros.
80258         * scripts/firstversions.awk: Fix bug in version range handling.
80260         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80262         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80264         * include/sys/epoll.h: New file.
80265         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80266         libc_hidden_def.
80268 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80270         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80271         Avoid unnecessary __WORDSIZE == 64 test.
80272         (fmaxf): Use VEX format if possible.
80273         (fmax): Likewise.
80274         (fminf): Likewise.
80275         (fmin): Likewise.
80277         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80278         * math/math_private.h: Remove libc_fegetround* and
80279         libc_fesetround*.
80280         * sysdeps/i386/configure.in: Check for -msse2avx.
80281         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80282         also if SSE2AVX is defined.
80283         Remove libc_fegetround* and libc_fesetround*.
80284         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80285         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80287         of HAS_YMM_USABLE.
80288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80289         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80291         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80294         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80296 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80298         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80299         size is not set.
80300         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80302 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80304         [BZ #13618]
80305         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80306         relocation.
80307         * Makeconfig (libm): Define.
80308         * elf/Makefile: Add rules to build and run tst-relsort1.
80309         * elf/tst-relsort1.c: New file.
80310         * elf/tst-relsort1mod1.c: New file.
80311         * elf/tst-relsort1mod2.c: New file.
80313 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80315         * math/s_ldexp.c: Remove __STDC__ conditionals.
80316         * math/s_ldexpf.c: Likewise.
80317         * math/s_ldexpl.c: Likewise.
80318         * math/s_nextafter.c: Likewise.
80319         * math/s_nexttowardf.c: Likewise.
80320         * math/s_significand.c: Likewise.
80321         * math/s_significandf.c: Likewise.
80322         * math/s_significandl.c: Likewise.
80323         * math/w_jnl.c: Likewise.
80324         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80325         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80326         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80327         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80328         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80330         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80331         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80332         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80336         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80337         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80339         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80340         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80341         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80343         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80344         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80345         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80346         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80347         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80348         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80349         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80350         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80351         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80352         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80353         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80354         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80355         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80356         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80357         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80358         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80359         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80360         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80361         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80362         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80363         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80364         * sysdeps/ieee754/k_standard.c: Likewise.
80365         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80367         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80368         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80369         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80370         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80371         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80372         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80373         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80374         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80375         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80376         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80377         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80378         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80379         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80380         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80381         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80383         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80384         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80385         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80386         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80387         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80388         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80389         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80390         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80391         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80394         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80395         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80396         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80397         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80398         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80399         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80400         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80401         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80403         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80404         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80405         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80406         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80407         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80408         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80409         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80410         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80413         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80414         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80415         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80418         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80420         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80421         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80422         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80423         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80424         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80425         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80426         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80427         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80428         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80429         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80430         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80431         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80432         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80433         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80434         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80435         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80436         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80437         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80438         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80439         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80440         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80441         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80442         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80443         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80444         * sysdeps/ieee754/s_matherr.c: Likewise.
80445         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80446         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80450 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80452         * crypt/md5.h: Remove __STDC__ conditionals.
80453         * libio/libioP.h: Likewise.
80454         * locale/programs/config.h: Likewise.
80455         * sysdeps/generic/sysdep.h: Likewise.
80456         * sysdeps/i386/asm-syntax.h: Likewise.
80457         * sysdeps/s390/asm-syntax.h: Likewise.
80458         * sysdeps/unix/sysdep.h: Likewise.
80459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80462 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80464         * libio/libio.h: Remove __STDC__ conditionals.
80465         * malloc/obstack.h: Likewise.
80466         * math/complex.h: Likewise.
80467         * math/math.h: Likewise.
80468         * sysdeps/generic/_G_config.h: Likewise.
80469         * sysdeps/gnu/_G_config.h: Likewise.
80470         * sysdeps/mach/hurd/_G_config.h: Likewise.
80471         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80472         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80473         * sysdeps/sparc/bits/mathdef.h: Likewise.
80475 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80477         [BZ #13583]
80478         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80479         Clean up HAS_* macros.
80480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80481         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80482         possible.
80483         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80484         HAS_AVX.
80485         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80486         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80487         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80488         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80489         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80491 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80493         * elf/tst-unique3.cc (gets): Remove declaration.
80494         * elf/tst-unique3lib.cc (gets): Likewise.
80495         * elf/tst-unique3lib2.cc (gets): Likewise.
80496         * elf/tst-unique4.cc (gets): Likewise.
80498 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80500         * include/stdio.h: Add C++ protection.  Add gets declarations and
80501         definitions.
80502         * debug/tst-chk1.c: Don't declare gets here.
80503         * stdio-common/tst-gets.c: Likewise.
80505 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80507         * posix/glob: Remove directory.
80509 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80511         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80513 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80515         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80516         of the non-standard EPFNOSUPPORT.
80518 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80520         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80521         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80522         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80524 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80526         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80528 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80530         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80531         transient errors.
80532         * nscd/grpcache.c (cache_addgr): Likewise.
80533         * nscd/hstcache.c (cache_addhst): Likewise.
80534         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80535         * nscd/pwdcache.c (cache_addpw): Likewise.
80536         * nscd/servicescache.c (cache_addserv): Likewise.
80538 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80540         * malloc/malloc.c: Various cleanups.
80541         * malloc/hooks.c: Likewise.
80543         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80544         * stdlib/bug-fmtmsg1.c: New file.
80546         * stdlib/fmtmsg.c (init): Add missing unlock.
80547         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80549 2012-01-12  Marek Polacek  <polacek@redhat.com>
80551         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80552         and _GNU_SOURCE.
80554 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80556         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80557         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80558         macro to ensure uniqueness of label name.
80559         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80560         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80562 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80564         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80566         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80567         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80568         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80571 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80573         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80575         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80576         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80577         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80579         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80581         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80582         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80584         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80586         * math/bits/math-finite.h: Add ldexp support.
80588 2012-01-10  Marek Polacek  <polacek@redhat.com>
80590         * locale/programs/localedef.h (show_archive_content): Add noreturn
80591         attribute.
80593 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80595         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80597 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80599         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80601         * io/Makefile (headers): Add bits/poll2.h.
80603 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80606         typo #include statement.
80608 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80610         * include/sys/cdefs.h: Define __attribute_alloc_size.
80611         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80612         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80613         * elf/pldd.c: Likewise.
80614         * iconv/iconv_charmap.c: Likewise.
80615         * iconv/iconvconfig.c: Likewise.
80616         * iconv/strtab.c: Likewise.
80617         * locale/programs/locale.c: Likewise.
80618         * locale/programs/localedef.h: Likewise.
80619         * locale/programs/simple-hash.c: Likewise.
80620         * nscd/nscd.h: Likewise.
80621         * nss/makedb.c: Likewise.
80622         * sysdeps/generic/ldconfig.h: Likewise.
80623         * locale/programs/localedef.c: Remove xmalloc prototype.
80624         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80626 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80628         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80629         appropriate.
80631 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80633         * math/Makefile (tests): Add tst-CMPLX.
80634         * math/tst-CMPLX.c: New file.
80636         * math/complex.h (CMPLXL): Fix typo.
80638         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80639         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80640         GLIBC_2.16.
80641         * debug/tst-chk1.c: Add poll and ppoll tests.
80642         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80643         * include/sys/poll.h: Add hidden proto for ppoll.
80644         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80645         * sysdeps/mach/hurd/ppoll.c: Likewise.
80646         * io/ppoll.c: Likewise.
80647         * debug/poll_chk.c: New file.
80648         * debug/ppoll_chk.c: New file.
80649         * include/bits/poll2.h: New file.
80650         * io/bits/poll2.h: New file.
80652         [BZ #1350]
80653         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80655         * configure.in: static is always set to yes.  Remove.
80656         * config.make.in: Don't set build-static.
80657         * Makeconfig: Remove use of build-static.
80658         * dlfcn/Makefile: Likewise.
80659         * elf/Makefile: Likewise.
80660         * math/Makefile: Likewise.
80661         * misc/Makefile: Likewise.
80662         * nptl/Makefile: Likewise.
80663         * sysdeps/mach/hurd/Makefile: Likewise.
80665         * configure.in: PWD_P is not used anymore.
80666         * config.make.in: Remove PWD_P entry.
80668         * configure.in: Remove last remnants of RANLIB.
80669         No need to check for signed size_t anymore.
80670         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80671         and IA-64.
80672         Remove __builtin_expect test because we require at least gcc 3.4.
80673         * aclocal.m4: Likewise.
80675         * wcsmbs/mbrtoc16.c: Implement using towc function.
80676         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80677         * wcsmbs/wcsmbsload.c: Likewise.
80678         * iconv/gconv_simple.c: Likewise.
80679         * iconv/gconv_int.h: Likewise.
80680         * iconv/gconv_builtin.h: Likewise.
80681         * iconv/iconv_prog.c: Remove CHAR16 handling.
80683         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80685         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80687         * configure.in: Remove --with-elf and --enable-bounded options.
80688         Dont set base_machine for ia64.  More non-ELF conditions removed.
80689         Remove testing and setting of leading underscore information.
80690         * config.make.in (build-bounded): Set to no.
80691         * config.h.in: Remove NO_UNDERSCORES entry.
80692         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80693         them.
80694         * csu/start.c: Remove !NO_UNDERSCORE code.
80695         * locale/localeinfo.h: Likewise.
80696         * sysdeps/generic/machine-gmon.h: Likewise.
80697         * sysdeps/generic/sysdep.h: Likewise.
80698         * sysdeps/i386/sysdep.h: Likewise.
80699         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80700         * sysdeps/mach/sysdep.h: Likewise.
80701         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80702         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80703         * sysdeps/sh/sysdep.h: Likewise.
80704         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80705         * sysdeps/unix/i386/sysdep.S: Likewise.
80706         * sysdeps/unix/sparc/start.c: Likewise.
80707         * sysdeps/unix/sparc/sysdep.S: Likewise.
80708         * sysdeps/unix/sparc/sysdep.h: Likewise.
80709         * sysdeps/unix/start.c: Likewise.
80710         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80711         * sysdeps/x86_64/sysdep.h: Likewise.
80713 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80715         [BZ #13553]
80716         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80717         for non-gcc.
80718         * argp/argp-fmtstream.h: Use const instead __const.
80719         * argp/argp.h: Likewise.
80720         * assert/assert.h: Likewise.
80721         * bits/fenv.h: Likewise.
80722         * bits/sched.h: Likewise.
80723         * bits/sigset.h: Likewise.
80724         * bits/sigthread.h: Likewise.
80725         * catgets/nl_types.h: Likewise.
80726         * conform/data/pthread.h-data: Likewise.
80727         * crypt/crypt-private.h: Likewise.
80728         * crypt/crypt.h: Likewise.
80729         * crypt/crypt_util.c: Likewise.
80730         * ctype/ctype.h: Likewise.
80731         * debug/execinfo.h: Likewise.
80732         * debug/mbsnrtowcs_chk.c: Likewise.
80733         * debug/mbsrtowcs_chk.c: Likewise.
80734         * debug/wcsnrtombs_chk.c: Likewise.
80735         * debug/wcsrtombs_chk.c: Likewise.
80736         * debug/wcstombs_chk.c: Likewise.
80737         * dirent/dirent.h: Likewise.
80738         * dlfcn/dlfcn.h: Likewise.
80739         * elf/neededtest4.c: Likewise.
80740         * grp/grp.h: Likewise.
80741         * gshadow/gshadow.h: Likewise.
80742         * iconv/gconv.h: Likewise.
80743         * iconv/gconv_int.h: Likewise.
80744         * iconv/gconv_simple.c: Likewise.
80745         * iconv/iconv.h: Likewise.
80746         * iconv/loop.c: Likewise.
80747         * iconv/skeleton.c: Likewise.
80748         * include/aio.h: Likewise.
80749         * include/aliases.h: Likewise.
80750         * include/argz.h: Likewise.
80751         * include/arpa/inet.h: Likewise.
80752         * include/assert.h: Likewise.
80753         * include/dirent.h: Likewise.
80754         * include/dlfcn.h: Likewise.
80755         * include/execinfo.h: Likewise.
80756         * include/fcntl.h: Likewise.
80757         * include/fenv.h: Likewise.
80758         * include/glob.h: Likewise.
80759         * include/grp.h: Likewise.
80760         * include/libintl.h: Likewise.
80761         * include/mntent.h: Likewise.
80762         * include/netdb.h: Likewise.
80763         * include/pwd.h: Likewise.
80764         * include/rpc/netdb.h: Likewise.
80765         * include/sched.h: Likewise.
80766         * include/search.h: Likewise.
80767         * include/shadow.h: Likewise.
80768         * include/signal.h: Likewise.
80769         * include/stdio.h: Likewise.
80770         * include/stdlib.h: Likewise.
80771         * include/string.h: Likewise.
80772         * include/sys/socket.h: Likewise.
80773         * include/sys/stat.h: Likewise.
80774         * include/sys/statfs.h: Likewise.
80775         * include/sys/statvfs.h: Likewise.
80776         * include/sys/syslog.h: Likewise.
80777         * include/sys/time.h: Likewise.
80778         * include/sys/uio.h: Likewise.
80779         * include/time.h: Likewise.
80780         * include/unistd.h: Likewise.
80781         * include/utmp.h: Likewise.
80782         * include/wchar.h: Likewise.
80783         * include/wctype.h: Likewise.
80784         * inet/aliases.h: Likewise.
80785         * inet/arpa/inet.h: Likewise.
80786         * inet/netinet/ether.h: Likewise.
80787         * inet/netinet/in.h: Likewise.
80788         * intl/libintl.h: Likewise.
80789         * io/bits/fcntl2.h: Likewise.
80790         * io/fcntl.h: Likewise.
80791         * io/ftw.h: Likewise.
80792         * io/sys/poll.h: Likewise.
80793         * io/sys/stat.h: Likewise.
80794         * io/sys/statfs.h: Likewise.
80795         * io/sys/statvfs.h: Likewise.
80796         * io/utime.h: Likewise.
80797         * libio/bits/stdio.h: Likewise.
80798         * libio/bits/stdio2.h: Likewise.
80799         * libio/libio.h: Likewise.
80800         * libio/libioP.h: Likewise.
80801         * libio/stdio.h: Likewise.
80802         * locale/lc-ctype.c: Likewise.
80803         * locale/locale.h: Likewise.
80804         * login/utmp.h: Likewise.
80805         * malloc/arena.c: Likewise.
80806         * malloc/malloc.c: Likewise.
80807         * malloc/malloc.h: Likewise.
80808         * malloc/mcheck.c: Likewise.
80809         * malloc/mtrace.c: Likewise.
80810         * math/bits/mathcalls.h: Likewise.
80811         * math/fenv.h: Likewise.
80812         * math/math_private.h: Likewise.
80813         * misc/bits/error.h: Likewise.
80814         * misc/bits/syslog.h: Likewise.
80815         * misc/err.h: Likewise.
80816         * misc/error.h: Likewise.
80817         * misc/fstab.h: Likewise.
80818         * misc/mntent.h: Likewise.
80819         * misc/regexp.h: Likewise.
80820         * misc/search.h: Likewise.
80821         * misc/sgtty.h: Likewise.
80822         * misc/sys/mman.h: Likewise.
80823         * misc/sys/syslog.h: Likewise.
80824         * misc/sys/uio.h: Likewise.
80825         * misc/sys/xattr.h: Likewise.
80826         * misc/ttyent.h: Likewise.
80827         * nis/rpcsvc/ypclnt.h: Likewise.
80828         * nss/nss.h: Likewise.
80829         * posix/bits/unistd.h: Likewise.
80830         * posix/fnmatch.h: Likewise.
80831         * posix/glob.h: Likewise.
80832         * posix/sched.h: Likewise.
80833         * posix/spawn.h: Likewise.
80834         * posix/sys/wait.h: Likewise.
80835         * posix/unistd.h: Likewise.
80836         * posix/wordexp.h: Likewise.
80837         * pwd/pwd.h: Likewise.
80838         * resolv/netdb.h: Likewise.
80839         * resource/sys/resource.h: Likewise.
80840         * rt/aio.h: Likewise.
80841         * rt/bits/mqueue2.h: Likewise.
80842         * rt/mqueue.h: Likewise.
80843         * shadow/shadow.h: Likewise.
80844         * signal/signal.h: Likewise.
80845         * socket/send.c: Likewise.
80846         * socket/sendto.c: Likewise.
80847         * socket/sys/socket.h: Likewise.
80848         * stdio-common/printf.h: Likewise.
80849         * stdlib/bits/stdlib.h: Likewise.
80850         * stdlib/fmtmsg.h: Likewise.
80851         * stdlib/monetary.h: Likewise.
80852         * stdlib/stdlib.h: Likewise.
80853         * stdlib/ucontext.h: Likewise.
80854         * streams/stropts.h: Likewise.
80855         * string/argz.h: Likewise.
80856         * string/bits/string2.h: Likewise.
80857         * string/string.h: Likewise.
80858         * string/strings.h: Likewise.
80859         * sunrpc/rpc/auth.h: Likewise.
80860         * sunrpc/rpc/auth_des.h: Likewise.
80861         * sunrpc/rpc/clnt.h: Likewise.
80862         * sunrpc/rpc/netdb.h: Likewise.
80863         * sunrpc/rpc/pmap_clnt.h: Likewise.
80864         * sunrpc/rpc/xdr.h: Likewise.
80865         * sysdeps/generic/inttypes.h: Likewise.
80866         * sysdeps/generic/net/if.h: Likewise.
80867         * sysdeps/generic/sys/swap.h: Likewise.
80868         * sysdeps/gnu/net/if.h: Likewise.
80869         * sysdeps/gnu/utmpx.h: Likewise.
80870         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80871         * sysdeps/i386/i486/bits/string.h: Likewise.
80872         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80873         * sysdeps/s390/bits/string.h: Likewise.
80874         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80875         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80876         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80877         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80878         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80879         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80880         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80881         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80882         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80883         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80884         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80885         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80886         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80887         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80888         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80889         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80890         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80894         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80895         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80896         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80897         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80898         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80899         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80900         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80901         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80902         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80903         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80904         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80905         * sysvipc/sys/ipc.h: Likewise.
80906         * sysvipc/sys/msg.h: Likewise.
80907         * sysvipc/sys/sem.h: Likewise.
80908         * sysvipc/sys/shm.h: Likewise.
80909         * termios/termios.h: Likewise.
80910         * time/sys/time.h: Likewise.
80911         * time/time.h: Likewise.
80912         * wcsmbs/bits/wchar2.h: Likewise.
80913         * wcsmbs/uchar.h: Likewise.
80914         * wcsmbs/wchar.h: Likewise.
80915         * wctype/wctype.h: Likewise.
80917         [BZ #13551]
80918         * Makeconfig: Remove all but ELF support including AIX support.
80919         * Makerules: Likewise.
80920         * config.h.in: Likewise.
80921         * config.make.in: Likewise.
80922         * configure: Likewise.
80923         * configure.in: Likewise.
80924         * csu/Makefile: Likewise.
80925         * csu/version.c: Likewise.
80926         * debug/Makefile: Likewise.
80927         * dlfcn/Makefile: Likewise.
80928         * elf/Makefile: Likewise.
80929         * extra-lib.mk: Likewise.
80930         * iconv/Makefile: Likewise.
80931         * include/libc-symbols.h: Likewise.
80932         * include/shlib-compat.h: Likewise.
80933         * resolv/Makefile: Likewise.
80934         * resolv/res_libc.c: Likewise.
80935         * rt/Makefile: Likewise.
80936         * sysdeps/i386/asm-syntax.h: Likewise.
80937         * sysdeps/i386/sysdep.h: Likewise.
80938         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80939         * sysdeps/mach/sysdep.h: Likewise.
80940         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80941         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80942         * sysdeps/s390/asm-syntax.h: Likewise.
80943         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80945         * sysdeps/sh/sysdep.h: Likewise.
80946         * sysdeps/unix/sparc/sysdep.h: Likewise.
80947         * sysdeps/wordsize-32/divdi3.c: Likewise.
80948         * sysdeps/x86_64/sysdep.h: Likewise.
80950         * argp/Versions: Remove _argp_unlock_xxx.
80952         [BZ #13559]
80953         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80954         * abilist/libBrokenLocale.abilist: Likewise.
80955         * abilist/libanl.abilist: Likewise.
80956         * abilist/libc.abilist: Likewise.
80957         * abilist/libcrypt.abilist: Likewise.
80958         * abilist/libdl.abilist: Likewise.
80959         * abilist/libm.abilist: Likewise.
80960         * abilist/libnsl.abilist: Likewise.
80961         * abilist/libpthread.abilist: Likewise.
80962         * abilist/libresolv.abilist: Likewise.
80963         * abilist/librt.abilist: Likewise.
80964         * abilist/libthread_db.abilist: Likewise.
80965         * abilist/libutil.abilist: Likewise.
80966         * abilist/libnss_db.abilist: New file.
80968         * scripts/abilist.awk: Add support for indirect functions.
80970         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80972         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80974         * shlib-versions: Remove entries for ports architectures.
80976         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80977         files in ports.
80978         * elf/stackguard-macros.h: Remove support for IA-64.
80979         * elf/tst-auditmod1.c: Likewise.
80980         * sysdeps/generic/ldsodefs.h: Likewise.
80982         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80983         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80984         configure files.
80986         [BZ #13552]
80987         * configure.in: Remove --enable-omitfp support.
80988         * FAQ.in: Adjust.
80989         * config.make.in: Likewise.
80990         * Makeconfig: Likewise.
80991         * manual/install.texi: Likewise.
80993         In case anyone cares, the IA-64 architecture could move to ports.
80994         * sysdeps/ia64/*: Removed.
80995         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80996         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80998         [BZ #13555]
80999         * configure.in: Remove entries for unsupported architectures.
81001         [BZ #13533]
81002         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81003         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81004         routines.
81005         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81006         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81007         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81008         fall back to using wcrtomb.
81009         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81010         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81011         renaming.
81012         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81013         * wcsmbs/tst-c16c32-1.c: New file.
81015         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81016         local variable.
81018         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81020         * elf/tst-unique3.cc: Add explicit declaration of gets.
81021         * elf/tst-unique3lib.cc: Likewise.
81022         * elf/tst-unique3lib2.cc: Likewise.
81023         * elf/tst-unique4.cc: Likewise.
81025         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81027 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81029         [BZ #13566]
81030         * assert/assert.h (static_assert): Don't define for C++.
81031         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81032         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81034 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81036         * iconv/loop.c (single loop): Fix assertion in storing of
81037         remaining bytes.
81039         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81041 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81043         * posix/getconf.c: Update copyright year.
81044         * nss/getent.c: Likewise.
81045         * nss/makedb.c: Likewise.
81046         * iconv/iconvconfig.c: Likewise.
81047         * iconv/iconv_prog.c: Likewise.
81048         * elf/ldconfig.c: Likewise.
81049         * elf/pldd.c: Likewise.
81050         * elf/sotruss.ksh: Likewise.
81051         * catgets/gencat.c: Likewise.
81052         * csu/version.c: Likewise.
81053         * elf/ldd.bash.in: Likewise.
81054         * elf/sprof.c (print_version): Likewise.
81055         * locale/programs/locale.c: Likewise.
81056         * locale/programs/localedef.c: Likewise.
81057         * login/programs/pt_chown.c: Likewise.
81058         * nscd/nscd.c (print_version): Likewise.
81059         * debug/xtrace.sh: Likewise.
81060         * malloc/memusage.sh: Likewise.
81061         * malloc/mtrace.pl: Likewise.
81062         * debug/catchsegv.sh: Likewise.
81064 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81066         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81067         pure attribute.
81069 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81071         [BZ #13533]
81072         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81073         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81074         transformations.
81075         * iconv/gconv_int.h: Likewise.
81076         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81077         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81078         from libc for GLIBC_2.16.
81079         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81080         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81081         * wcsmbs/uchar.h: Really define mbstate_t.
81082         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81083         * wcsmbs/c16rtomb.c: New file.
81084         * wcsmbs/mbrtoc16.c: New file.
81085         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81086         for C/POSIX locale.
81087         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81088         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81090         * wcsmbs/wchar.h: Add missing __restrict.
81092 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81094         [BZ #13532]
81095         * time/Makefile (routines): Add timespec_get.
81096         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81097         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81098         timespec for ISO C11.
81099         * time/timespec_get.c: New file.
81100         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81101         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81103         [BZ #13531]
81104         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81105         * stdlib/stdlib.h: Declare aligned_alloc.
81106         * Versions.def: Add GLIBC_2.16 for libc.
81107         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81109         [BZ 13527]
81110         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81111         ISO C11.
81113         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81114         code.
81116         [BZ #13528]
81117         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81119         [BZ #13529]
81120         * assert/assert.h (static_assert): Define.
81122         * version.h: Update for 2.16 development version.
81124         [BZ #13526]
81125         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81126         _ISOC11_SOURCE.
81128         * version.h (RELEASE): Bump for 2.15 release.
81129         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81131         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81132         Patch by Marek Polacek <mpolacek@redhat.com>.
81134         * bits/byteswap.h: Protect long long constants with __extension__.
81135         * sysdeps/i386/bits/byteswap.h: Likewise.
81136         * sysdeps/ia64/bits/byteswap.h: Likewise.
81137         * sysdeps/s390/bits/byteswap.h: Likewise.
81138         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81140 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81142         [BZ #13540]
81143         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81144         destination buffer.
81145         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81147 2011-12-23  Marek Polacek  <polacek@redhat.com>
81149         * elf/dl-addr.c (determine_info): Add inline keyword.
81150         * elf/tst-auditmod4b.c (check_avx): Likewise.
81151         * elf/tst-auditmod6b.c (check_avx): Likewise.
81152         * elf/tst-auditmod6c.c (check_avx): Likewise.
81153         * elf/tst-auditmod7b.c (check_avx): Likewise.
81155 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81157         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81158         !__SSE_MATH__.
81160 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81162         [BZ #13540]
81163         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81164         processing for last bytes.
81166 2011-08-06  Bruno Haible  <bruno@clisp.org>
81168         [BZ #13061]
81169         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81170         U+0385, not to U+1FEE.
81172         [BZ #13062]
81173         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81174         entry for U+00A5 U+0301.
81176 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81178         [BZ #13166]
81179         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81180         buffer for the output is too small.
81182         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81183         optimization.
81185         [BZ #13185]
81186         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81187         SSE flags if possible.
81189 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81191         [BZ #13540]
81192         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81193         processing for last bytes.
81195 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81197         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81198         (syscall-list-default-options, syscall-list-default-condition)
81199         (syscall-list-includes): Define.
81200         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81201         list of ABIs and options and #if conditions for each ABI.  Do not
81202         handle common syscalls between ABIs specially.
81203         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81204         Remove.
81205         (syscall-list-variants, syscall-list-32bit-options)
81206         (syscall-list-32bit-condition, syscall-list-64bit-options)
81207         (syscall-list-64bit-condition): Define.
81208         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81209         (syscall-list-variants, syscall-list-32bit-options)
81210         (syscall-list-32bit-condition, syscall-list-64bit-options)
81211         (syscall-list-64bit-condition): Define.
81212         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81213         Remove.
81214         (syscall-list-variants, syscall-list-32bit-options)
81215         (syscall-list-32bit-condition, syscall-list-64bit-options)
81216         (syscall-list-64bit-condition): Define.
81217         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81218         Remove.
81219         (syscall-list-variants, syscall-list-32bit-options)
81220         (syscall-list-32bit-condition, syscall-list-64bit-options)
81221         (syscall-list-64bit-condition): Define.
81223 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81225         * locale/iso-639.def: Add brx entry.
81227         [BZ #13328]
81228         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81229         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81231         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81232         __feraiseexcept_renamed.
81234 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81236         [BZ #13538]
81237         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81238         EPOLLET with unsigned values.
81239         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81242         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81243         to large cancellation.
81244         * math/s_cacoshf.c: Likewise.
81245         * math/s_cacoshl.c: Likewise.
81247 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81249         [BZ #13305]
81250         [BZ #12786]
81251         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81252         * math/s_cacoshf.c: Likewise.
81253         * math/s_cacoshl.c: Likewise.
81255 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81257         [BZ #13439]
81258         * iconv/gconv.h: Define __GCONV_SWAP.
81259         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81260         * iconvdata/utf-16.c: Likewise.
81261         * iconvdata/utf-32.c: Likewise.
81263 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81265         [BZ #13524]
81266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81267         numerator after shifting it by one limb.
81269 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81271         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81272         under [__USE_EXTERN_INLINES].
81274 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81276         [BZ #13446]
81277         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81279 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81281         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81282         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81283         optimized code.
81284         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81285         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81286         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81287         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81288         for strncasecmp/strncasecmp_l compilation.
81289         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81290         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81292 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81294         [BZ #13484]
81295         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81296         of __asm__.
81298 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81300         [BZ #13506]
81301         * time/tzfile.c (__tzfile_read): Check values from file header.
81303 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81305         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81306         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81307         * powerpc/powerpc32/dl-start.S: Likewise.
81308         * powerpc/powerpc32/elf/start.S: Likewise.
81309         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81310         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81311         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81312         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81313         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81314         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81315         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81316         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81317         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81318         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81319         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81320         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81321         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81322         * powerpc/powerpc32/memset.S: Likewise.
81323         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81324         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81325         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81326         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81327         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81328         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81329         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81330         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81331         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81332         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81333         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81334         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81335         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81337 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81339         * math/libm-test.inc: Added more nearbyint tests.
81340         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81343         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81345 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81347         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81348         FD_CLOEXEC.
81350 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81352         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81353         Add wcscpy-ssse3 wcscpy-c.
81354         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81355         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81356         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81357         * sysdeps/x86_64/wcschr.S: New file.
81358         * sysdeps/x86_64/wcsrchr.S: New file.
81359         * string/test-strcmp.c: Remove checking of wcscmp function for
81360         wrong alignments.
81361         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81362         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81363         wcsrchr-sse2 wcsrchr-c.
81364         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81365         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81366         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81367         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81368         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81369         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81370         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81371         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81372         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81373         * wcsmbc/wcschr.c (WCSCHR): New macro.
81375 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81377         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81378         * wcsmbs/test-wcsrchr.c: New file.
81379         * string/test-strrchr.c: Add wcsrchr support.
81380         (WIDE): New macro.
81381         * wcsmbs/test-wcscpy.c: New file.
81382         * string/test-strcpy.c: Add wcscpy support.
81383         (WIDE): New macro.
81385 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81387         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81388         the inner loop.
81390 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81392         [BZ #13472]
81393         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81395 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81397         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81398         Minor optimizations.
81400         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81401         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81402         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81404 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81406         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81407         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81408         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81409         for gcc to avoid warnings.
81410         * inet/Makefile (tests): Add tst-checks.
81411         * inet/tst-checks.c: New file.
81413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81414         warning.
81416         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81417         __wmemcmp_sse2.
81419         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81420         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81422         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81424 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81426         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81427         problem.
81429         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81431 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81433         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81434         conditional on GCC version.
81435         (__arch_compare_and_exchange_val_8_acq)
81436         (__arch_compare_and_exchange_val_16_acq)
81437         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81438         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81439         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81441 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81443         * sysdeps/sh/backtrace.c: New file.
81445 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81447         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81448         parenthesis.
81450 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81452         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81453         falling back to utime.
81455 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81457         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81458         expectations for float.
81460 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81462         * locale/weight.h (findidx): Add parameter len.
81463         * locale/weightwc.h (findidx): Likewise.
81464         * posix/fnmatch_loop.c (FCT): Adjust caller.
81465         * posix/regcomp.c (build_equiv_class): Likewise.
81466         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81467         * posix/regexec.c (check_node_accept_bytes): Likewise.
81468         * string/strcoll_l.c (STRCOLL): Likewise.
81469         * string/strxfrm_l.c (STRXFRM): Likewise.
81471 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81473         * Makefile.in: Remove CVSOPT handling.
81474         * configure.in: Remove use of AC_REVISION.
81475         * iconvdata/Makefile (distribute): No need to filter out CVS.
81476         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81477         handling.
81479 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81482         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81483         [USE_AS_STRNCASECMP_L]: Likewise.
81484         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81485         NO_TLS_DIRECT_SEG_REFS.
81486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81487         Fix argument offsets for non-PIC.
81488         [USE_AS_STRNCASECMP_L]: Likewise.
81489         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81490         NO_TLS_DIRECT_SEG_REFS.
81492 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81494         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81495         O_CLOEXEC.
81496         * locale/loadlocale.c (_nl_load_locale): Likewise.
81498 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81500         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81501         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81502         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81503         (SYSCALL_GETTIME): Set errno on error.
81505         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81506         count references to noai6ai_cached.
81508 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81510         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81512         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81513         FD_CLOEXEC for /proc/self/maps.
81515         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81516         FD_CLOEXEC for /proc/meminfo.
81518         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81519         gai.conf.
81521         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81522         FD_CLOEXEC for given file.
81524         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81526         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81527         FD_CLOEXEC for /etc/hosts.
81528         (_gethtent): Likewise.
81530         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81532         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81533         cancellation and set FD_CLOEXEC for /etc/netgroup.
81535         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81536         reading /etc/publickey.
81538         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81539         allow cancellation when reading /etc/group.
81541         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81542         cancellation.
81543         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81545         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81546         when using data file.
81548         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81550         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81551         (write_nis_obj): Use "c" and "e" in fopen.
81553         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81555         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81557         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81559         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81561         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81562         locale.alias.
81564         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81566         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81568         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81570         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81571         file parsing and set FD_CLOEXEC.
81573 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81575         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81577 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81579         * malloc/arena.c (arena_get2): Don't call reused_arena when
81580         _int_new_arena failed.
81582 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81584         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81585         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81586         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81587         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81588         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81589         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81590         to compile strcasecmp and strncasecmp.
81591         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81592         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81596 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81598         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81599         locale-defines.sym to gen-as-const-headers.
81600         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81601         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81603         to compile strcasecmp and strncasecmp.
81604         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81605         strcasecmp_l and strncasecmp_l.
81606         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81607         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81608         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81609         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81610         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81611         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81612         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81613         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81614         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81615         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81616         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81618 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81620         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81621         result of SYSDEP_GETTIME_CPU to retval.
81622         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81623         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81625         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81626         variable.
81628         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81629         mantissa words.
81630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81632         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81633         from unused variable.
81635         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81636         DWARF definitions.
81637         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81638         for assembling.
81640         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81641         over namespaces.
81643         * sunrpc/rpc_prot.c (rejected): Fix case value.
81645         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81646         unsigned long long int to avoid warnings in shift.
81648         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81649         of use of trans.
81650         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81651         variable tmp.
81653         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81654         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81655         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81657         * nis/nis_table.c (nis_list): Use variable of correct type for
81658         result of __follow_path call.
81660 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81662         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81663         of math functions ceil, trunc, floor, round, and sqrt, when
81664         avaliable on the platform.
81665         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81666         name clash.
81667         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81668         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81669         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81671 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81673         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81674         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81676 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81678         * include/unistd.h: Fix __readlink return type.
81679         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81681 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81683         * stdlib/ucontext.h: Undo last change for makecontext.
81685 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81687         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81689         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81690         * setjmp/setjmp.h: Mark functions as non-leaf.
81691         * setjmp/bits/setjmp2.h: Likewise.
81692         * stdlib/ucontext.h: Likewise.
81694 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81696         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81697         (reused_arena): Don't check arena limit.
81698         (arena_get2): Atomically check arena limit.
81700 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81702         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81703         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81706         instructions.
81708 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81710         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81711         handler when locking.
81713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81714         Fix size of allocated buffer.
81716 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81718         [BZ #10103]
81719         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81720         declarations for long double functions.
81721         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81723         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81725 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81727         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81728         installed.
81730         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81731         is disabled.
81733 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81735         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81737 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81739         * include/alloca.h (stackinfo_alloca_round): Define.
81740         (extend_alloca): Use it.
81741         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81742         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81743         here.
81745         * scripts/check-local-headers.sh: Ignore libaudit.h.
81747         * nscd/Makefile (extra-objs): Make recursively expanded.
81749 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81751         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81754         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81755         * posix/tst-rfc3484-2.c: Likewise.
81756         * posix/tst-rfc3484-3.c: Likewise.
81758         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81759         process_vm_writev.
81760         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81761         process_vm_writev.
81762         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81763         process_vm_writev from libc using GLIBC_2.15 version.
81765         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81767 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81769         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81770         stack usage.
81772 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81774         [BZ #13367]
81775         * nss/getent.c (initgroups_keys): Show error message in case no group
81776         names are given.
81778         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81779         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81780         __bump_nl_timestamp.
81781         * nscd/connections (nscd_init): When host database is served open
81782         netlink socket and request notification about configuration changes.
81783         (main_loop_poll): Track netlink file descriptor and bump timestamp
81784         in case data becomes available.
81785         (main_loop_epoll): Likewise.
81786         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81787         (database_pers_head): Add extra_data fileds.
81788         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81789         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81790         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81791         Adjust caller.
81792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81793         in6ai data, call __free_in6ai.
81794         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81795         Add -DHAVE_NETLINK.
81796         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81797         interface information.  Reuse previous data if netlink timestamp
81798         is not changed.
81799         (__bump_nl_timestamp): New function.
81800         (__free_in6ai): New function.
81802 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81804         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81805         close_not_cancel_no_status here.
81806         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81808 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81810         [BZ #13276]
81811         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81812         return value.
81814         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81815         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81816         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81818 2011-07-03  Andreas Jaeger  <aj@suse.de>
81820         [BZ #10709]
81821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81822         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81823         * math/libm-test.inc (sin_test): Add test case.
81825 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81827         [BZ #13337]
81828         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81829         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81831         * elf/chroot_canon.c (chroot_canon): Cleanups.
81833         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81835         [BZ #13335]
81836         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81837         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81839         * string/test-strchr.c: Make usable for strchrnul testing.
81840         * string/test-strchrnul.c: New file.
81841         * string/Makefile (strop-tests): Add strchrnul.
81843         * po/it.po: Update from translation team.
81844         * po/es.po: Likewise.
81846 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81848         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81849         the three constants needed as parameters.  Drop the others.
81850         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81851         __m128i_strloadu_tolower.
81852         Create and initialize variable zero and use it in all the places
81853         where _mm_setzero_si128 was used.
81855         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81856         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81857         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81858         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81859         anymore.
81860         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81861         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81862         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81863         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81864         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81865         __mpranred, __mptan.
81866         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81867         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81868         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81869         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81870         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81871         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81872         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81873         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81874         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81876 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81878         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81879         redefine if SHARED.
81880         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81883         wide char related routines to wcsmbs subdir.
81885 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81887         [BZ #13344]
81888         * misc/sys/cdefs.h (__THROWNL): Define.
81889         * posix/unistd.h: Use __THREADNL instead of __THREAD
81890         for memory synchronization functions.
81892 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81894         [BZ #13349]
81895         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81896         doesn't exist.
81897         * manual/stdio.texi (Obstack Streams): Node removed.
81899 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81901         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81902         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81905         * math/math_private.h (math_force_eval): Allow non-addressable
81906         arguments.
81907         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81911         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81912         file is not needed.
81914         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81916         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81917         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81918         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81919         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81920         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81921         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81922         Add AVX variants.
81923         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81924         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81925         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81926         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81927         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81928         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81929         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81931         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81932         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81933         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81934         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81936         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81937         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81938         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81939         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81940         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81941         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81943         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81944         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81947         place.  Use VEX encoding when compiling for AVX.
81949 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81951         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81952         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81954         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81958         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81959         useless if() expression.
81960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81961         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81962         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81964         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81965         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81966         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81968         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81970         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81972         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81973         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81974         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81975         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81976         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81977         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81978         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81980         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81982 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81984         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81985         condition.
81986         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81988 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81990         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81991         .text section.  Avoid duplicate constants.
81992         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81994         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81998         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82000         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82001         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82003         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82004         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82005         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82006         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82007         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82008         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82009         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82010         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82012         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82013         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82014         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82015         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82016         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82017         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82018         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82019         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82020         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82021         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82022         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82023         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82024         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82025         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82026         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82027         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82028         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82029         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82030         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82031         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82032         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82033         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82034         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82035         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82036         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82038 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82040         * sysdeps/x86_64/dla.h: Move to ...
82041         * sysdeps/x86_64/fpu/dla.h: ...here.
82042         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82043         situations.  Use __builtin_fma only for gcc 4.6 and up.
82045         * config.make.in: Add have-mfma4 entry.
82046         * configure.in: Substitute libc_cv_cc_fma4.
82047         * math/Makefile (dbl-only-routines): Add sincostab.
82048         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82049         Use __sincostab not sincos.
82050         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82051         name is a macro.
82052         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82055         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82056         using __copysign.
82057         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82058         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82059         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82060         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82061         and __inv.
82062         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82063         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82064         __copysign.
82065         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82066         define aliases when function name is a macro.
82067         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82068         sysdeps/ieee754/dbl-64/sincos.tbl.
82069         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82070         fma4-enabled routines.
82071         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82072         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82073         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82074         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82076         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82078         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82079         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82080         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82081         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82082         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82083         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82084         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82085         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82086         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82087         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82088         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82089         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82090         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82091         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82092         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82093         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82094         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82096         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82097         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82098         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82099         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82100         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82102         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82103         rename.
82104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82105         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82107         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82108         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82110         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82113 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82115         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82117 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82119         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82121         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82122         prediction.
82123         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82125         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82126         Remove unused variable magic_bits.
82127         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82129         * string/strnlen.c: Define and use STRNLEN macro.
82130         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82131         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82133         * wcsmbs/wcslen.c: Define and use WCSLEN.
82134         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82135         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82136         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82137         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82138         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82139         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82140         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82142 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82145         strnlen-sse2-no-bsf.
82146         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82148         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82149         Add strnlen support.
82150         (USE_AS_STRNLEN): New macro.
82151         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82152         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82153         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82154         * sysdeps/x86_64/wcslen.S: New file.
82156 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82158         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82159         XMM-moves are used for copying on small sizes.
82161 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82163         * wcsmbs/Makefile (strop-tests): Add wcschr.
82164         * wcsmbs/test-wcschr.c: New file.
82165         * string/test-strchr.c: Update.
82166         Add wcschr support.
82167         (WIDE): New macro.
82169 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82171         * wcsmbs/Makefile (strop-tests): Add wcslen.
82172         * wcsmbs/test-wcslen.c: New file.
82173         * string/test-strlen.c: Update.
82174         Add wcslen support.
82175         (WIDE): New macro.
82177 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82179         * po/it.po: Update from translation team.
82181 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82183         * sysdeps/x86_64/wcscmp.S: Update.
82184         Fix wrong comparison semantics.
82185         wcscmp shall use signed comparison not unsigned.
82186         Don't use substraction to avoid overflow bug.
82187         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82188         * wcsmbc/wcscmp.c: Likewise.
82189         * string/test-strcmp.c: Likewise.
82190         Add new tests to check cases with negative values.
82192 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82194         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82195         * sysdeps/x86_64/dla.h: ...here.  New file.
82196         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82197         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82199         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82200         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82203         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82206 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82209         __ynl_finite aliases.
82211 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82215         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82216         define DLA_FMA.
82217         [DLA_FMA] (EMULV): Use DLA_FMA.
82218         [DLA_FMA] (MUL12): Use EMULV.
82219         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82220         that are not needed.
82221         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82223         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82224         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82225         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82226         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82229 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82231         * math/s_nan.c: Undef __nan.
82232         * math/s_nanf.c: Undef __nanf.
82233         * math/s_nanl.c: Undef __nanl.
82234         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82235         "math_private.h".
82237 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82239         * math/s_catan.c: Add branch predictions.
82240         * math/s_catanf.c: Likewise.
82241         * math/s_catanh.c: Likewise.
82242         * math/s_catanhf.c: Likewise.
82243         * math/s_catanhl.c: Likewise.
82244         * math/s_catanl.c: Likewise.
82245         * math/s_cexp.c: Likewise.
82246         * math/s_cexpf.c: Likewise.
82247         * math/s_cexpl.c: Likewise.
82248         * math/s_clog.c: Likewise.
82249         * math/s_clog10.c: Likewise.
82250         * math/s_clog10f.c: Likewise.
82251         * math/s_clog10l.c: Likewise.
82252         * math/s_clogf.c: Likewise.
82253         * math/s_clogl.c: Likewise.
82254         * math/s_csqrt.c: Likewise.
82255         * math/s_csqrtf.c: Likewise.
82256         * math/s_csqrtl.c: Likewise.
82257         * math/s_ctanf.c: Likewise.
82258         * math/s_ctanh.c: Likewise.
82259         * math/s_ctanhf.c: Likewise.
82260         * math/s_ctanhl.c: Likewise.
82261         * math/s_ctanl.c: Likewise.
82263         * math/math_private.h: Define __nan, __nanf, __nanl.
82264         * math/s_cacosh.c: Include <math_private.h>.
82265         * math/s_cacoshl.c: Likewise.
82266         * math/s_casinh.c: Likewise.
82267         * math/s_casinhf.c: Likewise.
82268         * math/s_casinhl.c: Likewise.
82269         * math/s_ccos.c: Rely entire on ccosh.
82270         * math/s_ccosf.c: Rely entire on ccoshf.
82271         * math/s_ccosl.c: Rely entirely on ccoshl.
82272         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82273         Remove tests for FE_INVALID.
82274         * math/s_ccoshf.c: Likewise.
82275         * math/s_ccoshl.c: Likewise.
82276         * math/s_csin.c: Likewise.
82277         * math/s_csinf.c: Likewise.
82278         * math/s_csinh.c Likewise.
82279         * math/s_csinhf.c: Likewise.
82280         * math/s_csinhl.c: Likewise.
82281         * math/s_csinl.c: Likewise.
82282         * math/s_ctan.c: Likewise.
82283         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82284         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82285         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82287 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82290         compilation problems.
82292         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82293         __builtin_expect.
82295 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82297         * sysdeps/i386/configure.in: Test for -mfma4 option.
82298         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82299         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82300         COMMON_CPUID_INDEX_80000001.
82301         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82302         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82303         use it if FMA3 is not supported.
82304         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82306         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82307         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82309 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82311         [BZ #12892]
82312         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82313         it would create a cycle with a link time dependency.
82315 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82317         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82318         instruction.
82319         * string/Makefile (strop-tests): Add rawmemchr.
82320         * string/test-rawmemchr.c: New file.
82322         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82324         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82325         when compiling str{,n}casecmp and when AVX is available.  Hook up
82326         new optimized code in initializers.
82328 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82330         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82331         __feraiseexcept instead of feraiseexcept.
82333 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82335         * math/math_private.h: Define defaults for libc_fetestexcept and
82336         libc_feupdateenv.
82337         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82338         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82339         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82340         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82341         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82342         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82343         libc_fetestexcept and libc_feupdateenv.
82345         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82346         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82347         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82348         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82349         libc_feholdexcept_setround.
82351         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82352         Add s_nearbyint-c and s_nearbyintf-c.
82353         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82354         nearbyintf inlines.
82355         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82356         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82357         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82358         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82360         * math/math_private.h: Define defaults for libc_fegetround,
82361         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82362         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82363         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82364         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82365         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82366         standard functions.
82367         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82368         Remove comments and hacks for old compiler versions.
82369         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82370         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82371         libc_feholdexceptl.
82373 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82375         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82376         (__feraiseexcept_renamed): Add __NTH.
82377         (feraiseexcept): Add __NTH.  Rename local variables to fix
82378         namespace violations.
82380 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82382         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82384         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82386         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82387         recently added interfaces.
82388         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82390         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82391         about macro parameter expansion.
82393         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82394         __NO_MATH_INLINES is defined.  Cleanups.
82396         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82397         and __floorf is target has SSE4.1.
82398         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82399         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82400         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82401         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82403         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82404         name.
82405         (floorf): Likewise.
82407         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82409 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82411         * misc/sys/cdefs.h: Fix last change.
82413         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82414         database lookup.
82416 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82418         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82420         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82421         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82422         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82423         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82424         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82425         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82426         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82427         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82428         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82429         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82430         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82431         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82432         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82433         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82434         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82435         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82436         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82437         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82438         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82439         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82440         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82441         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82443         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82444         ceil, ceilf, floor, floorf.
82446         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82447         Perform IRELATIVE relocations last.
82449         * elf/do-rel.h: Add another parameter nrelative, replacing the
82450         local variable with the same name.  Change name of the function
82451         to end in Rel or Rela (uppercase).
82452         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82453         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82454         elf_dynamic_do_##reloc function.
82456 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82458         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82459         is sufficient, at least on modern CPUs.
82461         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82463         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82464         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82466         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82467         __expl_finite.
82468         * math/bits/math-finite.h: Add entries for exp.
82469         * math/e_expl.c: Add __*_finite alias.
82470         * sysdeps/i386/fpu/e_exp.S: Likewise.
82471         * sysdeps/i386/fpu/e_expf.S: Likewise.
82472         * sysdeps/i386/fpu/e_expl.c: Likewise.
82473         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82474         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82475         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82477         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82479         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82481         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82482         is sufficient, at least on modern CPUs.
82484         * ctype/ctype-info.c (__ctype_init): Define.
82485         * include/ctype.h (__ctype_init): Declare.
82486         (__ctype_b_loc): The variable is always initialized.
82487         (__ctype_toupper_loc): Likewise.
82488         (__ctype_tolower_loc): Likewise.
82489         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82490         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82492 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82494         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82496         * configure.in: Also look in $cxxmachine/include for C++ system
82497         headers.
82499 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82501         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82502         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82503         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82504         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82505         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82506         (USE_AS_WMEMCMP): New macro.
82507         Fixing indents.
82508         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82509         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82510         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82511         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82513         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82514         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82515         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82516         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82517         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82519         (USE_AS_WMEMCMP): New macro.
82520         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82521         * sysdeps/string/test-memcmp.c: Update.
82522         Fix simple_wmemcmp.
82523         Add new tests.
82524         * wcsmbs/wmemcmp.c: Update.
82525         (WMEMCMP): New macro.
82526         Fix overflow bug.
82528 2011-10-12  Andreas Jaeger  <aj@suse.de>
82530         [BZ #13268]
82531         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82533 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82535         * libio/iofwide.c (do_length): Avoid warning.
82537         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82539 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82541         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82543         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82544         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82545         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82546         * sysdeps/i386/i686/fpu/e_log.S: New file.
82547         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82548         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82550         * ctype/ctype.h: Add support for inlined isXXX functions when
82551         compiling C++ code.
82553 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82555         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82557         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82559 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82561         [BZ #13291]
82562         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82564 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82566         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82567         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82568         feraiseexcept.
82570         * sysdeps/x86_64/memrchr.S: Check for zero size.
82572         * string/stratcliff.c: Add memrchr tests.
82574 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82577         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82578         rawmemchr-sse2 rawmemchr-sse2-bsf.
82579         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82580         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82581         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82582         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82583         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82584         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82585         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82586         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82587         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82588         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82589         * string/memrchr.c (MEMRCHR): New macro.
82591 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82593         Add integration with gcc's -ffinite-math-only and optimize wrapper
82594         functions in libm.
82595         * Versions.def: Define GLIBC_2.15 version for libm.
82596         * math/Makefile (headers): Add bits/math-finite.h.
82597         * math/bits/math-finite.h: New file.
82598         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82599         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82600         * math/e_acoshl.c: Add __*_finite alias.
82601         * math/e_acosl.c: Likewise.
82602         * math/e_asinl.c: Likewise.
82603         * math/e_atan2l.c: Likewise.
82604         * math/e_atanhl.c: Likewise.
82605         * math/e_coshl.c: Likewise.
82606         * math/e_exp10.c: Likewise.
82607         * math/e_exp10f.c: Likewise.
82608         * math/e_exp10l.c: Likewise.
82609         * math/e_exp2l.c: Likewise.
82610         * math/e_fmodl.c: Likewise.
82611         * math/e_gammal_r.c: Likewise.
82612         * math/e_hypotl.c: Likewise.
82613         * math/e_j0l.c: Likewise.
82614         * math/e_j1l.c: Likewise.
82615         * math/e_jnl.c: Likewise.
82616         * math/e_lgammal_r.c: Likewise.
82617         * math/e_log10l.c: Likewise.
82618         * math/e_log2l.c: Likewise.
82619         * math/e_logl.c: Likewise.
82620         * math/e_powl.c: Likewise.
82621         * math/e_sinhl.c: Likewise.
82622         * math/e_sqrtl.c: Likewise.
82623         * math/e_scalb.c: Completely rewritten and optimized.
82624         * math/e_scalbf.c: Likewise.
82625         * math/e_scalbl.c: Likewise.
82626         * math/w_acos.c: Likewise.
82627         * math/w_acosf.c: Likewise.
82628         * math/w_acosl.c: Likewise.
82629         * math/w_acosh.c: Likewise.
82630         * math/w_acoshf.c: Likewise.
82631         * math/w_acoshl.c: Likewise.
82632         * math/w_asin.c: Likewise.
82633         * math/w_asinf.c: Likewise.
82634         * math/w_asinl.c: Likewise.
82635         * math/w_atan2.c: Likewise.
82636         * math/w_atan2f.c: Likewise.
82637         * math/w_atan2l.c: Likewise.
82638         * math/w_atanh.c: Likewise.
82639         * math/w_atanhf.c: Likewise.
82640         * math/w_atanhl.c: Likewise.
82641         * math/w_exp10.c: Likewise.
82642         * math/w_exp10f.c: Likewise.
82643         * math/w_exp10l.c: Likewise.
82644         * math/w_fmod.c: Likewise.
82645         * math/w_fmodf.c: Likewise.
82646         * math/w_fmodl.c: Likewise.
82647         * math/w_j0.c: Likewise.
82648         * math/w_j0f.c: Likewise.
82649         * math/w_j0l.c: Likewise.
82650         * math/w_j1.c: Likewise.
82651         * math/w_j1f.c: Likewise.
82652         * math/w_j1l.c: Likewise.
82653         * math/w_jn.c: Likewise.
82654         * math/w_jnf.c: Likewise.
82655         * math/w_log.c: Likewise.
82656         * math/w_logf.c: Likewise.
82657         * math/w_logl.c: Likewise.
82658         * math/w_log10.c: Likewise.
82659         * math/w_log10f.c: Likewise.
82660         * math/w_log10l.c: Likewise.
82661         * math/w_log2.c: Likewise.
82662         * math/w_log2f.c: Likewise.
82663         * math/w_log2l.c: Likewise.
82664         * math/w_pow.c: Likewise.
82665         * math/w_powf.c: Likewise.
82666         * math/w_powl.c: Likewise.
82667         * math/w_remainder.c: Likewise.
82668         * math/w_remainderf.c: Likewise.
82669         * math/w_remainderl.c: Likewise.
82670         * math/w_scalb.c: Likewise.
82671         * math/w_scalbf.c: Likewise.
82672         * math/w_scalbl.c: Likewise.
82673         * math/w_sqrt.c: Likewise.
82674         * math/w_sqrtf.c: Likewise.
82675         * math/w_sqrtl.c: Likewise.
82676         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82677         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82678         used.
82679         * math/math_private.h: Declare __kernel_standard_f.
82680         * math/w_cosh.c: Remove cruft and optimize a bit.
82681         * math/w_coshf.c: Likewise.
82682         * math/w_coshl.c: Likewise.
82683         * math/w_exp2.c: Likewise.
82684         * math/w_exp2f.c: Likewise.
82685         * math/w_exp2l.c: Likewise.
82686         * math/w_hypot.c: Likewise.
82687         * math/w_hypotf.c: Likewise.
82688         * math/w_hypotl.c: Likewise.
82689         * math/w_lgamma.c: Likewise.
82690         * math/w_lgamma_r.c: Likewise.
82691         * math/w_lgammaf.c: Likewise.
82692         * math/w_lgammaf_r.c: Likewise.
82693         * math/w_lgammal.c: Likewise.
82694         * math/w_lgammal_r.c: Likewise.
82695         * math/w_sinh.c: Likewise.
82696         * math/w_sinhf.c: Likewise.
82697         * math/w_sinhl.c: Likewise.
82698         * math/w_tgamma.c: Likewise.
82699         * math/w_tgammaf.c: Likewise.
82700         * math/w_tgammal.c: Likewise.
82701         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82702         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82703         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82704         Minor optimizations.  Pretty printing.  Remove cruft.
82705         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82706         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82709         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82710         * sysdeps/i386/fpu/e_asin.S: Likewise.
82711         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82712         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82713         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82714         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82715         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82716         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82717         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82718         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82719         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82720         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82721         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82722         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82723         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82724         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82725         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82726         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82727         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82728         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82729         * sysdeps/i386/fpu/e_log.S: Likewise.
82730         * sysdeps/i386/fpu/e_log10.S: Likewise.
82731         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82732         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82733         * sysdeps/i386/fpu/e_log2.S: Likewise.
82734         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82735         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82736         * sysdeps/i386/fpu/e_logf.S: Likewise.
82737         * sysdeps/i386/fpu/e_logl.S: Likewise.
82738         * sysdeps/i386/fpu/e_pow.S: Likewise.
82739         * sysdeps/i386/fpu/e_powf.S: Likewise.
82740         * sysdeps/i386/fpu/e_powl.S: Likewise.
82741         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82742         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82743         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82744         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82745         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82746         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82747         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82748         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82749         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82750         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82751         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82753         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82754         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82755         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82756         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82757         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82758         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82759         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82760         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82761         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82763         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82764         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82767         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82768         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82770         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82771         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82772         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82773         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82774         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82775         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82776         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82777         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82778         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82779         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82780         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82781         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82782         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82783         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82784         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82785         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82786         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82787         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82788         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82789         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82790         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82791         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82792         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82793         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82795         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82796         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82797         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82798         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82799         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82800         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82801         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82802         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82803         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82804         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82805         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82806         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82807         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82808         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82809         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82810         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82816         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82818         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82819         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82822         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82823         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82824         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82825         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82826         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82827         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82828         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82829         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82830         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82831         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82833         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82834         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82835         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82836         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82837         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82838         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82839         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82840         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82843         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82844         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82845         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82846         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82847         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82848         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82849         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82850         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82851         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82852         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82853         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82854         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82855         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82856         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82857         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82858         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82859         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82860         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82861         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82862         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82863         (__isnanf): Likewise.
82864         (__isinf_ns): Likewise.
82865         (__isinf_nsf): Likewise.
82866         (__finite): Likewise.
82867         (__finitef): Likewise.
82868         (__ieee754_sqrt): Define as macro.
82869         (__ieee754_sqrtf): Define as macro.
82870         (__ieee754_sqrtl): Define as macro.
82871         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82872         inlined copy.
82873         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82874         __FINITE_MATH_ONLY__ consistent.
82875         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82877 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82879         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82880         of rawmemchr.
82882         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82884 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82886         * po/ja.po: Update from translation team.
82888 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82890         * locale/programs/locarchive.c (prepare_address_space): New function.
82891         (create_archive, enlarge_archive, open_archive): Use it.
82893         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82894         inside [SHARED], where it is used.
82896         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82898         * nss/getent.c (netgroup_keys): Remove unused variable.
82899         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82901 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82903         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82904         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82906         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82907         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82908         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82909         * math/Makefile (libm-calls): Add s_isinf_ns.
82910         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82911         * math/multc3.c: Likewise.
82912         * math/s_casin.c: Likewise.
82913         * math/s_casinf.c: Likewise.
82914         * math/s_casinl.c: Likewise.
82915         * math/s_ccos.c: Likewise.
82916         * math/s_ccosf.c: Likewise.
82917         * math/s_ccosl.c: Likewise.
82918         * math/s_ctan.c: Likewise.
82919         * math/s_ctanf.c: Likewise.
82920         * math/s_ctanh.c: Likewise.
82921         * math/s_ctanhf.c: Likewise.
82922         * math/s_ctanhl.c: Likewise.
82923         * math/s_ctanl.c: Likewise.
82924         * math/w_fmod.c: Likewise.
82925         * math/w_fmodf.c: Likewise.
82926         * math/w_fmodl.c: Likewise.
82927         * math/w_remainder.c: Likewise.
82928         * math/w_remainderf.c: Likewise.
82929         * math/w_remainderl.c: Likewise.
82930         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82931         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82932         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82934         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82935         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82936         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82937         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82939         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82940         of the number.
82941         * stdio-common/printf_fphex.c: Likewise.
82942         * stdio-common/printf_size.c: Likewise.
82944         * math/e_exp10.c: Include math_private.h using <...> not "...".
82945         * math/e_exp10f.c: Likewise.
82946         * math/e_exp10l.c: Likewise.
82947         * math/e_exp2l.c: Likewise.
82948         * math/e_j0l.c: Likewise.
82949         * math/e_j1l.c: Likewise.
82950         * math/e_jnl.c: Likewise.
82951         * math/e_lgammal_r.c: Likewise.
82952         * math/e_rem_pio2l.c: Likewise.
82953         * math/e_scalb.c: Likewise.
82954         * math/e_scalbf.c: Likewise.
82955         * math/e_scalbl.c: Likewise.
82956         * math/k_cosl.c: Likewise.
82957         * math/k_sinl.c: Likewise.
82958         * math/k_tanl.c: Likewise.
82959         * math/s_cacoshf.c: Likewise.
82960         * math/s_catan.c: Likewise.
82961         * math/s_catanf.c: Likewise.
82962         * math/s_catanh.c: Likewise.
82963         * math/s_catanhf.c: Likewise.
82964         * math/s_catanhl.c: Likewise.
82965         * math/s_catanl.c: Likewise.
82966         * math/s_ccosh.c: Likewise.
82967         * math/s_ccoshf.c: Likewise.
82968         * math/s_ccoshl.c: Likewise.
82969         * math/s_cexp.c: Likewise.
82970         * math/s_cexpf.c: Likewise.
82971         * math/s_cexpl.c: Likewise.
82972         * math/s_clog.c: Likewise.
82973         * math/s_clog10.c: Likewise.
82974         * math/s_clog10f.c: Likewise.
82975         * math/s_clog10l.c: Likewise.
82976         * math/s_clogf.c: Likewise.
82977         * math/s_clogl.c: Likewise.
82978         * math/s_csin.c: Likewise.
82979         * math/s_csinf.c: Likewise.
82980         * math/s_csinh.c: Likewise.
82981         * math/s_csinhf.c: Likewise.
82982         * math/s_csinhl.c: Likewise.
82983         * math/s_csinl.c: Likewise.
82984         * math/s_csqrt.c: Likewise.
82985         * math/s_csqrtf.c: Likewise.
82986         * math/s_csqrtl.c: Likewise.
82987         * math/s_ctan.c: Likewise.
82988         * math/s_ctanf.c: Likewise.
82989         * math/s_ctanh.c: Likewise.
82990         * math/s_ctanhf.c: Likewise.
82991         * math/s_ctanhl.c: Likewise.
82992         * math/s_ctanl.c: Likewise.
82993         * math/s_ldexp.c: Likewise.
82994         * math/s_ldexpf.c: Likewise.
82995         * math/s_ldexpl.c: Likewise.
82996         * math/s_significand.c: Likewise.
82997         * math/s_significandf.c: Likewise.
82998         * math/s_significandl.c: Likewise.
82999         * math/w_acos.c: Likewise.
83000         * math/w_acosf.c: Likewise.
83001         * math/w_acosh.c: Likewise.
83002         * math/w_acoshf.c: Likewise.
83003         * math/w_acoshl.c: Likewise.
83004         * math/w_acosl.c: Likewise.
83005         * math/w_asin.c: Likewise.
83006         * math/w_asinf.c: Likewise.
83007         * math/w_asinl.c: Likewise.
83008         * math/w_atan2.c: Likewise.
83009         * math/w_atan2f.c: Likewise.
83010         * math/w_atan2l.c: Likewise.
83011         * math/w_atanh.c: Likewise.
83012         * math/w_atanhf.c: Likewise.
83013         * math/w_atanhl.c: Likewise.
83014         * math/w_cosh.c: Likewise.
83015         * math/w_coshf.c: Likewise.
83016         * math/w_coshl.c: Likewise.
83017         * math/w_dremf.c: Likewise.
83018         * math/w_exp10.c: Likewise.
83019         * math/w_exp10f.c: Likewise.
83020         * math/w_exp10l.c: Likewise.
83021         * math/w_exp2.c: Likewise.
83022         * math/w_exp2f.c: Likewise.
83023         * math/w_fmod.c: Likewise.
83024         * math/w_fmodf.c: Likewise.
83025         * math/w_fmodl.c: Likewise.
83026         * math/w_hypot.c: Likewise.
83027         * math/w_hypotf.c: Likewise.
83028         * math/w_hypotl.c: Likewise.
83029         * math/w_j0.c: Likewise.
83030         * math/w_j0f.c: Likewise.
83031         * math/w_j0l.c: Likewise.
83032         * math/w_j1.c: Likewise.
83033         * math/w_j1f.c: Likewise.
83034         * math/w_j1l.c: Likewise.
83035         * math/w_jn.c: Likewise.
83036         * math/w_jnf.c: Likewise.
83037         * math/w_jnl.c: Likewise.
83038         * math/w_lgamma.c: Likewise.
83039         * math/w_lgamma_r.c: Likewise.
83040         * math/w_lgammaf.c: Likewise.
83041         * math/w_lgammaf_r.c: Likewise.
83042         * math/w_lgammal.c: Likewise.
83043         * math/w_lgammal_r.c: Likewise.
83044         * math/w_log.c: Likewise.
83045         * math/w_log10.c: Likewise.
83046         * math/w_log10f.c: Likewise.
83047         * math/w_log10l.c: Likewise.
83048         * math/w_log2.c: Likewise.
83049         * math/w_log2f.c: Likewise.
83050         * math/w_log2l.c: Likewise.
83051         * math/w_logf.c: Likewise.
83052         * math/w_logl.c: Likewise.
83053         * math/w_pow.c: Likewise.
83054         * math/w_powf.c: Likewise.
83055         * math/w_powl.c: Likewise.
83056         * math/w_remainder.c: Likewise.
83057         * math/w_remainderf.c: Likewise.
83058         * math/w_remainderl.c: Likewise.
83059         * math/w_scalb.c: Likewise.
83060         * math/w_scalbf.c: Likewise.
83061         * math/w_scalbl.c: Likewise.
83062         * math/w_sinh.c: Likewise.
83063         * math/w_sinhf.c: Likewise.
83064         * math/w_sinhl.c: Likewise.
83065         * math/w_sqrt.c: Likewise.
83066         * math/w_sqrtf.c: Likewise.
83067         * math/w_sqrtl.c: Likewise.
83068         * math/w_tgamma.c: Likewise.
83069         * math/w_tgammaf.c: Likewise.
83070         * math/w_tgammal.c: Likewise.
83072         * po/ja.po: Update from translation team.
83074 2011-09-29  Andreas Jaeger  <aj@suse.de>
83076         [BZ #13179]
83077         * sunrpc/netname.c (netname2host): Fix logic.
83079         [BZ #6779]
83080         [BZ #6783]
83081         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83082         correctly.
83083         * math/w_remainder.c (__remainder): Likewise.
83084         * math/w_remainderf.c (__remainderf): Likewise.
83085         * math/libm-test.inc (remainder_test): Add test cases.
83087 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83089         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83090         sdiv_qrnnd.
83092 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83094         * string/test-memcmp.c: Avoid unncessary #defines.
83095         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83097 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83099         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83100         Use new sse2 version for core i3 - i7 as it's faster
83101         than sse42 version.
83102         (bit_Prefer_PMINUB_for_stringop): New.
83103         * sysdeps/x86_64/rawmemchr.S: Update.
83104         Replace with faster SSE2 version.
83105         * sysdeps/x86_64/memrchr.S: New file.
83106         * sysdeps/x86_64/memchr.S: Update.
83107         Replace with faster SSE2 version.
83109 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83111         * elf/dl-load.c (lose): Add cast to avoid warning.
83113 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83115         * po/ca.po: Update from translation team.
83117         * inet/getnetgrent_r.c: Hook up nscd.
83118         * nscd/Makefile (routines): Add nscd_netgroup.
83119         (nscd-modules): Add netgroupcache.
83120         (CFLAGS-netgroupcache.c): Define.
83121         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83122         (cache_search): Add const to second parameter.
83123         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83124         INNETGR.
83125         (dbs): Add netgrdb entry.
83126         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83127         (verify_persistent_db): Handle netgrdb.
83128         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83129         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83130         GETFDNETGR.
83131         (netgroup_response_header): Define.
83132         (innetgroup_response_header): Define.
83133         (datahead): Add netgroup_response_header and innetgroup_response_header
83134         elements.
83135         * nscd/nscd.conf: Add entries for netgroup cache.
83136         * nscd/nscd.h (dbtype): Add netgrdb.
83137         (_PATH_NSCD_NETGROUP_DB): Define.
83138         (netgroup_iov_disabled): Declare.
83139         (xmalloc, xcalloc, xrealloc): Move declarations here.
83140         (cache_search): Adjust prototype.
83141         Add netgroup-related prototypes.
83142         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83143         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83144         (__nscd_innetgr): Declare.
83145         * nscd/selinux.c (perms): Use access_vector_t as element type and
83146         add netgroup-related initializers.
83147         * nscd/netgroupcache.c: New file.
83148         * nscd/nscd_netgroup.c: New file.
83149         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83150         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83151         For four parameters use innetgr.
83152         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83153         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83154         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83155         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83157         * nscd/connections.c (register_traced_file): Don't register file
83158         for disabled databases.
83160 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83162         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83164         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83165         from tree and freeing node.
83167 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83169         * nss/nsswitch.c (__nss_database_lookup): Handle
83170         nss_parse_service_list out of memory case.
83172 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83174         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83175         out of memory case.
83177 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83179         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83180         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83181         pass it down.
83182         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83183         elf_machine_rela, elf_machine_lazy_rel.
83184         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83185         (ELF_DYNAMIC_DO_REL): Likewise.
83186         (ELF_DYNAMIC_DO_RELA): Likewise.
83187         (ELF_DYNAMIC_RELOCATE): Likewise.
83188         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83189         to ELF_DYNAMIC_DO_REL.
83190         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83191         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83192         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83193         elf_machine_rela.
83194         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83195         skip_ifunc, don't call ifunc function if non-zero.
83196         (elf_machine_rela): Likewise.
83197         (elf_machine_lazy_rel): Likewise.
83198         (elf_machine_lazy_rela): Likewise.
83199         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83200         (elf_machine_lazy_rel): Likewise.
83201         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83202         Likewise.
83203         (elf_machine_lazy_rel): Likewise.
83204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83205         Likewise.
83206         (elf_machine_lazy_rel): Likewise.
83207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83208         (elf_machine_lazy_rel): Likewise.
83209         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83210         (elf_machine_lazy_rel): Likewise.
83211         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83212         (elf_machine_lazy_rel): Likewise.
83213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83214         (elf_machine_lazy_rel): Likewise.
83215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83216         (elf_machine_lazy_rel): Likewise.
83217         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83218         (elf_machine_lazy_rel): Likewise.
83220 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83222         * nss/nss_files/files-init.c (_nss_files_init): Use static
83223         initialization for all the *_traced_file variables.
83225 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83227         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83229 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83231         [BZ #13226]
83232         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83234 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83236         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83237         Reread the line before reparsing it.
83239 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83241         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83243 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83244             Maxim Kuvyrkov  <maxim@codesourcery.com>
83245             Joseph Myers  <joseph@codesourcery.com>
83247         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83248         if needed for __stack_chk_guard.
83250 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83252         * sysdeps/posix/spawni.c (script_execute): Always define it.
83253         It will be optimized away if unused.
83254         (maybe_script_execute): New function.
83255         (__spawni): Call it.
83257         * Makerules: Don't include tls.make.
83258         (config-tls): Always set to thread.
83259         * tls.make.c: File removed.
83261 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83263         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83264         * config.make.in (CPPFLAGS-config): New substituted variable.
83266 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83270         [BZ #13192]
83271         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83272         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83274 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83276         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83277         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83279         (CALL_FAIL): Likewise.
83280         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83281         (CALL_FAIL): Macro removed.
83282         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83284 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83286         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83287         for __FINITE_MATH_ONLY__ == 1.
83289 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83291         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83292         __ieee754_sqrt instead of sqrt.
83293         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83294         __ieee754_sqrtf instead of sqrtf.
83295         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83296         __floorf instead of floorf.
83297         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83298         __floorf, __truncf instead of floorf, truncf.
83300 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83302         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83304         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83305         __extern_always_inline.
83306         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83307         32-bit.
83309 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83311         * elf/rtld.c (dl_main): Also relocate in dependency order when
83312         doing symbol dependency testing.
83314 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83316         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83317         Always define `refsym'.
83319 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83321         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83322         (__FD_ELT): Renamed from __FDELT.
83323         * misc/bits/select2.h (__FD_ELT): Likewise.
83324         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83325         __FD_MASK instead of __FDELT, __FDMASK.
83326         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83327         Likewise.
83328         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83329         Likewise.
83331         * elf/Makefile (gen-ldd): Fix pattern.
83333         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83334         (init_tls): Likewise.
83336 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83338         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83340 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83342         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83343         `struct cmsghdr *' instead of `void *'.
83344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83345         Likewise.
83347 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83349         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83350         if non-absolute.
83351         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83352         ldd_rewrite_script.
83354 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83356         * configure.in: Remove --with-tls option.
83357         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83358         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83359         out in case it is missing.
83360         * sysdeps/ia64/elf/configure.in: Likewise.
83361         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83362         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83363         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83364         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83365         * sysdeps/sh/elf/configure.in: Likewise.
83366         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83367         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83368         * sysdeps/x86_64/elf/configure.in: Likewise.
83369         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83370         * sysdeps/mach/hurd/tls.h: Likewise.
83372         [BZ #13067]
83373         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83375         [BZ #13090]
83376         * configure.in: Fix use of AC_INIT.
83378         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83380 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83382         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83383         __set_errno.
83384         * malloc/hooks.c: Likewise.
83386         [BZ #11929]
83387         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83388         variables statically.
83389         (narenas): Initialize.
83390         (list_lock): Initialize.
83391         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83392         initializtion of main_arena and list_lock.  Small cleanups.
83393         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83394         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83395         Add initializers to main_arena and mp_.
83396         (malloc_state): Remove pagesize member.  Change all users to use
83397         GLRO(dl_pagesize).
83399         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83400         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83401         is always initialized.
83403         * malloc/malloc.c: Removed unused configurations and dead code.
83404         * malloc/arena.c: Likewise.
83405         * malloc/hooks.c: Likewise.
83406         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83408         * include/tls.h: Removed.  USE___THREAD must always be defined.
83409         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83410         * elf/dl-libc.c: Likewise.
83411         * elf/dl-tsd.c: Likewise.
83412         * include/errno.h: Likewise.
83413         * include/netdb.h: Likewise.
83414         * include/resolv.h: Likewise.
83415         * inet/herrno-loc.c: Likewise.
83416         * inet/herrno.c: Likewise.
83417         * malloc/arena.c: Likewise.
83418         * malloc/hooks.c: Likewise.
83419         * malloc/malloc.c: Likewise.
83420         * resolv/res-state.c: Likewise.
83421         * resolv/res_libc.c: Likewise.
83422         * sysdeps/i386/dl-machine.h: Likewise.
83423         * sysdeps/ia64/dl-machine.h: Likewise.
83424         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83425         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83426         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83427         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83428         * sysdeps/sh/dl-machine.h: Likewise.
83429         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83430         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83431         * sysdeps/unix/i386/sysdep.S: Likewise.
83432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83433         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83438         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83442         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83443         * sysdeps/x86_64/dl-machine.h: Likewise.
83444         * tls.make.c: Likewise.
83446         * configure.in: Remove --with-__thread option.  Make tests for
83447         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83448         tls_model attribute fail if no support is available.  Remove
83449         USE_IN_LIBIO.
83450         * Makeconfig: Adjust for dropped configure option.  All features are
83451         now mandatory.
83452         * Makerules: Likewise.
83453         * Versions.def: Likewise.
83454         * argp/argp-fmtstream.c: Likewise.
83455         * argp/argp-fmtstream.h: Likewise.
83456         * argp/argp-help.c: Likewise.
83457         * assert/assert.c: Likewise.
83458         * config.h.in: Likewise.
83459         * config.make.in: Likewise.
83460         * configure: Likewise.
83461         * configure.in: Likewise.
83462         * csu/Versions: Likewise.
83463         * csu/init.c: Likewise.
83464         * elf/tst-audit2.c: Likewise.
83465         * elf/tst-tls10.c: Likewise.
83466         * elf/tst-tls10.h: Likewise.
83467         * elf/tst-tls11.c: Likewise.
83468         * elf/tst-tls12.c: Likewise.
83469         * elf/tst-tls14.c: Likewise.
83470         * elf/tst-tlsmod11.c: Likewise.
83471         * elf/tst-tlsmod12.c: Likewise.
83472         * elf/tst-tlsmod13.c: Likewise.
83473         * elf/tst-tlsmod13a.c: Likewise.
83474         * elf/tst-tlsmod14a.c: Likewise.
83475         * elf/tst-tlsmod15b.c: Likewise.
83476         * elf/tst-tlsmod16a.c: Likewise.
83477         * elf/tst-tlsmod16b.c: Likewise.
83478         * elf/tst-tlsmod7.c: Likewise.
83479         * elf/tst-tlsmod8.c: Likewise.
83480         * elf/tst-tlsmod9.c: Likewise.
83481         * gmon/gmon.c: Likewise.
83482         * grp/fgetgrent_r.c: Likewise.
83483         * grp/putgrent.c: Likewise.
83484         * hurd/fopenport.c: Likewise.
83485         * include/libc-symbols.h: Likewise.
83486         * include/tls.h: Likewise.
83487         * intl/gettextP.h: Likewise.
83488         * intl/loadinfo.h: Likewise.
83489         * locale/global-locale.c: Likewise.
83490         * locale/localeinfo.h: Likewise.
83491         * mach/devstream.c: Likewise.
83492         * malloc/arena.c: Likewise.
83493         * malloc/set-freeres.c: Likewise.
83494         * misc/err.c: Likewise.
83495         * misc/getttyent.c: Likewise.
83496         * misc/mntent_r.c: Likewise.
83497         * posix/getopt.c: Likewise.
83498         * posix/wordexp.c: Likewise.
83499         * pwd/fgetpwent_r.c: Likewise.
83500         * resolv/Versions: Likewise.
83501         * resolv/res_hconf.c: Likewise.
83502         * shadow/fgetspent_r.c: Likewise.
83503         * shadow/putspent.c: Likewise.
83504         * stdio-common/printf_fphex.c: Likewise.
83505         * stdio-common/tmpfile.c: Likewise.
83506         * stdlib/abort.c: Likewise.
83507         * stdlib/fmtmsg.c: Likewise.
83508         * sunrpc/auth_unix.c: Likewise.
83509         * sunrpc/clnt_perr.c: Likewise.
83510         * sunrpc/clnt_tcp.c: Likewise.
83511         * sunrpc/clnt_udp.c: Likewise.
83512         * sunrpc/clnt_unix.c: Likewise.
83513         * sunrpc/openchild.c: Likewise.
83514         * sunrpc/svc_simple.c: Likewise.
83515         * sunrpc/svc_tcp.c: Likewise.
83516         * sunrpc/svc_udp.c: Likewise.
83517         * sunrpc/svc_unix.c: Likewise.
83518         * sunrpc/xdr.c: Likewise.
83519         * sunrpc/xdr_array.c: Likewise.
83520         * sunrpc/xdr_rec.c: Likewise.
83521         * sunrpc/xdr_ref.c: Likewise.
83522         * sunrpc/xdr_stdio.c: Likewise.
83524 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83526         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83528 2011-07-03  Andreas Jaeger  <aj@suse.de>
83530         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83531         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83532         regenerate with gen-libm-tests.pl.
83534 2010-05-12  Petr Baudis  <pasky@suse.cz>
83536         [BZ #11589]
83537         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83538         around j0() zero points by switching to j1().
83539         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83540         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83542         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83544 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83546         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83547         instead of 0.
83548         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83549         instead of 0.
83550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83551         Patch in part by Pavel Roskin <proski@gnu.org>.
83553         [BZ #13138]
83554         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83555         realloc.
83556         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83557         Free memory block if necessary.
83559         [BZ #12847]
83560         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83561         be NULL.  Don't lock in this case.
83563 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83565         * elf/elf.h (ELFOSABI_GNU): New macro.
83566         (ELFOSABI_LINUX): Define to that.
83568 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83570         * string/strncat.c (strncat): Undef the symbol in case it has been
83571         defined in bits/string.h.
83573 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83575         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83577         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83578         link map.
83580 2011-08-17  Andreas Jaeger  <aj@suse.de>
83582         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83584 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83585             Ian Lance Taylor  <iant@google.com>
83587         * math/libm-test.inc (lround_test): New testcase.
83588         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83590 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83592         * Makefile: Remove support for automatic cvs check-ins.
83593         * Makerules: Likewise.
83594         * config.make.in: Likewise.
83595         * configure.in: Likewise.
83596         * intl/Makefile: Likewise.
83597         * locale/Makefile: Likewise.
83598         * po/Makefile: Likewise.
83599         * posix/Makefile: Likewise.
83600         * sysdeps/gnu/Makefile: Likewise.
83601         * sysdeps/mach/hurd/Makefile: Likewise.
83602         * sysdeps/sparc/sparc32/Makefile: Likewise.
83604         [BZ #13118]
83605         * posix/Makefile (bug-regex32-ENV): Define.
83606         Patch by John Stanley <jpsinthemix@verizon.net>.
83608         * misc/Makefile (headers): Add bits/select2.h.
83609         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83610         * misc/bits/select2.h: New file.
83611         * include/bits/select2.h: New file.
83612         * debug/Makefile (routines): Add fdelt_chk.
83613         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83614         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83615         FD_ISSET.
83616         * debug/fdelt_chk.c: New file.
83618         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83619         * wcsmbs/test-wmemcmp.c: Likewise.
83620         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83621         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83623 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83625         * string/Makefile (strop-tests): Add memcmp.
83626         * string/test-wmemcmp.c: New file.
83627         * string/test-memcmp.c: Add wmemcmp support.
83629 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83631         [BZ #13153]
83632         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83633         2011-07-19 change.
83635         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83636         garbage value in a __mach_port_mod_refs call in the cases of the
83637         task-self and thread-self ports.
83639 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83641         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83643 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83645         * elf/dl-load.c (lose): Check for non-null L.
83647 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83649         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83651         * elf/dl-libc.c (dlerror_run): Pass back error code from
83652         dl_catch_error.
83654         [BZ #13123]
83655         * elf/dl-load.c (lose): Free l_origin if it is valid.
83657         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83658         names.
83659         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83660         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83661         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83662         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83663         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83664         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83666 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83668         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83669         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83670         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83671         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83672         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83673         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83674         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83675         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83676         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83677         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83679 2011-08-15  Alan Modra  <amodra@gmail.com>
83681         [BZ #13092]
83682         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83683         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83684         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83685         ppc_mcount to static-only-routines.
83686         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83687         __mcount_internal.
83688         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83689         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83691 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83693         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83694         for finite and infinity parameters.
83696 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83698         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83699         and add nop instructions for throughput optimization.
83700         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83702 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83705         aligned copy for power7 with vector-scalar instructions.
83706         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83708 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83711         AVX check.
83713 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83715         [BZ #13144]
83716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83717         last change.
83719 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83721         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83722         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83723         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83724         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83725         clock_gettime.
83727 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83729         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83730         Forgot to demangle the pointer.
83732         * sysdeps/i386/sysdep.h: Define atom_text_section.
83733         * sysdeps/x86_64/sysdep.h: Likewise.
83734         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83735         section with atom_text_section.
83736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83737         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83738         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83742         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83743         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83744         already be defined.  Change to take two parameters and don't assign
83745         result to variable.  Adjust all users.
83746         Define INTERNAL_GETTIME if not already defined.
83747         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83748         call.
83749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83750         HAVE_CLOCK_GETTIME_VSYSCALL.
83751         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83754         gettimeofday vsyscall, just use time.
83756 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83759         <errno.h>.
83761 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83763         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83764         syscall on x86-64.
83765         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83766         syscall.
83767         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83768         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83769         syscall if possible.
83771 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83773         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83774         e_ident.  Don't pass to find_mapsXX.
83775         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83777 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83780         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83781         * sysdeps/x86_64/multiarch/strchr.S: Update.
83782         Check bit_slow_BSF bit.
83783         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83784         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83785         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83789         [BZ #13134]
83790         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83791         before glibc 2.15.
83792         (tryshell): Define.
83793         (__spawni): Change last parameter to be flag.  Test
83794         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83795         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83796         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83797         * posix/spawni.c: Likewise.
83798         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83799         * posix/spawnp.c: Likewise.  Change normal version to use
83800         SPAWN_XFLAGS_USE_PATH.
83801         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83802         SPAWN_XFLAGS_TRY_SHELL.
83804         [BZ #13150]
83805         * posix/glob.h: Remove gcc 1.x support.
83807         [BZ #13068]
83808         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83810 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83813         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83814         strrchr-sse2-bsf
83815         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83816         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83817         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83818         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83819         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83820         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83822 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83824         * sysdeps/x86_64/wcscmp.S: New file.
83826         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83827         wcscmp-c wcscmp-sse2
83828         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83829         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83830         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83831         * wcsmbs/wcscmp.c: Allow renaming.
83833 2011-09-05  David S. Miller  <davem@davemloft.net>
83835         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83836         stack slot, rather than the struct return pointer slot.
83837         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83838         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83842 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83844         * po/ja.po: Update from translation team.
83846         [BZ #13144]
83847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83848         kernel in 64-bit binaries.
83850 2011-09-01  David S. Miller  <davem@davemloft.net>
83852         * elf/elf.h (HWCAP_SPARC_*): Move to..
83853         * sysdeps/sparc/sysdep.h: this new file and add new values.
83854         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83855         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83856         _DL_HWCAP_COUNT to 24.
83857         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83858         entries.
83859         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83860         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83861         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83863         instead of magic constants.
83864         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83866 2011-08-31  David S. Miller  <davem@davemloft.net>
83868         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83870         Reimplement to do errno handling inline.
83871         (SYSCALL_ERROR_HANDLER): New macro.
83872         (__SYSCALL_STRING): Do not do errno handling in asm.
83873         (__CLONE_SYSCALL_STRING): Delete.
83874         (__INTERNAL_SYSCALL_STRING): Delete.
83875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83876         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83877         (PSEUDO): Reimplement to do errno handling inline.
83878         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83879         (SYSCALL_ERROR_HANDLER): New macro.
83880         (__SYSCALL_STRING): Do not do errno handling in asm.
83881         (__CLONE_SYSCALL_STRING): Delete.
83882         (__INTERNAL_SYSCALL_STRING): Delete.
83883         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83884         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83885         i386.
83886         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83887         (inline_syscall*): Add 'err' argument.
83888         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83889         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83890         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83891         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83893         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83894         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83896 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83898         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83900 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83902         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83903         directive.
83905 2011-08-24  David S. Miller  <davem@davemloft.net>
83907         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83909 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83911         * elf/Makefile: Add rules to build and run unload8 test.
83912         * elf/unload8.c: New file.
83913         * elf/unload8mod1.c: New file.
83914         * elf/unload8mod1x.c: New file.
83915         * elf/unload8mod2.c: New file.
83916         * elf/unload8mod3.c: New file.
83918         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83919         it wasn't used.
83921 2011-08-23  David S. Miller  <davem@davemloft.net>
83923         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83924         subtract stack bias.
83925         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83926         %sp not %fp in calculations.
83927         (_JMPBUF_UNWINDS_ADJ): Likewise.
83929         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83930         (aio_suspend): Call it to force an exception region around the
83931         AIO_MISC_WAIT() invocation.
83933 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83935         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83936         backslash.
83938 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83940         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83941         protection macro.
83942         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83943         and <dl-machine.h>.
83944         (Elf64_FuncDesc): Remove.
83946 2011-08-22  David S. Miller  <davem@davemloft.net>
83948         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83949         sigaltstack check, add missing cfi directives.
83950         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83951         missing cfi directives, and sigaltstack handling.
83953 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83955         [BZ #11724]
83956         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83957         object is seen twice.
83958         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83960         * elf/Makefile (distribute): Add tst-initorder2.c.
83961         (tests): Add tst-initorder2.
83962         (modules-names): Add tst-initorder2a tst-initorder2b
83963         tst-initorder2c tst-initorder2d.  Add rules to build them.
83964         ($(objpfx)tst-initorder2.out): New rule.
83965         * elf/tst-initorder2.c: New file.
83966         * elf/tst-initorder2.exp: New file.
83968 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83970         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83972         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83973         dependencies back to end of function.
83975         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83976         $(elfobjdir)/ld.so.
83978 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83981         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83983         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83984         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83985         of __vdso_gettimeofday.
83986         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83987         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83988         attribute_hidden.
83989         (_libc_vdso_platform_setup): Remove initialization of
83990         __vdso_gettimeofday and __vdso_time.
83992 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83994         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83995         and fgetc_unlocked.
83996         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83997         getc_unlocked.
83999         * elf/dl-open.c (add_to_global): Report additions to the global scope
84000         for LD_DEBUG=scopes.
84001         (dl_open_worker): Also print scope of newly loaded dependencies.
84002         (_dl_show_scope): Indicate if there is no scope.
84004         [BZ #13114]
84005         * stdio-common/Makefile (tests): Add bug24.
84006         * stdio-common/bug24.c: New file.
84008 2011-08-19  Andreas Jaeger  <aj@suse.de>
84010         [BZ #13114]
84011         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84012         non-existant file when using close-on-exec mode.
84014 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84017         the very first instruction.
84019         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84020         the CFI state in the end.
84021         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84022         inclusion of dl-trampoline.h.
84023         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84025 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84027         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84028         expectations for long double.
84030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84031         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84033 2011-08-14  David S. Miller  <davem@davemloft.net>
84035         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84036         artificual limit depends upon the system page size.
84038 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84040         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84041         * resolv/Makefile: Define CFLAGS-libresolv.
84043 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84045         * nss/makedb.c (compute_tables): Make variables used in nested
84046         function static.
84048 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84050         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84051         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84052         if buffer was too small.
84054         * elf/pldd.c (main): Attach to all threads in the process.
84055         Rewrite /proc handling to use *at functions.
84057 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84059         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84060         specifies first scope to show.
84061         (dl_open_worker): Update callers.  Move printing scope of new
84062         object to before the relocation.
84063         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84064         * sysdeps/generic/ldsodefs.h: Update declaration.
84066         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84067         string for the scope number.
84069 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84071         * nscd/servicescache.c (cache_addserv): Make sure written is always
84072         initialized.
84074 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84076         * sysdeps/i386/i486/bits/atomic.h
84077         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84078         statement expression, so as to suppress "set but not used" warning.
84079         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84081         * string/strncat.c (STRNCAT): Use prototype definition.
84083         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84084         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84085         -Iprograms here.
84086         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84087         (localedef-modules): Add localedef.
84088         (locale-modules): Add locale.
84090         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84091         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84092         to avoid a warning.
84094 2011-08-14  David S. Miller  <davem@davemloft.net>
84096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84097         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84099 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84101         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84102         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84103         * elf/rtld.c (dl_main): Set l_name of vDSO.
84104         Call _dl_show_scope when DL_DEBUG_SCOPES.
84105         (process_dl_debug): Recognize scopes flag and also set it for all.
84106         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84107         Declare _dl_show_scope.
84109         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84110         (do_dlopen): Pass caller_dlopen to dl_open.
84111         (__libc_dlopen_mode): Initialize caller_dlopen.
84113         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84114         of libc.  Make tolower call locale-independent.  Optimize a bit by
84115         using isdigit instead of isalnum.
84116         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84118 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84120         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84121         was a dependency or dynamically loaded.
84123 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84125         * intl/l10nflist.c: Allow architecture-specific pop function.
84126         * sysdeps/x86_64/l10nflist.c: New file.
84128         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84129         classification.
84131 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84133         * include/dirent.h: Add libc_hidden_proto for scandirat and
84134         scandirat64.  Don't declare __scandirat64.
84135         * dirent/scandirat.c: Add libc_hidden_def.
84136         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84137         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84139 2011-08-10  David S. Miller  <davem@davemloft.net>
84141         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84142         enum.
84143         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84144         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84145         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84147 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84149         * Versions.def [libc]: Add GLIBC_2.15.
84150         * dirent/Makefile (routines): Add scandirat and scandirat64.
84151         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84152         GLIBC_2.15.
84153         * dirent/dirent.h: Declare scandirat and scandirat64.
84154         * dirent/scandirat.c: New file.
84155         * dirent/scandirat64.c: New file.
84156         * sysdeps/wordsize-64/scandirat.c: New file.
84157         * sysdeps/wordsize-64/scandirat64.c: New file.
84158         * dirent/opendir.c: Define opendirat.
84159         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84160         using scandirat.
84161         * dirent/scandir64.c: Adjust for scandir.c change.
84162         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84163         __scandirat64, and __scandir_cancel_handler.
84164         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84165         additional parameter and use openat instead of open (outside of ld.so).
84166         Add new __opendir as wrapper around __opendirat.
84167         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84168         here without requiring old scandirat implementation.
84170 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84172         * dirent/scandir.c (cancel_handler): Renamed to
84173         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84174         defined.  Adjust users.
84175         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84176         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84178 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84180         * string/test-string.h (IMPL): Use __STRING to expand name and then
84181         stringify it.
84183         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84184         of cleanups.
84186 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84188         * string/Makefile: Update.
84189         (strop-tests): Append strncat.
84190         * string/test-wcscmp.c: New file.
84191         New comprehensive test for wcscmp.
84192         * string/test-strcmp.c: Update.
84193         (WIDE): New define.
84195 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84197         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84198         line.
84200 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84203         encoding to ACE if AI_IDN.
84205 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84208         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84210 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84212         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84213         Fix overflow bug in strncat.
84214         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84216         * string/test-strncat.c: Update.
84217         Add new tests for checking overflow bugs.
84219 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84222         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84223         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84224         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84226         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84227         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84228         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84229         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84232         (USE_AS_STRCAT): Define.
84233         Add strcat and strncat support.
84234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84236 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84238         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84239         __n bigger than INT_MAX+1.
84240         (__strncmp_g): Likewise.
84242 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84244         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84245         * libio/stido.h: Likewise.
84247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84248         (AF_NFC): Define.
84249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84250         (AF_NFC): Define.
84252         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84253         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84254         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84258         [BZ #13021]
84259         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84260         installed.
84262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84263         typo.
84264         (_dl_x86_64_save_sse): Likewise.
84266 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84268         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84269         OSXSAVE.
84270         (_dl_x86_64_save_sse): Likewise.
84272         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84274         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84276 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84279         change.
84280         (_dl_x86_64_save_sse): Use correct AVX check.
84282 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84284         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84285         bug in strncpy/strncat.
84286         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84288 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84290         * string/tester.c (test_strcat): Add tests for different alignments
84291         of source and destination.
84292         (test_strncat): Likewise.
84294 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84296         [BZ #12852]
84297         * posix/glob.c (glob): Check passed in values before using them in
84298         expressions to avoid some overflows.
84299         (glob_in_dir): Likewise.
84301         [BZ #13007]
84302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84303         check for AVX enablement so that we don't crash with old kernels and
84304         new hardware.
84305         * elf/tst-audit4.c: Add same checks here.
84306         * elf/tst-audit6.c: Likewise.
84308         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84310 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84312         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84314 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84316         * po/cs.po: Update from translation team.
84317         * po/bg.po: Likewise.
84319 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84321         * misc/sys/cdefs.h: Add support for const attribute.
84322         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84323         to gnu_dev_{major,minor,makedev} functions.
84325 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84327         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84329 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84331         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84332         strlen results.
84334 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84337         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84338         register in order to avoid conflicts with the soft frame pointer
84339         being held in r11 when necessary.
84340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84341         (INTERNAL_VSYSCALL_NCS): Likewise.
84343 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84345         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84346         * elf/dl-fini.c (_dl_fini): Adjust caller.
84347         * elf/dl-close.c (_dl_close_worker): Likewise.
84348         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84350 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84352         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84353         "aux_cache->nlibs < 0".
84355         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84356         in the reload-count case.
84358 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84361         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84362         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84363         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84364         * sysdeps/x86_64/multiarch/strcat.S: New file.
84365         * sysdeps/x86_64/multiarch/strncat.S: New file.
84366         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84367         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84368         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84369         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84370         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84371         (USE_AS_STRCAT): Define.
84372         Add strcat and strncat support.
84373         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84374         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84375         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84376         * string/strncat.c: Update.
84377         (USE_AS_STRNCAT): Define.
84378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84379         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84380         and i7.
84381         * sysdeps/x86_64/multiarch/init-arch.h
84382         (bit_Prefer_PMINUB_for_stringop): New.
84383         (index_Prefer_PMINUB_for_stringop): Likewise.
84384         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84385         bit_Prefer_PMINUB_for_stringop.
84387 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84389         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84390         buffer64.
84391         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84392         of casting of buffer.
84393         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84394         buffer32 and buffer64.
84395         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84396         writes instead of casting of buffer.
84397         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84398         buffer32.
84399         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84400         casting of buffer.
84402 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84404         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84406 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84408         * nscd/nscd.c (termination_handler): Don't do anything for a database
84409         if it has not yet been initialized.
84411 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84413         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84415 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84417         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84419 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84421         * po/nl.po: Update from translation team.
84422         * po/sv.po: Likewise.
84424 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84426         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84427         now disallowed by GCC.
84429         * configure.in (use-default-link): Default to yes if a test -shared
84430         link meets our qualifications.
84431         * configure: Regenerated.
84433         * config.make.in (output-format): New variable.
84434         * configure.in: Check for ld --print-output-format support.
84435         * configure: Regenerated.
84436         * Makerules ($(common-objpfx)format.lds)
84437         [$(output-format) != unknown]: Just use $(output-format),
84438         instead of the linker-script munging.
84440 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84442         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84443         of $(common-objpfx)shlib.lds.
84444         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84446         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84447         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84449         * configure.in (-z relro check): Adjust test code to add a large
84450         writable data section after it.
84451         * configure: Regenerated.
84453 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84455         * configure.in (-z relro check): Fix test code to make the variable
84456         truly const.
84457         * configure: Regenerated.
84459 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84461         * nscd/nscd.h (struct traced_file): Define.
84462         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84463         elements.  Add traced_files.
84464         (inotify_fd): Declare.
84465         (register_traced_file): Declare.
84466         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84467         (inotify_fd): Export.
84468         (resolv_conf_descr): Remove.
84469         (nscd_init): Move inotify descriptor creation to main.
84470         Don't register files for notification here.
84471         (register_traced_file): New function.
84472         (invalidate_cache): Don't use reset_res to determine whether to call
84473         res_init, go through the list of registered files.
84474         (main_loop_poll): The inotify descriptors are now stored in the
84475         structures for the traced files.
84476         (main_loop_epoll): Likewise.
84477         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84478         to __nss_disable_nscd.
84479         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84480         for a database anymore.  Check the records for all the registered
84481         files instead.
84482         * nss/Makefile (libnss_files-routines): Add files-init.
84483         (libnss_db-routines): Add db-init.
84484         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84485         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84486         * nss/nss_db/db-init.c: New file.
84487         * nss/nss_files/files-init.c: New file.
84488         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84489         __nss_lookup_function.
84490         (__nss_lookup_function): Call nss_load_library.
84491         (nss_load_all_libraries): New function.
84492         (__nss_disable_nscd): Take parameter with callback function for files
84493         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84494         used for the cached services.
84495         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84496         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84497         options for features to all the files in nscd.
84499         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84501 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84503         * csu/elf-init.c (__libc_csu_init): Comment typo.
84505 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84507         * po/pl.po: Update from translation team.
84508         * po/ja.po: Likewise.
84509         * po/ru.po: Likewise.
84510         * po/ko.po: Likewise.
84511         * po/fr.po: Likewise.
84513 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84515         * configure.in (.ctors/.dtors header and trailer check):
84516         Use an empirical test on a built program.
84517         * configure: Regenerated.
84519         * configure.in (-z relro check): Use an empirical test on a built DSO.
84520         Detect, but do not require, on ia64.
84521         * configure: Regenerated.
84523         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84524         Update tests that use readelf to use $READELF instead.
84525         * configure: Regenerated.
84527 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84529         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84530         if the result is not used.
84532 2011-07-05  Andreas Jaeger  <aj@suse.de>
84534         [BZ#9696]
84535         * stdlib/tst-strtod.c: Add testcase.
84537 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84539         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84540         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84541         The latter has a higher limit.  Take additional parameter to pass to
84542         the new function.
84543         (__pathconf): Pass file to __statfs_link_max.
84544         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84545         __statfs_link_max.
84546         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84547         __statfs_link_max.
84549         [BZ #12868]
84550         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84551         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84552         Handle Lustre.
84553         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84554         (__statfs_filesize_max): Likewise.
84555         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84557 2011-07-05  Andreas Jaeger  <aj@suse.de>
84559         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84561 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84563         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84564         `status' variable.
84565         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84566         Likewise.
84568 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84570         * Makefile (strop-tests): Add strncat.
84571         * string/test-strncat.c: New file.
84573 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84575         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84577 2011-06-21  Andreas Jaeger  <aj@suse.de>
84579         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84580         Copy rule from iconvdata/Makefile.
84582 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84584         [BZ #12922]
84585         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84586         but no long options are defined, just return 'W'.
84588 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84590         [BZ #9696]
84591         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84593 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84595         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84596         netgroups to read.
84597         (innetgr): Likewise.
84599 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84601         * config.make.in (install_root): Default to $(DESTDIR).
84603 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84605         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84607 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84609         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84611         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84612         containing directory rather than embedding absolute directory names.
84614         * scripts/check-local-headers.sh: Rewritten using awk.
84615         Match by word, not by line.  Print error messages for matches.
84616         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84618         * Makerules [shlib-lds-flags empty]:
84619         ($(common-objpfx)libc_pic.opts): New target.
84620         ($(common-objpfx)libc_pic.os.clean): New target.
84621         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84623         * config.make.in (OBJCOPY): New variable.
84624         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84625         * configure: Regenerated.
84627         * config.make.in (use-default-link): New variable.
84628         * configure.in (use_default_link): Grok --with-default-link to set it.
84629         * configure: Regenerated.
84630         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84631         (shlib-lds, shlib-lds-flags): Define to empty.
84633         * Makerules (shlib-lds): New variable.
84634         (shlib-lds-flags): New variable.
84635         (build-shlib, build-moduile, build-module-asneeded): Use it.
84636         ($(common-objpfx)libc.so): Use $(shlib-lds).
84637         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84638         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84640         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84641         DT_FLAGS/DT_FLAGS_1 with zero flags.
84643         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84644         linker script munging.
84646 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84648         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84649         as 128-bit value.
84650         * crypt/sha512.c (sha512_process_block): Perform total addition using
84651         128-bit if possible.
84652         (__sha512_finish_ctx): Likewise.
84653         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84654         as 64-bit value.
84655         * crypt/sha256.c (SWAP64): Define.
84656         (sha256_process_block): Perform total addition using 64-bit if
84657         possible.
84658         (__sha256_finish_ctx): Likewise.
84660 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84662         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84664         * nscd/hstcache.c (cache_addhst): Likewise.
84665         * nscd/grpcache.c (cache_addgr): Likewise.
84666         * nscd/aicache.c (addhstaiX): Likewise.
84667         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84669 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84671         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84673         * nscd/hstcache.c (cache_addhst): Likewise.
84674         * nscd/grpcache.c (cache_addgr): Likewise.
84675         * nscd/aicache.c (addhstaiX): Likewise.
84677 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84679         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84680         domain only when needed.
84682 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84685         is always restored.
84687 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84689         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84690         are re-adding the entry.
84691         * nscd/servicescache.c (cache_addserv): Likewise.
84693 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84695         * sysdeps/generic/dl-irel.h: fix protection against multiple
84696         inclusions.
84697         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84699 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84701         [BZ #12935]
84702         * malloc/memusage.sh: Fix quoting in message.
84703         * debug/xtrace.sh: Likewise.
84705         * configure.in: Remove support for --experimental-malloc option, make
84706         it the default.
84707         * config.make.in: Likewise.
84708         * malloc/Makefile: Likewise.
84710 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84712         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84713         two-byte characters.
84715 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84717         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84718         AC_CACHE_CHECK invocation.
84719         * configure: Regenerated.
84721         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84723 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84725         [BZ #12350]
84726         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84727         bit from old_res_options.
84729         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84731         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84732         value type for setfct.
84734 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84736         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84737         __gettimeofday instead of gettimeofday.
84739 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84741         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84743 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84745         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84748         info.
84750 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84753         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84754         strcpy-sse2-unaligned strncpy-sse2-unaligned
84755         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84756         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84757         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84758         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84759         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84761         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84762         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84763         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84764         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84765         (STRCPY): Support SSE2 and SSSE3 versions.
84767 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84769         [BZ #12874]
84770         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84771         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84772         kernels which artificially limit size of requests.
84774 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84777         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84778         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84779         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84780         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84781         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84782         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84783         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84784         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84786         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84787         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84788         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84789         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84790         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84792         Enable unaligned load optimization for Intel Core i3, i5 and i7
84793         processors.
84794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84795         Define.
84796         (index_Fast_Unaligned_Load): Define.
84797         (HAS_FAST_UNALIGNED_LOAD): Define.
84799 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84801         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84803 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84805         [BZ #12907]
84806         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84807         until it is clear that the information is realy needed.
84808         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84810 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84814 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84817         /sys/devices/system/cpu/online if it is usable.
84819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84820         reading the information from the /proc filesystem to once a second.
84822 2011-06-21  Andreas Jaeger  <aj@suse.de>
84824         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84825         NULL after inclusion of kernel headers.
84827 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84829         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84830         calls to internal_setent.
84832         [BZ #12885]
84833         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84834         addresses using gethostbyname4_r ignore IPv4 addresses.
84836         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84837         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84839         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84841 2011-06-20  David S. Miller  <davem@davemloft.net>
84843         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84844         inclusions.
84845         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84847         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84848         (elf_irel): Use it.
84849         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84850         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84851         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84852         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84853         * sysdeps/x86_64/dl-irel.h: Likewise.
84855         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84856         * elf/dl-sym.c: Likewise.
84858 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84860         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84861         need to dereference resplen2.
84863 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84865         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84867 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84869         * Makeconfig: Define vardbdir and inst_vardbdir.
84870         * nss/Makefile: Add rules to install db-Makefile.
84872         * nss/nss_db/db-XXX.c: Cleanup.
84874         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84875         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84876         GLIBC_PRIVATE.
84877         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84878         * nss/makedb.c: Implement -g option to specify that value strings
84879         are generated and should not be added to table iterated over for
84880         get*ent calls.
84881         * nss/nss_db/db-initgroups.c: New file.
84883         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84884         interface.
84886         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84887         (internal_getgrouplist): Adjust to name change.
84888         Update use_initgroups_entry if this is not the first call.
84889         * nss/databases.def: Add initgroups entry.
84891         * nss/makedb.c (compute_tables): Check result of multiple hash table
84892         sizes to minimize maximum chain length.
84894 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84896         * Versions.def: Add entry for libnss_db.
84897         * shlib-versions: Likewise.
84898         * nss/Makefile: Add rules to build libnss_db.
84899         * nss/Versions: Add libnss_db information.  Organize libnss_files
84900         entries better.
84901         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84902         makedb progra.  Some minor improvements to generate smaller files.
84903         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84904         here from...
84905         * nss/makedb.c: ...here.
84906         Improve database format to be smaller and require less memory at
84907         runtime.
84908         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84909         db anymore.
84910         * nss/nss_db/db-netgrp.c: Likewise.
84911         * nss/nss_db/db-open.c: Likewise.
84912         * nss/nss_files/flies-XXX.x: Adjust comments.
84913         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84914         * nss/nss_files/files-grp.c: Likewise.
84915         * nss/nss_files/files-hosts.c: Likewise.
84916         * nss/nss_files/files-network.c: Likewise.
84917         * nss/nss_files/files-proto.c: Likewise.
84918         * nss/nss_files/files-pwd.c: Likewise.
84919         * nss/nss_files/files-rpc.c: Likewise.
84920         * nss/nss_files/files-service.c: Likewise.
84921         * nss/nss_files/files-sgrp.c: Likewise.
84922         * nss/nss_files/files-spwd.c: Likewise.
84923         * nss/nss_db/db-alias.c: Removed.
84924         * nss/nss_db/dummy-db.h: Removed.
84926 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84928         * nss/makedb.c: Rewritten to not use database library.
84929         * nss/Makefile: Update to build new makedb program.
84931 2011-06-14  Andreas Jaeger  <aj@suse.de>
84933         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84934         memset declaration.
84936 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84939         tmpbuf.
84941 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84943         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84944         * elf/Makefile ($(objpfx)ld.so): Likewise.
84946         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84947         Don't list ld.so twice in dependencies.
84949         * posix/bug-regex31.c: Include <stdlib.h>.
84951         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84953         * nis/nss_compat/compat-spwd.c
84954         (getspent_next_nss_netgr): Remove unused variable.
84955         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84957         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84958         nonmembers" output to use the right array.
84960         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84962         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84964         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84965         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84966         * catgets/gencat.c (read_input_file): Likewise.
84967         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84969         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84970         variable definition inside #if's controlling its use.
84972         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84974         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84976         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84978         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84979         unreachable code.
84981         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84983         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84984         * configure: Regenerated.
84986         * Makerules: Revert last change.
84987         * elf/Makefile: Likewise.
84989 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84991         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84992         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84993         (reloc-link): Likewise.
84995 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84997         * elf/Makefile: Add rules to build pldd.
84998         * elf/pldd.c: New file.
84999         * elf/pldd-xx.c: New file.
85001 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85003         * version.h: Update for 2.15 development version.
85005 2011-06-07  David S. Miller  <davem@davemloft.net>
85007         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85008         ifuncs.
85009         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85010         elf_machine_lazy_rel): Likewise.
85011         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85013         elf_machine_lazy_rel): Likewise.
85014         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85015         dl_hwcap via passed in argument.
85016         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85017         Likewise.
85019 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85021         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85023 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85025         [BZ #12849]
85026         * manual/fdl-1.1.texi: New file, verbatim from:
85027         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85028         * manual/lgpl-2.1.texi: New file, verbatim from:
85029         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85030         * manual/Makefile (licenses): New variable, list those new file names.
85031         (texis): Use it.
85032         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85034         * manual/fdl.texi: File removed.
85035         * manual/lesser.texi: File removed.
85036         * manual/libc.texinfo (Copying, Documentation License):
85037         Use new @include file names, put @appendix directive before @include.
85039 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85041         [BZ #12841]
85042         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85043         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85044         (mq_open): Add __NTH.
85046 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85049         Assume Intel Core i3/i5/i7 processor if AVX is available.
85051 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85053         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85054         typo.
85056 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85058         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85059         memory.  Use alloca_account.  Fix memory leak when retrying.
85061 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85063         * version.h (RELEASE): Bump for 2.14 release.
85064         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85066         * config.make.in (RANLIB): Remove entry.
85068 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85070         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85071         (libc.pot): Work around missing support for .ksh extension in xgettext.
85073         [BZ #12684]
85074         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85075         if both request failed.
85076         (send_dg): In case of server errors clear resplen or *resplen2.
85078         [BZ #12454]
85079         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85080         when there are multiple maps.
85081         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85082         (_dl_fini): Remove test here.
85084         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85086 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85088         [BZ #12350]
85089         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85090         bit from old_res_options.
85091         (gaih_inet): Likewise.
85093         [BZ #11099]
85094         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85095         as signed.
85097         * resolv/res_init.c (res_setoptions): Make the code more compact.
85099         [BZ #11558]
85100         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85101         set RES_USEVC.
85103         [BZ #11634]
85104         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85106         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85108         [BZ #11781]
85109         * malloc/malloc.h: Declare malloc hook variables as volatile.
85111         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85112         in last patch.
85114         [BZ #11799]
85115         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85116         raise in the comment.
85117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85119         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85121 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85123         [BZ #12811]
85124         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85125         grow the buffers more if it already has to be sufficient.
85126         (build_wcs_upper_buffer): Likewise.
85127         * posix/regexec.c (check_matching): Likewise.
85128         (clean_state_log_if_needed): Likewise.
85129         (extend_buffers): Don't enlarge buffers beyond size of the input
85130         buffer.
85131         Patches mostly by Emil Wojak <emil@wojak.eu>.
85132         * posix/bug-regex32.c: New file.
85133         * posix/Makefile (tests): Add bug-regex32.
85135         * locale/findlocale.c (_nl_find_locale): Return right away if
85136         _nl_explode_name failed.
85137         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85139         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85141         * debug/xtrace.sh: Unify messages.
85142         * malloc/memusage.sh: Likewise.
85144         [BZ #12813]
85145         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85146         time symbol from vDSO.  Substitute with vsyscall if not available.
85147         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85148         __vdso_time.
85150         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85151         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85152         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85153         Add sendmmsg and internal_sendmmsg.
85154         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85155         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85158         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85159         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85160         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85162 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85164         [BZ #12813]
85165         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85166         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85167         available.
85168         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85169         __vdso_getcpu.
85171         [BZ #12814]
85172         * iconvdata/Makefile (tests): Add bug-iconv9.
85173         * iconvdata/bug-iconv9.c: New file.
85175 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85177         [BZ #12814]
85178         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85180 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85182         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85183         (struct user_regs_struct): Change intcs field back to cs.
85185 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85187         * po/ja.po: Update from translation team.
85189 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85191         [BZ #12795]
85192         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85193         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85195 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85197         * stdlib/longlong.h: Update from GCC.
85199 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85201         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85202         parameter name.
85203         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85204         Add parameter name.
85205         (__sysconf): Pass it down.
85207 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85209         [BZ #12671]
85210         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85211         some situations.
85212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85213         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85214         add in in __libc_use_alloca calls.  Adjust callers.
85215         (glob): Use malloc in some situations.
85217         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85218         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85219         pltexit.
85221 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85223         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85224         and CLOCK_BOOTTIME_ALARM.
85226         [BZ #12782]
85227         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85228         is returned.
85230         * string/_strerror.c (__strerror_r): Print negative errors as signed
85231         numbers.
85233         [BZ #12777]
85234         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85235         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85236         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85238         * configure.in: Fix typo in redirection and correct removal of test
85239         files in two cases.
85241         [BZ #12788]
85242         * locale/setlocale.c (new_composite_name): Fix test to check for
85243         identical name of all categories.
85245         [BZ #12792]
85246         * libio/filedoalloc.c (local_isatty): New function.
85247         (_IO_file_doallocate): Use local_isatty.
85248         * stdio-common/perror.c (perror): In case a new stream is used
85249         forward the stream error.
85250         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85251         error flag.
85253 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85255         [BZ #11884]
85256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85257         alloca.
85258         * include/alloca.h (extend_alloca_account): Define.
85260         [BZ #11857]
85261         * posix/regex.h: Fix comments with documentation of user-accessible
85262         fields after compilation and describe correct free'ing of pattern
85263         after re_compile_pattern.
85264         Patch by Reuben Thomas <rrt@sc3d.org>.
85266 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85268         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85269         and -mno-altivec to prevent the compiler from using Altivec and/or
85270         VSX instructions when the corresponding registers are not available.
85272 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85274         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85276 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85278         * libio/freopen.c (freopen): Use __dup2, not dup2.
85279         * libio/freopen64.c (freopen64): Likewise.
85281 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85283         [BZ #12775]
85284         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85285         * math/Makefile (tests): Add test-powl.
85286         (CFLAGS-test-powl.c): Define.
85287         * math/test-powl.c: New file.
85289 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85291         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85293 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85295         [BZ #11837]
85296         * iconvdata/gb18030.c: Update to GB18020-2005.
85298 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85300         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85301         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85302         Patch by Aharon Robbins <arnold@skeeve.com>.
85304         [BZ #11892]
85305         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85306         on the stack.
85308         [BZ #11895]
85309         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85310         through underflows.
85312         [BZ #12766]
85313         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85314         point to strings before performing equality test for error_one_per_line
85315         mode.
85317         [BZ #11697]
85318         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85320         [BZ #11820]
85321         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85322         (struct user_fpregs_struct): Avoid __uint*_t types.
85324         [BZ #6420]
85325         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85326         symbol info.  Use it instead of calling _dl_addr locally.
85327         (lock_and_info): New function.
85328         (tr_freehook): Call lock_and_info and pass symbol info as additional
85329         parameter to tr_where.
85330         (tr_mallochook): Likewise.
85331         (tr_reallochook): Likewise.
85332         (tr_memalignhook): Likewise.
85334         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85335         used and couldn't be at all thread-safe.
85337 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85339         * libio/freopen.c (freopen): Don't close old file descriptor
85340         before the new one is opened.  Instead dup the new file descriptor
85341         to the old one after the new stream is created.
85342         * libio/freopen64.c (freopen64): Likewise.
85343         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85344         * libio/fileops.c (_IO_new_file_close_it): Handle new
85345         _IO_FLAGS2_NOCLOSE flag.
85346         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85347         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85348         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85349         _IO_FLAGS2_NOCLOSE flag.
85350         * include/unistd.h: Add hidden_proto for dup3.
85351         Define __have_dup3.
85352         * io/dup3.c: Define hidden symbol.
85353         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85355         [BZ #7101]
85356         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85357         when an incomplete long option is used.
85358         * posix/tst-getopt_long1.c: New file.
85359         * posix/Makefile (tests): Add tst-getopt_long1.
85361         [BZ #10138]
85362         * scripts/config.guess: Update from autoconf-2.68.
85363         * scripts/config.sub: Likewise.
85365         [BZ #10157]
85366         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85367         tests into ...
85368         (has_cpuclock): ...this.  New function.
85369         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85370         macro here based on has_cpuclock code.
85372         [BZ #10149]
85373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85374         First byte (not low byte) is now always NUL.
85375         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85377         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85378         Use non-cancelable interfaces.
85380         [BZ #9809]
85381         * locale/iso-639.def: Add entry for Sorani.
85383         [BZ #11901]
85384         * include/stdlib.h: Move include protection to the right place.
85385         Define abort_msg_s.  Declare __abort_msg with it.
85386         * stdlib/abort.c (__abort_msg): Adjust type.
85387         * assert/assert.c (__assert_fail_base): New function.  Majority
85388         of code from __assert_fail.  Allocate memory for __abort_msg with
85389         mmap.
85390         (__assert_fail): Now call __assert_fail_base.
85391         * assert/assert-perr.c: Remove bulk of implementation.  Use
85392         __assert_fail_base.
85393         * include/assert.hL Declare __assert_fail_base.
85394         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85395         mmap.
85396         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85398 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85400         [BZ #11952]
85401         [BZ #12453]
85402         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85403         until all modules are registered in the DTV.
85404         * elf/Makefile: Add rules to build and run tst-tls19.
85405         * elf/tst-tls19.c: New file.
85406         * elf/tst-tls19mod1.c: New file.
85407         * elf/tst-tls19mod2.c: New file.
85408         * elf/tst-tls19mod3.c: New file.
85409         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85411         [BZ #12083]
85412         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85413         correctly.
85415         [BZ #12601]
85416         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85417         two-byte sequence errors.
85418         * iconvdata/Makefile (tests): Add bug-iconv8.
85419         * iconvdata/bug-iconv8.c: New file.
85421         [BZ #12626]
85422         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85423         buf2 definition.
85425         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85427         [BZ #12432]
85428         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85429         (dummy_getcfa): New function.
85430         (init): Get _Unwind_GetCFA address, use dummy if not found.
85431         (backtrace_helper): In recursion check, also check whether CFA changes.
85432         (__backtrace): Completely initialize arg.
85434         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85435         storing incomplete byte sequence in state object.  Avoid testing for
85436         guaranteed too small input if we know there is enough data available.
85438 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85440         * Makeconfig (+link-pie): Indent.
85441         * Rules (binaries-pie): Define if $(have-fpie) and
85442         $(build-shared).
85443         (binaries-shared): Also filter out $(binaries-pie).
85444         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85445         * nscd/Makefile (others-pie): Add nscd.
85446         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85447         ($(objpfx)nscd): Remove command override.
85448         * login/Makefile (others-pie): Add pt_chown.
85449         ($(objpfx)pt_chown): Remove command override.
85450         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85451         remove command overrides.
85453 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85455         * libio/tst_putwc.c: Fix error messages.
85457         [BZ #12724]
85458         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85459         currently writing and seek to current position when not.
85460         * libio/Makefile (tests): Add bug-fclose1.
85461         * libio/bug-fclose1.c: New file.
85463 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85465         [BZ #12511]
85466         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85467         don't set DF_1_NODELETE here.
85468         (do_lookup_x): When entering new entry test for copy relocation
85469         and if necessary set DF_1_NODELETE flag.
85470         * elf/tst-unique4.cc: New file.
85471         * elf/tst-unique4.h: New file.
85472         * elf/tst-unique4lib.cc: New file.
85473         * elf/Makefile: Add rules to build and run tst-unique4.
85474         Patch by Piotr Bury <pbury@goahead.com>.
85476 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85478         [BZ #12052]
85479         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85481         [BZ #12625]
85482         * misc/mntent_r.c (addmntent): Flush the stream after the output
85484         [BZ #12393]
85485         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85486         (is_trusted_path_normalize): Skip initial colon.  Append slash
85487         to empty buffer.  Duplicate is_trusted_path code but allow
85488         constructed patch to be prefix.
85489         (is_dst): Allow $ORIGIN followed by /.
85490         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85491         Correct testing of result of is_trusted_path_normalize
85492         (decompose_rpath): Fix warning.
85494 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85496         [BZ #11257]
85497         * grp/initgroups.c (internal_getgrouplist): When we found the service
85498         list through the initgroups entry in nsswitch.conf do not always
85499         continue on a successful lookup.  Don't always use the
85500         __nss_group_database value if it is set.
85501         * nss/nsswitch.conf (initgroups): Change action for successful db
85502         lookup to continue for compatibility.
85504 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85506         [BZ #11532]
85507         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85508         and CP774 modules.
85509         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85510         and CP774 modules.
85511         * iconvdata/tst-tables.sh: Likewise.
85512         * iconvdata/cp770.c: New file.
85513         * iconvdata/cp771.c: New file.
85514         * iconvdata/cp772.c: New file.
85515         * iconvdata/cp773.c: New file.
85516         * iconvdata/cp774.c: New file.
85517         * iconvdata/testdata/CP770: New file.
85518         * iconvdata/testdata/CP770..UTF8: New file.
85519         * iconvdata/testdata/CP771: New file.
85520         * iconvdata/testdata/CP771..UTF8: New file.
85521         * iconvdata/testdata/CP772: New file.
85522         * iconvdata/testdata/CP772..UTF8: New file.
85523         * iconvdata/testdata/CP773: New file.
85524         * iconvdata/testdata/CP773..UTF8: New file.
85525         * iconvdata/testdata/CP774: New file.
85526         * iconvdata/testdata/CP774..UTF8: New file.
85528         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85529         END CHARMAP line.
85530         * iconvdata/gen-8bit-gap.sh: Likewise.
85531         * iconvdata/gen-8bit.sh: Likewise.
85533         * locale/iso-639.def: Add ary entry.
85535         [BZ #11258]
85536         * locale/C-translit.h.in: Add U20A1 transliteration.
85538         [BZ #12178]
85539         * locale/iso-639.def: Add wae entry.
85540         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85542         [BZ #12545]
85543         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85544         for n.
85546         [BZ #12711]
85547         * locale/C-translit.h.in: Add entry for U20B9.
85548         Patch by pravin.d.s@gmail.com.
85550 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85552         [BZ #12713]
85553         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85554         ENAMETOOLONG use generic getcwd.
85555         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85556         in rtld.  Use *stat64.
85557         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85558         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85559         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85560         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85561         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85562         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85563         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85564         __fstatat64 macros.
85565         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85566         * dirent/rewinddir.c: Add libc_hidden_def.
85567         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85568         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85570         * include/dirent.h (__alloc_dir): Add flags parameter.
85571         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85572         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85573         __alloc_dir.
85574         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85575         from fdopendir if O_CLOEXEC is already set.
85577 2011-03-15  Alan Modra  <amodra@gmail.com>
85579         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85580         l_tls_firstbyte_offset non-zero.  Save padding offset in
85581         l_tls_firstbyte_offset for later use.
85582         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85583         freeing static tls block.
85585 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85587         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85588         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85589         being defined by the kernel headers.
85591 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85593         [BZ #12734]
85594         * resolv/resolv.h: Define RES_NOTLDQUERY.
85595         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85596         no-tld-query and set RES_NOTLDQUERY.
85597         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85598         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85599         modern BIND to search name as TLD unless forbidden.
85601 2011-05-07  Petr Baudis  <pasky@suse.cz>
85602             Ulrich Drepper  <drepper@gmail.com>
85604         [BZ #12393]
85605         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85606         (is_trusted_path): ...to here.
85607         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85608         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85609         using is_trusted_path_normalize() in setuid scripts.
85611 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85613         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85614         __BEGIN/__END_DECLS.
85616 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85618         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85619         NSS_STATUS_NOTFOUND if no record was found.
85621 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85623         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85624         (headers-not-in-tirpc): Remove rpc/netdb.h
85625         * resolv/netdb.h: Revert last change.
85627 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85629         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85630         circular dependency between libgcc.a and libc.a.
85632 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85634         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85635         * nis/Makefile: Don't install rpcsvc/*.
85636         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85637         instead of <rpc/types.h>.
85638         (MAXHOSTNAMELEN): Define.
85640 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85642         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85644 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85646         [BZ #12714]
85647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85648         gethostbyname4_r when IPv6 results are possible.
85650 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85652         [BZ #12723]
85653         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85654         _PC_PIPE_BUF handling.
85656 2011-04-30  Bruno Haible  <bruno@clisp.org>
85658         [BZ #12717]
85659         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85660         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85661         to 'int'.
85662         * inet/getnameinfo.c (getnameinfo): Likewise.
85664 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85666         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85667         to groups setting in database lookup.
85668         * nss/nsswitch.conf: Add initgroups entry.
85670 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85672         [BZ #12685]
85673         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85674         mode string.
85675         Patch by Eric Blake <eblake@redhat.com>.
85677 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85679         * sunrpc/Makefile (need-export-routines): Add svc_run.
85680         (routines): Remove svc_run.
85681         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85682         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85683         * sunrpc/svc_run.c (svc_run): Likewise.
85684         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85686 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85688         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85689         problem in reallocation in last patch.
85691 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85693         * sunrpc/Makefile: Move inclusion of Rules.
85695 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85697         * nss/nss_files/files-initgroups.c: New file.
85698         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85699         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85700         _nss_files_initgroups_dyn.
85702 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85704         * elf/elf.h (R_ARM_IRELATIVE): Define.
85706 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85708         * po/ru.po: Update from translation team.
85710 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85712         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85713         dependencies.
85715 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85717         [BZ #12653]
85718         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85719         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85720         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85722         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85724 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85726         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85727         differing bytes.
85728         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85729         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85730         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85732 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85734         [BZ #12420]
85735         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85736         storing it.
85737         * stdlib/bug-getcontext.c: New file.
85738         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85740 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85742         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85743         instructions into .machine "z9-109".
85744         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85745         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85747 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85749         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85750         between environment variables and auxiliary vector.
85752 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85754         * Makefile: Add rules to build linkobj/libc.so.
85755         * include/libc-symbols.h: Define libc_hidden_nolink.
85756         * include/rpc/auth.h: Mark functions which are to be hidden.
85757         * include/rpc/auth_des.h: Likewise.
85758         * include/rpc/auth_unix.h: Likewise.
85759         * include/rpc/clnt.h: Likewise.
85760         * include/rpc/des_crypt.h: Likewise.
85761         * include/rpc/key_prot.h: Likewise.
85762         * include/rpc/pmap_clnt.h: Likewise.
85763         * include/rpc/pmap_prot.h: Likewise.
85764         * include/rpc/pmap_rmt.h: Likewise.
85765         * include/rpc/rpc_msg.h: Likewise.
85766         * include/rpc/svc.h: Likewise.
85767         * include/rpc/svc_auth.h: Likewise.
85768         * include/rpc/xdr.h: Likewise.
85769         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85770         * nss/Makefile: Likewise.
85771         * sunrpc/Makefile: Don't install headers.  Build library with normal
85772         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85773         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85774         for the compat linking library.  Remove use of INTDEF/INTUSE.
85775         * sunrpc/auth_none.c: Likewise.
85776         * sunrpc/auth_unix.c: Likewise.
85777         * sunrpc/authdes_prot.c: Likewise.
85778         * sunrpc/authuxprot.c: Likewise.
85779         * sunrpc/clnt_gen.c: Likewise.
85780         * sunrpc/clnt_perr.c: Likewise.
85781         * sunrpc/clnt_raw.c: Likewise.
85782         * sunrpc/clnt_simp.c: Likewise.
85783         * sunrpc/clnt_tcp.c: Likewise.
85784         * sunrpc/clnt_udp.c: Likewise.
85785         * sunrpc/clnt_unix.c: Likewise.
85786         * sunrpc/des_crypt.c: Likewise.
85787         * sunrpc/des_soft.c: Likewise.
85788         * sunrpc/get_myaddr.c: Likewise.
85789         * sunrpc/key_call.c: Likewise.
85790         * sunrpc/key_prot.c: Likewise.
85791         * sunrpc/netname.c: Likewise.
85792         * sunrpc/pm_getmaps.c: Likewise.
85793         * sunrpc/pm_getport.c: Likewise.
85794         * sunrpc/pmap_clnt.c: Likewise.
85795         * sunrpc/pmap_prot.c: Likewise.
85796         * sunrpc/pmap_prot2.c: Likewise.
85797         * sunrpc/pmap_rmt.c: Likewise.
85798         * sunrpc/publickey.c: Likewise.
85799         * sunrpc/rpc_cmsg.c: Likewise.
85800         * sunrpc/rpc_common.c: Likewise.
85801         * sunrpc/rpc_dtable.c: Likewise.
85802         * sunrpc/rpc_prot.c: Likewise.
85803         * sunrpc/rpc_thread.c: Likewise.
85804         * sunrpc/rtime.c: Likewise.
85805         * sunrpc/svc.c: Likewise.
85806         * sunrpc/svc_auth.c: Likewise.
85807         * sunrpc/svc_authux.c: Likewise.
85808         * sunrpc/svc_raw.c: Likewise.
85809         * sunrpc/svc_run.c: Likewise.
85810         * sunrpc/svc_simple.c: Likewise.
85811         * sunrpc/svc_tcp.c: Likewise.
85812         * sunrpc/svc_udp.c: Likewise.
85813         * sunrpc/svc_unix.c: Likewise.
85814         * sunrpc/svcauth_des.c: Likewise.
85815         * sunrpc/xcrypt.c: Likewise.
85816         * sunrpc/xdr.c: Likewise.
85817         * sunrpc/xdr_array.c: Likewise.
85818         * sunrpc/xdr_float.c: Likewise.
85819         * sunrpc/xdr_intXX_t.c: Likewise.
85820         * sunrpc/xdr_mem.c: Likewise.
85821         * sunrpc/xdr_rec.c: Likewise.
85822         * sunrpc/xdr_ref.c: Likewise.
85823         * sunrpc/xdr_sizeof.c: Likewise.
85824         * sunrpc/xdr_stdio.c: Likewise.
85826 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85828         [BZ #12650]
85829         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85830         * sysdeps/ia64/dl-tls.h: Likewise.
85831         * sysdeps/powerpc/dl-tls.h: Likewise.
85832         * sysdeps/s390/dl-tls.h: Likewise.
85833         * sysdeps/sh/dl-tls.h: Likewise.
85834         * sysdeps/sparc/dl-tls.h: Likewise.
85835         * sysdeps/x86_64/dl-tls.h: Likewise.
85836         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85838 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85840         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85841         rpath element also skip the following colon.
85842         (expand_dynamic_string_token): Add is_path parameter and pass
85843         down to DL_DST_REQUIRED and _dl_dst_substitute.
85844         (decompose_rpath): Call expand_dynamic_string_token with
85845         non-zero is_path.  Ignore empty rpaths.
85846         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85847         with zero is_path.
85849 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85852         Make cancelable.
85854 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85856         [BZ #12655]
85857         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85858         Patch by Filipe David Manana <fdmanana@apache.org>.
85860 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85862         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85863         Maintain aligned stack.
85864         (CHECK_RSP): Remove unused macro.
85866 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85868         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85869         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85871 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85873         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85875         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85877 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85879         [BZ #12518]
85880         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85881         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85882         * sysdeps/x86_64/memmove.c: New file.
85883         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85884         (memcpy): Renamed to ...
85885         (__new_memcpy): This.
85886         (memcpy): Provide GLIBC_2_14 memcpy.
85887         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85888         (memcpy): Provide GLIBC_2_2_5 memcpy.
85890 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85892         [BZ #12631]
85893         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85895 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85897         * misc/syncfs.c: New file.
85898         * misc/Makefile (routines): Add syncfs.
85899         * posix/unistd.h: Declare syncfs.
85900         * sysdeps/unix/syscalls.list: Add syncfs.
85902 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85904         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85905         open_by_handle_at.
85906         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85911         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85914 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85916         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85917         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85918         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85922         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85924         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85925         sync_file_range.c with -fexceptions.
85926         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85927         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85928         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85929         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85930         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85931         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85933         sync_file_range as cancellation point
85934         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85935         now a wrapper around __call_sync_file_range with cancellation handling.
85936         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85937         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85938         function name to __call_sync_file_range.
85939         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85940         Add call_sync_file_range.
85942 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85945         bits/timex.h.
85947 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85949         * iconv/iconv.h: Fix typo in comment.
85950         * io/fcntl.h: Likewise.
85951         * libio/stdio.h: Likewise.
85952         * posix/spawn.h: Likewise.
85953         * posix/unistd.h: Likewise.
85954         * stdlib/stdlib.h: Likewise.
85955         * time/time.h: Likewise.
85956         * wcsmbs/wchar.h: Likewise.
85958         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85959         open_by_handle): Add.
85960         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85961         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85962         Augment a few comments.
85963         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85965         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85968         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85969         open_by_handle.
85971         * io/fcntl.h (AT_EMPTY_PATH): Define.
85973 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85975         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85976         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85977         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85978         to...
85979         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85980         * Versions.def: Add GLIBC_2.14.
85981         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85982         Export.
85984 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85986         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85987         round counter.
85988         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85990 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85992         [BZ #12597]
85993         * string/test-strncmp.c (do_page_test): New function.
85994         (check2): Likewise.
85995         (test_main): Call check2.
85996         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85998 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86000         [BZ #12587]
86001         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86002         Handle cache information in CPU leaf 4.
86003         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86005 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86007         [BZ #12583]
86008         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86009         character representation.
86010         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86012 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86014         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86015         END(__isnan) to END(__isnanf) to match function entry point/label
86016         EALIGN(__isnanf,...).
86018 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86020         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86022 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86024         [BZ #12510]
86025         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86026         copy from the symbol referenced in the relocation to initialize the
86027         used variable.
86028         Patch by Piotr Bury <pbury@goahead.com>.
86029         * elf/Makefile: Add rules to build and tst-unique3.
86030         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86031         * elf/tst-unique3.cc: New file.
86032         * elf/tst-unique3.h: New file.
86033         * elf/tst-unique3lib.cc: New file.
86034         * elf/tst-unique3lib2.cc: New file.
86036         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86038 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86040         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86041         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86042         to _start.
86044 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86046         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86047         to-be-loaded object along a path to loader is ld.so.
86049 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86050             Ulrich Drepper  <drepper@gmail.com>
86052         * sysdeps/x86_64/memset.S: After aligning destination, code
86053         branches to different locations depending on the value of
86054         misalignment, when multiarch is enabled. Fix this.
86056 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86058         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86059         Set _x86_64_preferred_memory_instruction for AMD processsors.
86060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86061         Set bit_Prefer_SSE_for_memop for AMD processors.
86063 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86065         * libio/fmemopen.c (fmemopen): Optimize a bit.
86067 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86069         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86071 2011-03-03  Roland McGrath  <roland@redhat.com>
86073         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86075 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86077         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86078         __bzero_ultra1 instead of __memset_ultra1.
86080 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86081             Ulrich Drepper  <drepper@gmail.com>
86083         [BZ #12509]
86084         * include/link.h (struct link_map): Add l_orig_initfini.
86085         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86086         returning unsuccessfully.
86087         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86088         close of a file loaded at startup, restore the original l_initfini
86089         list.
86090         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86091         list, store the pointer.
86092         * elf/Makefile ($(objpfx)noload-mem): New rule.
86093         (noload-ENV): Define.
86094         (tests): Add $(objpfx)noload-mem.
86095         * elf/noload.c: Include <memcheck.h>.
86096         (main): Call mtrace.  Close all opened handles.
86098 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86100         [BZ #12454]
86101         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86102         dependencies are missing.
86104 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86106         Fix __if_freereq crash: Unlike the generic version which uses free,
86107         Hurd needs munmap.
86108         * sysdeps/mach/hurd/ifreq.h: New file.
86110 2011-01-27  Petr Baudis  <pasky@suse.cz>
86111             Ulrich Drepper  <drepper@gmail.com>
86113         [BZ 12445]#
86114         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86115         to extend_alloca().
86116         * stdio-common/bug23.c: New file.
86117         * stdio-common/Makefile (tests): Add bug23.
86119 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86120             Ulrich Drepper  <drepper@gmail.com>
86122         [BZ #12489]
86123         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86124         before performing relro protection.  At old place add assertion
86125         to make sure nothing changed.
86127 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86128             Glauber de Oliveira Costa  <glommer@gmail.com>
86130         * elf/elf.h: Add new ARM TLS relocs.
86132 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86135         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86136         cast from r3.
86137         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86138         'tests' variable.
86139         * sysdeps/wordsize-64/tst-writev.c: New file.
86141 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86143         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86144         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86145         insns in _dl_start to prevent a TOC reference before relocs are
86146         resolved.
86148 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86150         [BZ #12469]
86151         * Makeconfig: Remove RANLIB definition.
86152         * Makerules: Don't use RANLIB.
86153         * aclocal.m4: Remove ranlib test.
86154         * configure.in: No need to check for ranlib.
86155         * elf/rtld-Rules: Don't use RANLIB.
86157 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86159         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86160         protection macro.
86161         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86162         inclusion protection macro.
86164         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86165         SIGRTMIN and SIGRTMAX and print information in that case only when
86166         SIGRTMIN is defined.
86168 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86170         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86171         arginfo fn returning -1.
86173         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86174         and thousands string is zero terminated.
86176 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86178         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86179         sysdeps/unix/sysv/linux/bits/socket.h.
86181 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86183         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86184         (__CPU_COUNT): Remove old macros.
86185         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86186         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86187         (__CPU_ALLOC, __CPU_FREE): Add macros.
86188         (__sched_cpualloc, __sched_cpufree): Add declarations.
86190 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86192         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86193         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86194         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86195         (readdhstai): Return value of addhstaiX call.
86196         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86197         (addgrbyX): Return value returned by cache_addgr.
86198         (readdgrbyname): Return value returned by addgrbyX.
86199         (readdgrbygid): Likewise.
86200         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86201         (addpwbyX): Return value returned by cache_addpw.
86202         (readdpwbyname): Return value returned by addhstbyX.
86203         (readdpwbyuid): Likewise.
86204         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86205         (addservbyX): Return value returned by cache_addserv.
86206         (readdservbyname): Return value returned by addservbyX:
86207         (readdservbyport): Likewise.
86208         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86209         (addhstbyX): Return value returned by cache_addhst.
86210         (readdhstbyname): Return value returned by addhstbyX.
86211         (readdhstbyaddr): Likewise.
86212         (readdhstbynamev6): Likewise.
86213         (readdhstbyaddrv6): Likewise.
86214         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86215         (readdinitgroups): Return value returned by addinitgroupsX.
86216         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86217         (prune_cache): Keep track of timeout value of re-added entries.
86218         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86219         * nscd/nscd.h: Adjust prototypes of readd* functions.
86221 2011-02-04  Roland McGrath  <roland@redhat.com>
86223         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86224         (nis_stats): Likewise.
86225         * nis/nis_modify.c (nis_modify): Likewise.
86226         * nis/nis_remove.c (nis_remove): Likewise.
86227         * nis/nis_add.c (nis_add): Likewise.
86229         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86231         * posix/fnmatch_loop.c: Add some consts.
86233         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86235 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86237         [BZ #12460]
86238         * config.make.in (config-cflags-novzeroupper): Define.
86239         * configure.in: Substitute libc_cv_cc_novzeroupper.
86240         * elf/Makefile (AVX-CFLAGS): Define.
86241         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86242         (CFLAGS-tst-auditmod4a.c): Likewise.
86243         (CFLAGS-tst-auditmod4b.c): Likewise.
86244         (CFLAGS-tst-auditmod6b.c): Likewise.
86245         (CFLAGS-tst-auditmod6c.c): Likewise.
86246         (CFLAGS-tst-auditmod7b.c): Likewise.
86247         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86249 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86251         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86252         function to the callback.
86253         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86255 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86257         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86258         of errno.
86260 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86262         [BZ #11724]
86263         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86264         of constructors.
86265         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86266         of destructors.
86267         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86269         [BZ #11724]
86270         * elf/Makefile: Add rules to build and run new test.
86271         * elf/tst-initorder.c: New file.
86272         * elf/tst-initorder.exp: New file.
86273         * elf/tst-initordera1.c: New file.
86274         * elf/tst-initordera2.c: New file.
86275         * elf/tst-initordera3.c: New file.
86276         * elf/tst-initordera4.c: New file.
86277         * elf/tst-initorderb1.c: New file.
86278         * elf/tst-initorderb2.c: New file.
86279         * elf/tst-order-a1.c: New file.
86280         * elf/tst-order-a2.c: New file.
86281         * elf/tst-order-a3.c: New file.
86282         * elf/tst-order-a4.c: New file.
86283         * elf/tst-order-b1.c: New file.
86284         * elf/tst-order-b2.c: New file.
86285         * elf/tst-order-main.c: New file.
86286         New test case by George Gensure <werkt0@gmail.com>.
86288 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86291         decoding ACE if AI_CANONIDN.
86293 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86295         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86297 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86299         * version.h (RELEASE): Bump for 2.13 release.
86300         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86302         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86304         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86305         MADV_NOHUGEPAGE.
86306         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86307         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86308         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86309         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86310         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86311         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86313         * posix/getconf.c: Update copyright year.
86314         * catgets/gencat.c: Likewise.
86315         * csu/version.c: Likewise.
86316         * debug/catchsegv.sh: Likewise.
86317         * debug/xtrace.sh: Likewise.
86318         * elf/ldconfig.c: Likewise.
86319         * elf/ldd.bash.in: Likewise.
86320         * elf/sprof.c (print_version): Likewise.
86321         * iconv/iconv_prog.c: Likewise.
86322         * iconv/iconvconfig.c: Likewise.
86323         * locale/programs/locale.c: Likewise.
86324         * locale/programs/localedef.c: Likewise.
86325         * malloc/memusage.sh: Likewise.
86326         * malloc/mtrace.pl: Likewise.
86327         * nscd/nscd.c (print_version): Likewise.
86328         * nss/getent.c: Likewise.
86330         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86331         PF_CAIF, and PF_ALG.
86332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86334 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86336         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86337         (modules-names): Use them.
86338         (ifunc-test-modules, ifunc-pie-tests): Define.
86339         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86340         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86341         (test-extras): Likewise.
86342         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86343         $(compile-command.c).
86344         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86345         (all-built-dso): Define.
86346         (check-textrel.out, check-execstack.out): Depend on it.
86348         * configure.in: Don't override --enable-multi-arch.
86350 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86352         [BZ #6812]
86353         * nscd/hstcache.c (tryagain): Define.
86354         (cache_addhst): Return tryagain not notfound for temporary errors.
86355         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86356         failed.
86358 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86360         [BZ #10563]
86361         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86362         to make the syscall.
86363         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86365         [BZ #12378]
86366         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86367         and fall back to matching as normal character if the string ends before
86368         the matching ']' is found.  This is what POSIX requires.
86369         * posix/testfnm.c: Adjust test result.
86370         * posix/globtest.sh: Adjust test result.  Add new test.
86371         * posix/tst-fnmatch.input: Likewise.
86372         * posix/tst-fnmatch2.c: Add new test.
86374 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86376         * elf/Makefile (check-execstack): Revert last change.  Depend on
86377         check-execstack.h.
86378         (check-execstack.h): New target.
86379         (generated): Add check-execstack.h.
86380         * elf/check-execstack.c: Include "check-execstack.h".
86381         (main): Revert last change.
86382         (handle_file): Return zero if GNU_STACK is absent and
86383         DEFAULT_STACK_PERMS doesn't include PF_X.
86385 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86387         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86388         in child fails because the descriptor is already closed.
86389         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86390         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86391         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86393         [BZ #12397]
86394         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86395         syscall.
86397         [BZ #10484]
86398         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86399         temporary buffer used to handle multi lookups locally.
86400         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86402 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86404         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86405         loader is ld.so.
86407 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86409         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86410         alignment for SSE2.
86412 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86414         [BZ #12394]
86415         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86416         characters.  When rounding increased number of integer digits recompute
86417         number of groups.
86418         * stdio-common/tst-grouping.c: New file.
86419         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86421 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86423         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86424         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86426         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86427         void.
86428         * bits/select.h: Likewise.
86430 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86432         * po/ja.po: Update from translation team.
86434 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86436         [BZ #11155]
86437         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86438         implementation just like for lxstat, fxstatat, et al.
86440 2010-12-27  Jim Meyering  <meyering@redhat.com>
86442         [BZ #12348]
86443         * posix/regexec.c (build_trtable): Return failure indication upon
86444         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86446 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86448         [BZ #12201]
86449         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86450         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86451         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86452         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86454         [BZ #12207]
86455         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86457         [BZ #12204]
86458         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86459         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86461 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86463         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86464         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86465         script has SORT_BY_INIT_PRIORITY.
86466         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86467         NO_CTORS_DTORS_SECTIONS is defined.
86468         * elf/soinit.c: Likewise.
86469         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86470         NO_CTORS_DTORS_SECTIONS is defined.
86471         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86472         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86473         * sysdeps/sh/init-first.c: Likewise.
86474         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86476 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86478         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86479         always use the slow path.
86481 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86483         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86484         similar rule which adds the sysdep directories to the header search in
86485         order to pick up the correct platform stackinfo.h.
86486         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86487         perform test if it is, otherwise return successfully without testing.
86488         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86489         DEFAULT_STACK_PERMS define in stackinfo.h.
86490         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86491         defined in stackinfo.h.
86492         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86493         DEFAULT_STACK_PERMS defined in stackinfo.h.
86494         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86495         * sysdeps/ia64/stackinfo.h: Likewise.
86496         * sysdeps/s390/stackinfo.h: Likewise.
86497         * sysdeps/sh/stackinfo.h: Likewise.
86498         * sysdeps/sparc/stackinfo.h: Likewise.
86499         * sysdeps/x86_64/stackinfo.h: Likewise.
86500         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86501         PF_X for powerpc64.  Retain PF_X for powerpc32.
86503 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86505         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86506         accurately.
86507         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86508         GETDENTS_64BIT_ALIGNED.
86510 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86512         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86514 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86516         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86517         _GNU_SOURCE.
86519         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86520         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86521         Remove __restrict.
86522         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86523         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86525 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86527         [BZ #11655]
86528         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86529         are initialized.
86531 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86533         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86535 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86537         * po/it.po: Update from translation team.
86539 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86542         unused codes.
86544 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86546         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86548 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86550         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86551         specially.
86552         (gaih_getanswer_slice): Likewise.
86554 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86558 2010-05-31  Petr Baudis  <pasky@suse.cz>
86560         [BZ #11149]
86561         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86562         silently even in the chroot mode.
86564 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86566         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86567         last patch a bit.  Pretty printing
86569 2010-05-31  Petr Baudis <pasky@suse.cz>
86571         [BZ #10085]
86572         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86573         initialization of skip_initgroups_dyn.
86575 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86577         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86580 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86582         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86584 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86586         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86587         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86588         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86589         ($(objpfx)tst-fnmatch-mem): New rule.
86590         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86591         * posix/tst-fnmatch.c (main): Call mtrace.
86593 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86596         Support Intel processor model 6 and model 0x2c.
86598 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86600         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86601           signed comparison.
86603 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86605         [BZ #12205]
86606         * string/test-strncasecmp.c (check_result): New function.
86607         (do_one_test): Use it.
86608         (check1): New function.
86609         (test_main): Use it.
86610         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86611         Support strcasecmp and strncasecmp.
86613 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86615         [BZ #12194]
86616         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86617         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86619 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86621         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86622         IFUNC support.
86623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86624         memset-x86-64.
86625         * sysdeps/x86_64/multiarch/bzero.S: New file.
86626         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86627         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86628         * sysdeps/x86_64/multiarch/memset.S: New file.
86629         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86631         Set bit_Prefer_SSE_for_memop for Intel processors.
86632         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86633         Define.
86634         (index_Prefer_SSE_for_memop): Define.
86635         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86637 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86639         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86640         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86642 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86644         [BZ #12191]
86645         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86646         (__x86_64_raw_data_cache_size_half): Likewise.
86647         (__x86_64_raw_shared_cache_size): Likewise.
86648         (__x86_64_raw_shared_cache_size_half): Likewise.
86650         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86651         (__x86_64_raw_data_cache_size_half): Likewise.
86652         (__x86_64_raw_shared_cache_size): Likewise.
86653         (__x86_64_raw_shared_cache_size_half): Likewise.
86654         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86655         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86656         and __x86_64_raw_shared_cache_size_half.  Round
86657         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86658         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86659         to multiple of 256 bytes.
86661 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86663         [BZ #12167]
86664         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86665         of inacessible symlinks.  Verify result of symlink before returning it.
86666         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86667         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86669 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86671         * math/math.h (isinf): Fix typo in comment.
86673 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86675         * po/da.po: Update from translation team.
86677 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86679         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86680         is added to the list.
86682 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86683             Ulrich Drepper  <drepper@gmail.com>
86685         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86686         the global list here.  Move code to...
86687         (_dl_add_to_namespace_list): ...here.  New function.
86688         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86689         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86690         * elf/dl-load.c (lose): Don't remove the element from the list.
86691         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86692         (_dl_map_object): Likewise.
86694 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86696         [BZ #12159]
86697         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86698         into all bytes of SSE register.
86699         Patch by Richard Li <richardpku@gmail.com>.
86701 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86703         [BZ #12140]
86704         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86705         perturbing.
86707 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86709         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86710         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86711         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86712         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86714         submachine.
86715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86717 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86719         * include/dlfcn.h (__RTLD_SECURE): Define.
86720         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86721         mode & __RTLD_SECURE instead.
86722         (open_path): Rename preloaded parameter to secure.
86723         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86724         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86725         * elf/dl-deps.c (openaux): Likewise.
86726         * elf/rtld.c (struct map_args): Remove is_preloaded.
86727         (map_doit): Don't use it.
86728         (dl_main): Likewise.
86729         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86730         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86732 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86734         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86735         (sysd-rules-targets): Remove duplicates.
86736         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86737         rtld-%.$o dependency.
86739 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86741         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86742         _dl_map_object do it.
86744 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86746         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86747         fast fma builtins, define the macros in the C99 standard.
86748         (FP_FAST_FMAF): Likewise.
86749         (FP_FAST_FMAL): Likewise.
86750         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86752         * bits/mathdef.h: Update copyright year.
86753         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86755 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86757         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86758         builtins, define the macros in the C99 standard.
86759         (FP_FAST_FMAF): Likewise.
86760         (FP_FAST_FMAL): Likewise.
86761         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86762         multiply/add.
86763         (FP_FAST_FMAF): Likewise.
86765 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86767         [BZ #3268]
86768         * math/libm-test.inc (fma_test): Some new testcases.
86769         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86770         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86771         y and infinite z.  Do multiplication by C already in long double.
86772         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86774         y and infinite z.  Do bitwise or of inexact bit into u.d.
86775         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86776         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86777         * sysdeps/i386/fpu/s_fma.S: Removed.
86778         * sysdeps/i386/fpu/s_fmal.S: Removed.
86780 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86782         [BZ #3268]
86783         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86785         computation is not scheduled after fetestexcept.  Fix value
86786         of minimum denormal long double.
86788 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86790         [BZ #3268]
86791         * math/libm-test.inc (fma_test): Add some more tests.
86792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86793         correctly.
86795 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86797         * scripts/data/localplt-s390-linux-gnu.data: New file.
86798         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86800 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86802         [BZ #3268]
86803         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86804         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86805         instead of dbl-64.
86806         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86807         inlines.
86808         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86810         if one of x and y is very large and the other is subnormal.
86811         * sysdeps/s390/fpu/s_fmaf.c: New file.
86812         * sysdeps/s390/fpu/s_fma.c: New file.
86813         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86814         * sysdeps/powerpc/fpu/s_fma.S: New file.
86815         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86816         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86817         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86819 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86821         [BZ #3268]
86822         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86823         fma tests.
86824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86825         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86826         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86827         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86828         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86829         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86830         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86832 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86834         [BZ #12078]
86835         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86836         * posix/bug-regex31.input: Add test case.
86838 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86840         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86841         * posix/bug-regex31.input: New file.
86843         [BZ #12078]
86844         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86845         (parse_sub_exp): Fix last change, use postorder.
86847         * posix/bug-regex31.c: New file.
86848         * posix/Makefile: Add rules to build and run bug-regex31.
86850         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86852         [BZ #12078]
86853         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86855         [BZ #12108]
86856         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86857         to have entries in sys_siglist.
86859         [BZ #12093]
86860         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86861         be NULL.
86863 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86865         [BZ #3268]
86866         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86867         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86868         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86869         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86870         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86871         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86872         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86873         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86874         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86875         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86876         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86877         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86878         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86879         * math/ftestexcept.c (fetestexcept): Likewise.
86880         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86881         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86882         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86883         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86884         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86885         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86886         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86888 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86890         [BZ #12107]
86891         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86892         newline.
86894 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86896         * string/bug-strstr1.c: New file.
86897         * string/Makefile: Add rules to build and run bug-strstr1.
86899 2010-10-05  Eric Blake  <eblake@redhat.com>
86901         [BZ #12092]
86902         * string/str-two-way.h (two_way_long_needle): Always clear memory
86903         when skipping input due to the shift table.
86905 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86907         [BZ #12005]
86908         * malloc/mcheck.c: Handle large requests.
86910         [BZ #12077]
86911         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86912         for strncmp and strncasecmp.
86913         * string/stratcliff.c: Add tests for strcmp and strncmp.
86914         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86916 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86918         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86919         __set_fpscr.
86921 2010-09-30  Andreas Jaeger  <aj@suse.de>
86923         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86924         (CGROUP_SUPER_MAGIC): Define.
86925         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86926         Handle btrfs and cgroup file systems.
86927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86928         Likewise.
86930 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86932         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86933         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86935 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86937         [BZ #12067]
86938         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86939         trying to locate the ELF header.
86941 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86943         [BZ #11611]
86944         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86945         Mask out sign-bit copies when constructing f_fsid.
86947 2010-09-24  Petr Baudis <pasky@suse.cz>
86949         * debug/stack_chk_fail_local.c: Add missing licence exception.
86950         * debug/warning-nop.c: Likewise.
86952 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86954         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86955         implementing getdents64 using getdents syscall, set d_type if
86956         __ASSUME_GETDENTS32_D_TYPE.
86958 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86960         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86961         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86963 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86965         [BZ #12037]
86966         * posix/unistd.h: Undo change of feature selection for ftruncate from
86967         2010-01-11.
86969 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86971         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86972         detection.
86974 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86976         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86977         fanotify_mark.
86978         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86980 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86982         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86983         variables after CHECK_SP call.
86984         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86986 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86987             Ulrich Drepper  <drepper@redhat.com>
86989         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86990         re-relocationg ld.so.
86991         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86992         _dl_init_paths call.
86993         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86994         here anymore.
86996 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86998         * resolv/res_init.c (__res_vinit): Count the default server we added.
87000 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87001             Ulrich Drepper  <drepper@redhat.com>
87003         [BZ #11968]
87004         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87005         (____longjmp_chk): Use %ebx for saving value across system call.
87006         Add unwind info.
87008 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87010         * manual/Makefile: Don't mix pattern rules with normal rules.
87012 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87014         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87015         operation.
87016         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87017         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87018         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87019         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87020         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87021         Likewise.
87023 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87025         [BZ #11979]
87026         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87027         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87029 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87031         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87032         * sysdeps/x86_64/addmul_1.S: Likewise.
87033         * sysdeps/x86_64/lshift.S: Likewise.
87034         * sysdeps/x86_64/mul_1.S: Likewise.
87035         * sysdeps/x86_64/rshift.S: Likewise.
87036         * sysdeps/x86_64/sub_n.S: Likewise.
87037         * sysdeps/x86_64/submul_1.S: Likewise.
87039 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87041         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87042         Define __sched_param instead of SCHED_* and sched_param when
87043         <bits/sched.h> is included with __need_schedparam defined.
87044         * bits/sched.h [__need_schedparam]
87045         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87046         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87047         (__defined_schedparam): Define to 1.
87048         (__sched_param): New structure, identical to sched_param.
87049         (__need_schedparam): Undefine.
87051 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87053         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87054         (epoll_create1): Declare.
87056         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87058 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87060         [BZ #7066]
87061         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87062         shifting retval into place.
87064 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87066         * nis/rpcsvc/nis.h: Update copyright notice.
87067         * nis/rpcsvc/nis.x: Likewise.
87068         * nis/rpcsvc/nis_callback.h: Likewise.
87069         * nis/rpcsvc/nis_callback.x: Likewise.
87070         * nis/rpcsvc/nis_object.x: Likewise.
87071         * nis/rpcsvc/nis_tags.h: Likewise.
87072         * nis/rpcsvc/yp.h: Likewise.
87073         * nis/rpcsvc/yp.x: Likewise.
87074         * nis/rpcsvc/ypupd.h: Likewise.
87075         * nis/yp_xdr.c: Likewise.
87076         * nis/ypupdate_xdr.c: Likewise.
87078         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87079         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87080         (pmap_getport): Use __libc_rpc_getport.
87081         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87082         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87083         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87085 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87088         fanotify_mark.
87090 2010-08-27  Roland McGrath  <roland@redhat.com>
87092         * sysdeps/i386/i686/multiarch/Makefile
87093         (CFLAGS-varshift.c): New variable.
87095 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87097         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87098         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87102         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87104 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87106         * sysdeps/x86_64/strlen.S: Unroll the loop.
87107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87108         strlen-sse2 strlen-sse2-bsf.
87109         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87110         __strlen_no_bsf if bit_Slow_BSF is set.
87111         (__strlen_sse42): Removed.
87112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87113         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87115 2010-08-25  Roland McGrath  <roland@redhat.com>
87117         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87118         * sysdeps/x86_64/multiarch/varshift.c: New file.
87119         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87120         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87121         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87122         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87124 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87127         strlen-sse2 strlen-sse2-bsf.
87128         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87129         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87130         (__strlen_sse2): Removed.
87131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87134         bit_Slow_BSF for Atom.
87135         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87136         (index_Slow_BSF): Define.
87137         (HAS_SLOW_BSF): Define.
87139 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87141         [BZ #10851]
87142         * resolv/res_init.c (__res_vinit): When no server address at all
87143         is given default to loopback.
87145 2010-08-24  Roland McGrath  <roland@redhat.com>
87147         * configure.in: Remove config-name.h generation.
87148         * configure: Regenerated.
87149         * config-name.in: File removed.
87150         * scripts/config-uname.sh: New file.
87151         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87152         ($(objdir)config-name.h): New target.
87154         * sunrpc/rpc_parse.h: Avoid nested comment.
87156 2010-08-24  Richard Henderson  <rth@redhat.com>
87157             Ulrich Drepper  <drepper@redhat.com>
87158             H.J. Lu  <hongjiu.lu@intel.com>
87160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87162         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87163         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87164         _mm_alignr_epi8 with _mm_loadu_si128.
87165         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87166         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87167         (__m128i_shift_right): Removed.
87168         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87169         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87170         * sysdeps/x86_64/multiarch/varshift.h: New file.
87171         * sysdeps/x86_64/multiarch/varshift.S: New file.
87173 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87175         * configure.in: Move assembler checks to before sysdep dir checking.
87177 2010-08-20  Petr Baudis  <pasky@suse.cz>
87179         * LICENSES: Sync the sunrpc license.
87181 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87183         * sunrpc/auth_des.c: Update copyright notice once again.
87184         * sunrpc/auth_none.c: Likewise.
87185         * sunrpc/auth_unix.c: Likewise.
87186         * sunrpc/authdes_prot.c: Likewise.
87187         * sunrpc/authuxprot.c: Likewise.
87188         * sunrpc/bindrsvprt.c: Likewise.
87189         * sunrpc/clnt_gen.c: Likewise.
87190         * sunrpc/clnt_perr.c: Likewise.
87191         * sunrpc/clnt_raw.c: Likewise.
87192         * sunrpc/clnt_simp.c: Likewise.
87193         * sunrpc/clnt_tcp.c: Likewise.
87194         * sunrpc/clnt_udp.c: Likewise.
87195         * sunrpc/clnt_unix.c: Likewise.
87196         * sunrpc/des_crypt.c: Likewise.
87197         * sunrpc/des_soft.c: Likewise.
87198         * sunrpc/get_myaddr.c: Likewise.
87199         * sunrpc/getrpcport.c: Likewise.
87200         * sunrpc/key_call.c: Likewise.
87201         * sunrpc/key_prot.c: Likewise.
87202         * sunrpc/openchild.c: Likewise.
87203         * sunrpc/pm_getmaps.c: Likewise.
87204         * sunrpc/pm_getport.c: Likewise.
87205         * sunrpc/pmap_clnt.c: Likewise.
87206         * sunrpc/pmap_prot.c: Likewise.
87207         * sunrpc/pmap_prot2.c: Likewise.
87208         * sunrpc/pmap_rmt.c: Likewise.
87209         * sunrpc/rpc/auth.h: Likewise.
87210         * sunrpc/rpc/auth_unix.h: Likewise.
87211         * sunrpc/rpc/clnt.h: Likewise.
87212         * sunrpc/rpc/des_crypt.h: Likewise.
87213         * sunrpc/rpc/key_prot.h: Likewise.
87214         * sunrpc/rpc/netdb.h: Likewise.
87215         * sunrpc/rpc/pmap_clnt.h: Likewise.
87216         * sunrpc/rpc/pmap_prot.h: Likewise.
87217         * sunrpc/rpc/pmap_rmt.h: Likewise.
87218         * sunrpc/rpc/rpc.h: Likewise.
87219         * sunrpc/rpc/rpc_des.h: Likewise.
87220         * sunrpc/rpc/rpc_msg.h: Likewise.
87221         * sunrpc/rpc/svc.h: Likewise.
87222         * sunrpc/rpc/svc_auth.h: Likewise.
87223         * sunrpc/rpc/types.h: Likewise.
87224         * sunrpc/rpc/xdr.h: Likewise.
87225         * sunrpc/rpc_clntout.c: Likewise.
87226         * sunrpc/rpc_cmsg.c: Likewise.
87227         * sunrpc/rpc_common.c: Likewise.
87228         * sunrpc/rpc_cout.c: Likewise.
87229         * sunrpc/rpc_dtable.c: Likewise.
87230         * sunrpc/rpc_hout.c: Likewise.
87231         * sunrpc/rpc_main.c: Likewise.
87232         * sunrpc/rpc_parse.c: Likewise.
87233         * sunrpc/rpc_parse.h: Likewise.
87234         * sunrpc/rpc_prot.c: Likewise.
87235         * sunrpc/rpc_sample.c: Likewise.
87236         * sunrpc/rpc_scan.c: Likewise.
87237         * sunrpc/rpc_scan.h: Likewise.
87238         * sunrpc/rpc_svcout.c: Likewise.
87239         * sunrpc/rpc_tblout.c: Likewise.
87240         * sunrpc/rpc_util.c: Likewise.
87241         * sunrpc/rpc_util.h: Likewise.
87242         * sunrpc/rpcinfo.c: Likewise.
87243         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87244         * sunrpc/rpcsvc/key_prot.x: Likewise.
87245         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87246         * sunrpc/rpcsvc/mount.x: Likewise.
87247         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87248         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87249         * sunrpc/rpcsvc/rex.x: Likewise.
87250         * sunrpc/rpcsvc/rstat.x: Likewise.
87251         * sunrpc/rpcsvc/rusers.x: Likewise.
87252         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87253         * sunrpc/rpcsvc/spray.x: Likewise.
87254         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87255         * sunrpc/rtime.c: Likewise.
87256         * sunrpc/svc.c: Likewise.
87257         * sunrpc/svc_auth.c: Likewise.
87258         * sunrpc/svc_authux.c: Likewise.
87259         * sunrpc/svc_raw.c: Likewise.
87260         * sunrpc/svc_run.c: Likewise.
87261         * sunrpc/svc_simple.c: Likewise.
87262         * sunrpc/svc_tcp.c: Likewise.
87263         * sunrpc/svc_udp.c: Likewise.
87264         * sunrpc/svc_unix.c: Likewise.
87265         * sunrpc/svcauth_des.c: Likewise.
87266         * sunrpc/xcrypt.c: Likewise.
87267         * sunrpc/xdr.c: Likewise.
87268         * sunrpc/xdr_array.c: Likewise.
87269         * sunrpc/xdr_float.c: Likewise.
87270         * sunrpc/xdr_mem.c: Likewise.
87271         * sunrpc/xdr_rec.c: Likewise.
87272         * sunrpc/xdr_ref.c: Likewise.
87273         * sunrpc/xdr_sizeof.c: Likewise.
87274         * sunrpc/xdr_stdio.c: Likewise.
87276         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87277         handling.
87279 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87281         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87283 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87285         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87286         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87287         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87288         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87289         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87290         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87291         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87292         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87293         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87294         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87295         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87296         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87297         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87298         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87300 2010-07-26  Anton Blanchard  <anton@samba.org>
87302         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87303         * malloc/arena.c (heap_trim): Likewise.
87305 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87307         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87308         here.  Not...
87309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87310         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87312 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87314         * sysdeps/i386/elf/Makefile: New file.
87316 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87318         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87319         from fanotify_init.
87320         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87323 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87325         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87326         of strncasecmp_l.
87327         * sysdeps/multiarch/strcmp.S: Likewise.
87329 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87331         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87332         strncase_l-nonascii.
87333         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87334         Add strncase_l-ssse3.
87335         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87336         * sysdeps/x86_64/strcmp.S: Likewise.
87337         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87338         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87339         * sysdeps/x86_64/strncase.S: New file.
87340         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87341         * sysdeps/x86_64/strncase_l.S: New file.
87342         * string/Makefile (strop-tests): Add strncasecmp.
87343         * string/test-strncasecmp.c: New file.
87345         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87346         warning.
87348         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87349         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87351 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87353         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87355 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87357         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87358         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87359         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87361 2010-05-01  Alan Modra  <amodra@gmail.com>
87363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87364         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87365         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87366         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87367         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87368         tidying.  Don't tail-call __sigjmp_save for static lib.
87369         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87370         save location.
87371         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87372         (CALL_MCOUNT): Add eh info, and nop after bl.
87373         (TAIL_CALL_SYSCALL_ERROR): New macro.
87374         (PSEUDO_RET): Use it.
87375         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87376         Correct save location of integer regs and cr.
87377         (_dl_profile_resolve): Correct cr save location.  Delete nops
87378         after bl when SHARED.  Reduce cfi size a little by better
87379         placement of cfi directives.
87380         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87381         make a stack frame.  Instead use parm save area as a temp.
87382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87383         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87385         Don't make a stack frame for parent, use parm save area.
87386         Increase child stack frame to 112 bytes.  Don't save unused reg,
87387         and adjust reg usage.  Set up cfi on error recovery and
87388         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87390         (__makecontext): Add dummy nop after jump to exit.
87391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87392         Use correct parm save area and cr save, reduce stack frame.
87393         Correct cfi for possible PSEUDO_RET frame setup.
87394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87395         Branch to local label emitted by PSEUDO_RET rather than
87396         __syscall_error.
87398 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87400         [BZ #11904]
87401         * locale/programs/locale.c (print_assignment): New function.
87402         (show_locale_vars): Use it.
87404 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87406         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87407         field.
87408         (struct statfs64): Likewise.
87409         (_STATFS_F_FLAGS): Define.
87410         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87411         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87412         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87413         (ST_VALID): Define locally.
87414         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87415         __statvfs_getflags, use the provided value.
87416         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87417         __ASSUME_STATFS_F_FLAGS.
87419         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87421         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87422         Add sys/fanotify.h.
87423         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87424         fanotify_mask for GLIBC_2.13.
87425         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87426         fanotify_init and fanotify_mark.
87427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87428         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87430         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87431         Add prlimit.
87432         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87433         prlimit64 for GLIBC_2.13.
87434         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87435         prlimit64.
87436         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87437         syscall.
87438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87440         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87441         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87442         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87443         add prlimit alias.
87444         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87446         [BZ #11903]
87447         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87448         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87450         * nss/Makefile: Add rules to build and run tst-nss-test1.
87451         * shlib-versions: Add entry for libnss_test1.
87452         * nss/nss_test1.c: New file.
87453         * nss/tst-nss-test1.c: New file.
87455         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87456         (__nss_configure_lookup): Set appropriate entry in
87457         __nss_configure_lookup to true.
87458         * nss/nsswitch.h: Define enum with indeces of databases in
87459         databases and __nss_database_custom arrays.  Declare
87460         __nss_database_custom.
87461         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87462         to avoid using nscd when custom rules are installed.
87463         * nss/getXXbyYY_r.c: Likewise.
87464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87466         * nss/nss_files/files-parse.c: Whitespace fixes.
87468 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87470         [BZ #11883]
87471         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87472         * posix/fnmatch_loop.c: Likewise.
87474 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87476         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87477         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87478         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87479         * Versions.def [GLIBC_2.13]: Add.
87481 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87483         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87484         Also fail if tpwd after pwuid call is NULL.
87486 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87488         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87489         when converting to ms.
87491 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87493         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87494         EOPNOTSUPP errors with ENOTTY.
87495         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87496         EOPNOTSUPP errors with ENOTTY.
87498 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87500         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87501         Add strcasecmp_l-ssse3.
87502         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87503         strcasecmp.
87504         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87505         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87506         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87508 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87510         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87512         * string/Makefile (strop-tests): Add strcasecmp.
87513         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87514         strcasecmp_l-nonascii.
87515         (gen-as-const-headers): Add locale-defines.sym.
87516         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87517         * sysdeps/x86_64/strcasecmp.S: New file.
87518         * sysdeps/x86_64/strcasecmp_l.S: New file.
87519         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87520         * sysdeps/x86_64/locale-defines.sym: New file.
87521         * string/test-strcasecmp.c: New file.
87523         * string/test-strcasestr.c: Test both ends of the range of characters.
87524         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87526 2010-07-29  Roland McGrath  <roland@redhat.com>
87528         [BZ #11856]
87529         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87531 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87533         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87534         for ld.so.
87536 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87538         * manual/memory.texi (Malloc Tunable Parameters): Document
87539         M_PERTURB.
87541 2010-07-26  Roland McGrath  <roland@redhat.com>
87543         [BZ #11840]
87544         * configure.in (-fgnu89-inline check): Set and substitute
87545         gnu89_inline, not libc_cv_gnu89_inline.
87546         * configure: Regenerated.
87547         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87549 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87551         * string/test-strnlen.c: New file.
87552         * string/Makefile (strop-tests): Add strnlen.
87553         * string/tester.c (test_strnlen): Add a few more test cases.
87554         * string/tst-strlen.c: Better error reporting.
87556         * sysdeps/x86_64/strnlen.S: New file.
87558 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87561         lower-latency instructions.
87563 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87565         * string/test-strcasestr.c: New file.
87566         * string/test-strstr.c: New file.
87567         * string/Makefile (strop-tests): Add strstr and strcasestr.
87568         * string/str-two-way.h: Don't undefine MAX.
87569         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87571 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87574         strcasestr-nonascii.
87575         (CFLAGS-strcasestr-nonascii.c): Define.
87576         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87578         Remove unused attribute.
87580 2010-07-20  Roland McGrath  <roland@redhat.com>
87582         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87583         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87584         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87585         like LD_HWCAP_MASK can disable hwcaps.
87587 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87589         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87591 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87593         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87594         call in strcasestr.
87595         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87596         __strcasestr_sse42_nonascii.
87597         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87598         strcasestr-nonascii.c.
87599         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87601 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87603         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87604         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87605         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87608 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87611         fcntl.
87613 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87615         [BZ #11577]
87616         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87617         dl_signal_cerror.
87619 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87621         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87622         _PC_PIPE_BUF using F_GETPIPE_SZ.
87624 2010-07-05  Roland McGrath  <roland@redhat.com>
87626         * manual/arith.texi (Rounding Functions): Fix rint description
87627         implicit in round description.
87629 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87631         * elf/Makefile: Fix linking for a few tests to make recent linker
87632         happy.
87634 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87636         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87637         $(common-objpfx)libc_nonshared.a.
87639 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87641         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87642         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87643         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87644         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87645         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87646         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87647         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87648         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87663         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87664         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87665         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87666         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87667         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87668         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87669         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87670         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87671         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87672         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87673         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87674         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87690 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87692         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87693         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87694         * string/memmove.c (memmove): Renamed to ...
87695         (MEMMOVE): ...this.  Default to memmove.
87696         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87697         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87698         (END_CHK): Define.
87699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87700         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87701         mempcpy-ssse3-back memmove-ssse3-back.
87702         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87704         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87705         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87706         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87707         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87708         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87709         * sysdeps/x86_64/multiarch/memmove.c: New file.
87710         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87711         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87712         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87713         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87715         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87716         Define.
87717         (index_Fast_Copy_Backward): Define.
87718         (HAS_ARCH_FEATURE): Define.
87719         (HAS_FAST_REP_STRING): Define.
87720         (HAS_FAST_COPY_BACKWARD): Define.
87722 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87725         Restore proper fallback handling.
87727 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87729         [BZ #11701]
87730         * posix/group_member.c (__group_member): Correct checking loop.
87732         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87733         OOM in getpwuid_r correctly.  Return error number when the caller
87734         should return, otherwise -1.
87735         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87736         call returning > 0 value.
87737         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87739 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87741         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87742         libc_nonshared.a from targets in modules-names.
87744 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87746         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87747         requires it.
87749 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87751         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87752         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87753         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87754         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87756 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87758         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87760 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87762         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87763         and F_GETPIPE_SZ.
87764         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87768         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87769         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87771 2010-06-14  Roland McGrath  <roland@redhat.com>
87773         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87775 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87777         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87778         __REDIRECT followed by __THROW.
87779         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87780         * posix/getopt.h (getopt): Likewise.
87782 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87784         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87785         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87786         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87787         in AT_FLAGS.
87788         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87789         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87791 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87793         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87795 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87797         [BZ #11640]
87798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87799         Properly check family and model.
87801 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87803         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87805 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87807         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87809 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87811         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87812         symbol reference.
87814 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87816         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87817         symbol reference.
87819 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87821         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87822         and internal_recvmmsg.
87823         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87824         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87825         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87826         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87828         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87829         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87830         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87832 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87834         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87836 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87838         POWER7 optimizations.
87839         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87840         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87842 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87844         * version.h: Update for 2.13 development version.
87846 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87848         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87849         exceptions.  Return 0.
87851 2010-05-07  Roland McGrath  <roland@redhat.com>
87853         * elf/ldconfig.c (main): Add a const.
87855 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87857         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87858         (args_options): Add no-idn option.
87859         (ahosts_keys_int): Add idn_flags to ai_flags.
87860         (parse_option): Handle 'i' option to clear idn_flags.
87862         * malloc/malloc.c (_int_free): Possible race in the most recently
87863         added check.  Only act on the data if no current modification
87864         happened.
87866 See ChangeLog.17 for earlier changes.